I'm working on a tcp server application that need dispatch around 1000 frames per second on java. Each ingoing frame generates an update (save state) and insert(for logging) to mysql. It says, 1000 updates and 1000 inserts per second!. I have a bottleneck in this updates and inserts. At this point, I don't know if mysql is a bad solution for my scenary because I'm doing the benchmarks on a PC, not on a server. I try execute Updates and Inserts in batchs periodically, but each batch takes a lot of time. I'm using MyIsam engine and Mina to manipulates tcp connection and a pool for the mysql connections.
Should I use memcached over Mysql or NO-SQL, or it can be a hardware resource problem?
thanks! regards!!