Re: Poor performance; PHP & Thrift to blame

2010-08-22 Thread Juho Mäkinen
Beware that the native thrift php bindings has a bug which might change provided argument types. Check out the bug report which I filled: https://issues.apache.org/jira/browse/THRIFT-796 - Garo On Fri, Aug 20, 2010 at 10:35 AM, sasha wrote: > Julian Simon jules.com.au> writes: > >> >> Hi, >> >

SV: Poor performance; PHP & Thrift to blame

2010-08-20 Thread Thorvaldsson Justus
I don't use php so search the maillist -Ursprungligt meddelande- Från: sasha [mailto:sasha2...@gmail.com] Skickat: den 20 augusti 2010 09:36 Till: user@cassandra.apache.org Ämne: Re: Poor performance; PHP & Thrift to blame Julian Simon jules.com.au> writes: > >

Re: Poor performance; PHP & Thrift to blame

2010-08-20 Thread sasha
Julian Simon jules.com.au> writes: > > Hi, > > I've been trying to benchmark Cassandra for our use case and have been > seeing poor performance on both writes and (extremely) poor > performance on reads. > > Using Cassandra 0.51 stable & thrift-0.2.0. > > It turns out all the CPU time is goin

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread Julian Simon
rom: Julian Simon > Date: Tue, 30 Mar 2010 22:21:22 > To: > Subject: Re: Poor performance; PHP & Thrift to blame > > Yes I tested it with and without APC - it had a negligible impact on > performance. > > This didn't surprise me - most of the optimization that APC

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread David Strauss
On 2010-03-30 12:51, yaw wrote: > I have seen your guide at > https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP. > > I use Cassandra with a PHP client .. > Until now, I am using Thrift PHP classes that I found into Pandra > project (high level PHP client) as I was unable to instal

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread yaw
in PHP. Have > you tried Hadoop + Cassandra 0.6? > > -Original Message- > From: Julian Simon > Date: Tue, 30 Mar 2010 22:21:22 > To: > Subject: Re: Poor performance; PHP & Thrift to blame > > Yes I tested it with and without APC - it had a negligible impact o

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread David Timothy Strauss
This sounds like the sort of analysis that shouldn't be done in PHP. Have you tried Hadoop + Cassandra 0.6? -Original Message- From: Julian Simon Date: Tue, 30 Mar 2010 22:21:22 To: Subject: Re: Poor performance; PHP & Thrift to blame Yes I tested it with and without APC -

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread Julian Simon
Yes I tested it with and without APC - it had a negligible impact on performance. This didn't surprise me - most of the optimization that APC offers is in the parsing of PHP code; seeing as the benchmark is a single PHP process the code parsing overhead occurs outside the benchmark loop. Does any

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread David Timothy Strauss
Without APC, there should be even more of an improvement with the Thrift PHP extension. - "Rauan Maemirov" wrote: > What about APC? Did you turn it on? > > 2010/3/30 Julian Simon : > > Hi, > > > > I've been trying to benchmark Cassandra for our use case and have > been > > seeing poor perf

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread Rauan Maemirov
What about APC? Did you turn it on? 2010/3/30 Julian Simon : > Hi, > > I've been trying to benchmark Cassandra for our use case and have been > seeing poor performance on both writes and (extremely) poor > performance on reads. > > Using Cassandra 0.51 stable & thrift-0.2.0. > > It turns out all t

Re: Poor performance; PHP & Thrift to blame

2010-03-29 Thread David Strauss
On 2010-03-30 05:42, Julian Simon wrote: > More surprisingly, if I compile and enable the PHP native thrift > bindings (following this guide > https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP) > read performance actually degrades by another 50%. I have verified > that the Thrift c

Poor performance; PHP & Thrift to blame

2010-03-29 Thread Julian Simon
Hi, I've been trying to benchmark Cassandra for our use case and have been seeing poor performance on both writes and (extremely) poor performance on reads. Using Cassandra 0.51 stable & thrift-0.2.0. It turns out all the CPU time is going to the PHP client process - the JVM operating the Cassan