Object Interconnections Comparing Alternative Programming Techniques for Multi - threaded CORBA Servers
نویسندگان
چکیده
Developers of multi-threaded servers face many challenges. One important challenge is selecting a suitable concurrency model. There are several concurrency models to choose from including thread-per-request, thread-pool, and threadper-session. Our last two columns discussed the thread-perrequest and thread-pool concurrency models, respectively. We showed how each could be used to develop multi-threaded server programs for a distributed stock quote application. This column discusses the thread-per-session model, in which each new session created for a client is assigned a thread that processes requests for that session. Following the format of our recent columns, this column will illustrate the thread-per-session model by developing new multi-threaded stock quote servers using C, C++ wrappers, and CORBA.
منابع مشابه
Object Interconnections Comparing Alternative Programming Techniques for Multi - threaded CORBA Servers : Thread Pool
Inherent complexity of multi-threaded programming arises from challenges such as avoiding deadlock and livelock, eliminating race conditions for shared objects, and minimizing the overhead of context switch, synchronization, and data movement. An inherently complex aspect of programming multi-threaded distributed applications (particularly servers) involves selecting the appropriate concurrency...
متن کاملObject Interconnections Comparing Alternative Programming Techniques for Multi - threaded CORBA Servers ( Column 6 )
Inherent complexity of multi-threaded programming arises from challenges such as avoiding deadlock and livelock, eliminating race conditions for shared objects, and minimizing the overhead of context switch, synchronization, and data movement. An inherently complex aspect of programming multi-threaded distributed applications (particularly servers) involves selecting the appropriate concurrency...
متن کاملObject Interconnections Comparing Alternative Programming Techniques for Multi - threaded Servers ( Column 5 ) Douglas
This column examines and evaluates several techniques for developing multi-threaded servers. The server we’re examining mediates access to a stock quote database. Desktop client applications operated by investment brokers interact with our server to query stock prices. As with our previous columns, we’ll compare several ways to program multi-threaded quote servers using C, C++ wrappers, and CORBA.
متن کاملObject Interconnections Comparing Alternative Programming Techniques for Multi - threaded Servers ( Column 5 )
This column examines and evaluates several techniques for developing multi-threaded servers. The server we’re examining mediates access to a stock quote database. Desktop client applications operated by investment brokers interact with our server to query stock prices. As with our previous columns, we’ll compare several ways to program multi-threaded quote servers using C, C++ wrappers, and CORBA.
متن کاملObject Interconnections Comparing Alternative Programming Techniques for Multi - threaded CORBA Servers : Thread Pool ( Column 6 ) Douglas
Modern OS platforms like Windows NT, and OS/2 and many flavors of UNIX provide extensive library and system call support for multi-threaded applications. However, programming multi-threaded applications is hard and programming distributed multi-threaded applications is even harder. In particular, developers must address sources of accidental and inherent complexity: Accidental complexity of mul...
متن کاملObject Interconnections Comparing Alternative Programming Techniques for Multi - threaded CORBA Servers ( Column 6 ) Douglas
Modern OS platforms like UNIX, Windows NT, and OS/2 provide extensive library and system call support for multi-threaded applications. However, programming multithreaded applications is hard and programming distributed multi-threaded applications is even harder. In particular, developers must address sources of accidental and inherent complexity: Accidental complexity of multi-threaded programm...
متن کامل