Scalable Method for process synchronization

view story

http://stackoverflow.com – I have a scenario where a server process needs to synchronize its access to shared memory segments with hundreds of client processes. I looked into semaphores but I believe that the system defined limits might restrict scalability of processes number, adding to that the overhead caused considering the big number of processes involved. My question is, what tips can be used with semaphores to solve this or what other methods are more appropriate ? Edit: To give more details, the client processes are not intended to communicate with each other, they independently read/write to shared memory spac (HowTos)