Single Thread Server

16 Mar 2011 by

Single Thread

Single Thread

Single thread server is one among concurrency architecture in distributed systems. It is the early stage of distributed systems development. Its footprint is very small and easy to develop. Single thread has an ability to handle only one user a time. The other users must wait in queue until the working user finished his or her task.

If we consider about CPU and I/O usage, single thread is not fully utilized because while CPU is busy I/O usually is free and vice versa.

The development of a single thread server is the same as my example in UDP Programming with Java and TCP Programming with Java.

Advantage

  • Straight forward
  • Easy to develop

Disadvantage

  • Waste time. CPU and I/O are not fully utilized
  • User unsatisfactory because user may wait for getting services
  • May be not exists in real world distributed systems application

 

No responses yet

Leave a Reply