[infinispan-dev] PHP hot rod client

Galder Zamarreño galder at redhat.com
Mon Nov 3 11:34:47 EST 2014


Hi Albert,

Thanks a lot for writing that PHP client! I’m not a PHP expert, but hopefully someone in the Infinispan team can have a look at.

Radargun [1] is a benchmark framework we use to run performance tests of Infinispan. We also run tests for the Hot Rod client, but it’s very JVM centric, so not sure how you could add PHP there.

In terms of Hot Rod/memcached performance perspective, Hot Rod should be slightly faster, but the big gains come when you deploy a cluster of Infinispan Servers since Hot Rod has more clever topology routing logic and it can update topology at runtime.

Cheers,

[1] https://github.com/radargun/radargun

On 30 Oct 2014, at 11:42, Albert Bertram <bertrama at umich.edu> wrote:

> Hi,
> 
> A couple of years ago there were a few messages on this list about a potential PHP Hot Rod client.  I haven't seen any further discussion of it, but I find myself in the same situation described before: I want to have a Drupal installation write cache data to Infinispan, and I'd prefer if it could do it via the Hot Rod protocol rather than the memcached protocol.
> 
> I haven't seen any further evidence of the existence of a Hot Rod client native to PHP out on the open web, so I wrote a small wrapper around the Hot Rod C++ client which works for my purposes so far.  The code is at https://github.com/bertrama/php-hotrod
> 
> I wanted to send a note to the list to ask a couple questions:
> 
> Would anyone else be interested in this php extension?
> 
> Are there client-oriented benchmarks I should run?  I looked around for some, but didn't find any. Specifically, I want to compare performance of this PHP Hot Rod client to the PHP memcached client when talking to the same Infinispan server.
> 
> Thanks!
> 
> Albert Bertram
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz




More information about the infinispan-dev mailing list