Hi Chanan. > Don't thinks so, our game server is found running on more than 1 > machine, all forking processes, and all using on big raid HD > this is our main reason for using OS fcntl (file control) to lock > processes from entering the critical section. > > I thought it's best - if we could have used the mySQL (using memory > based database) to create a locking mutex table. > But people here were against the idea - since it will overhead the mySQL > server.
If you have a lock over the network, you get overhead anyway - the only question is how much. Use profiling to make decisions, not guesses. There is also a framework named STAF that support named mutexs and semaphores. their website: http://staf.sourceforge.net/ Shmuel. _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
