Time and Order of Events in Distributed System

1. The Need for Logical ClockOne of the challenges in distributed system is the lack of global time clocks, it’s very hard to timestamp events is different processes and order them globally.To solve the “Time & Order of Events in Distributed System” problem, let’s rethink what “Time” and “Order” means – essentially, Time is a…

0

Memory Management in Native Code

Memory management is a core task in native world, careless usage of dynamic memory may cause the following problems:- 1. Heap Fragment, this will introduce performance penalty since it breaks data locality- 2. Memory Leak, it’s a prgm correctness problem and a horrible defect for long-run softwareHere I summarized some tips related to the two…

0

Windows, Unix and ANSI C API Comparison

  The “Windows System Programming”(3E) has a great appendix about Windows, Unix, C Library API comparison. It’s obvious that this appendix lacks of many APIs in Memory, DLL and Security related areas, but it is still very helpful for referencing when doing system programming on windows platform.   Original content can be found here: http://my.safaribooksonline.com/0321256190/app021. I/O1. 1…

1

How to Read Source Code

Part I – General Steps and Principles 1. Define a Clear Goal- what’s the purpose? to know how, to own components, to modify and extend?- results driven, what’s the final outcome?2. Know it as Client User- read user manual- get an overall big picture- know what it can do and what can’t- what is it…

2

Programming Windows Hpc Server – Using SOA Model

Conventionally, HPC/Parallel problems can be roughly divided into the following two categories[1][2]:- Data Parallel, these applications divides the input data into a number of completely independent parts. The same computation is undertaken on each part. And some kind of post processing after the computations is needed.- Task Parallel, these are those jobs that its functionality…

1

Programming Windows Hpc Server – Using MPI Model

Conventionally, HPC/Parallel problems can be roughly divided into the following two categories[ref]:- Data Parallel, these applications divides the input data into a number of completely independent parts. The same computation is undertaken on each part. And some kind of post processing after the computations is needed.- Task Parallel, these are those jobs that its functionality…

0

Programming Windows Hpc Server – An Overview

Here is a very brief introduction on how to build a Windows Hpc Cluster and various ways to developing applications on this platform.Part I – Building A Windows Hpc Cluster1. Build Hpc Cluster Head Node- OS: Windows Server 2008 x64, Standard/Enterprise/Hpc Edtion- Hpc Pack 2008 (head mode installation)- Configure Network etc.- Add Cluster Admin Group/User2….

0

An Introduction to Windows HPC Server 2008

1. Components of Windows HPC Server1.1 X64 Windows OS (Windows Server 2008 Standard, Enterprise or Hpc Edition)1.2 Hpc Subsystem (Hpc Pack 2008)- scalable Job Scheduler for creation, execution and monitoring Hpc jobs- MS-MPI programming infrastructure, which is based on MPICH2- HPC-WCF(HPC-SOA) programming infrastructure- utilities for Cluster Managing (Configuring, Provisioning, Monitoring, Reporting and Diagnosing)Note: Hpc Pack…

1

Scalability in Online Game and Virtual World

The latest issue of ACM Queue Magazine has an article titled “Scaling in Games & Virtual Worlds”, which talks about SUN’s efforts on the scalability problem in Online Game and Virtual World systems(A.K.A. MMORPG).The author is a Distinguished Engineer in SUN, who had been involved in the scalable online game platform: DarkStar for about 2…

1