Re: Poor performance on small data set

2011-03-28 Thread Sébastien Kondov
Hi, Just to inform that i finally compiled thrift extension to a .dll and performances are improved. I was forced to switch to a php vc9. vc6 isn't supported anymore by php. Average access time were pretty bad before (70-100ms) by row and now it's 5-10ms. So nearly 10X faster caused by new extens

Re: Poor performance on small data set

2011-03-12 Thread Tyler Hobbs
On Sat, Mar 12, 2011 at 6:45 AM, Vodnok wrote: > > THRIFT-638 : It seems to be a solution but i don't know how to patch this > on my environement phpcassa has a C extension but it's hard for me to build > a php extension > The master branch of phpcassa includes the changes from THRIFT-638. --

Re: Poor performance on small data set

2011-03-12 Thread ruslan usifov
Here is php windows extension but you must use trunk version of thrift 2011/3/12 Vodnok > Thank you all for your replies > > > "nagle + delayed ACK problem" : I founded a way to solve this via regedit > but no impact on response time > > THRIFT-638 : It seems to be a solution but i don't know ho

Re: Poor performance on small data set

2011-03-12 Thread Vodnok
Thank you all for your replies "nagle + delayed ACK problem" : I founded a way to solve this via regedit but no impact on response time THRIFT-638 : It seems to be a solution but i don't know how to patch this on my environement phpcassa has a C extension but it's hard for me to build a php exte

Re: Poor performance on small data set

2011-03-11 Thread Jonathan Ellis
Also: https://issues.apache.org/jira/browse/THRIFT-638 On Fri, Mar 11, 2011 at 10:44 AM, Peter Schuller wrote: >> There is less than 1000 rows and i've got a 75-100ms to get one row by id >> With memcached it's 2ms >> >> I don't know where is the problem. jvm ? cassandra ? phpcassa ? >> >> Wh

Re: Poor performance on small data set

2011-03-11 Thread Edward Capriolo
On Fri, Mar 11, 2011 at 11:44 AM, Peter Schuller wrote: >> There is less than 1000 rows and i've got a 75-100ms to get one row by id >> With memcached it's 2ms >> >> I don't know where is the problem. jvm ? cassandra ? phpcassa ? >> >> What can i do to detect where is the problem ? > > I'm not

Re: Poor performance on small data set

2011-03-11 Thread Peter Schuller
> There is less than 1000 rows and i've got a 75-100ms to get one row by id > With memcached it's 2ms > > I don't know where is the problem. jvm ? cassandra ? phpcassa ? > > What can i do to detect where is the problem ? I'm not familiar with the PHP client, but this sounds suspiciously like a

Poor performance on small data set

2011-03-11 Thread Vodnok
Hi, I'm facing poor performance issue getting a simple row Here is my dev env : - Windows 7 - PHPCassa [PHP 5.3.5] - Cassandra 0.7.3 CF : create column family docs with comparator = 'UTF8Type' and column_type = 'Standard' and rows_cached=10 and keys_cached=10; There is less than 1000 r