Re: php to thrift vs java api

2011-07-18 Thread Jeff Whiting
I agree. PHP is a slow language especially when it has to create any objects. PHP appears to be fast because so much code is actually in C extensions. ~Jeff On 7/16/2011 10:31 AM, Jack Levin wrote: Yes, we are using the latest .so, but unfortunately it does not make any difference, I think t

Re: php to thrift vs java api

2011-07-16 Thread Jack Levin
Yes, we are using the latest .so, but unfortunately it does not make any difference, I think this is just a matter of the language, PHP is stateless, where Java runs as servlet inside the JVM with hot Jars; With PHP, even if IO to thrift is not an issue itself, given the task say merge join two arr

Re: php to thrift vs java api

2011-07-12 Thread Jeff Whiting
Those are interesting results. Are you using the php thrift extension? It is significantly faster with (de)serialization. You may want to grab the latest nightly build of thrift as it has quite a few bug fixes in the php thrift extension. ~Jeff On 7/11/2011 11:22 PM, Jack Levin wrote: For t