in reply to speeding up multi-player game with shared memory or MySQL

The Eagle Book says you can store small amounts of state information in main memory with IPC::Sharable.

"Small" is one of those wonderful words whose meaning changes as years go by. Friends claim to be stored 1Mb of stuff using IPC::Sharable with no noticeable performance hit (on a 512Mb box). (My first experience with shared memory was on a box with < 1 Mb of RAM. "Small" has come a way since then.)

  • Comment on Re: speeding up multi-player game with shared memory or MySQL