From: "Iñaki Baz Castillo" Date: 2010-02-04T01:59:45+09:00 Subject: Re: Ruby game server (concurrency and speed) El Miércoles, 3 de Febrero de 2010, Jonathan Nielsen escribió: > 2010/2/3 Artūras Šlajus : > > While eventmachine allows you to spawn green ruby threads, it seems that > > mysql gem is blocking. > > There is an asynchronous mysql gem, but I haven't done much with it. > > Link: > http://www.espace.com.eg/neverblock/blog/2008/08/28/neverblock-mysql-suppo > rt/ I use mysqlplus instead of mysql gem. It's like a replacement, but it allows async operations (non-blocking) so a thread performing an async DB query doesn't block other threads. -- Iñaki Baz Castillo