[infinispan-dev] PHP hot rod client

Albert Bertram bertrama at umich.edu
Tue Nov 4 06:55:50 EST 2014


Thanks Galder, Radim,

I've been browsing the RadarGun code this morning and I agree that it'll be
difficult to use it directly for my benchmarks.  That said, it's given me a
good direction for which scenarios to run, and that's a fantastic place to
be.

Thanks again!

Albert

On Tue, Nov 4, 2014 at 2:20 AM, Radim Vansa <rvansa at redhat.com> wrote:

> RadarGun can't benchmark anything outside JVM. You could create wrapper
> to PHP, but then you'd benchmark this layer as well. That's the reason
> we don't do C++ or .NET client benchmarks through RadarGun.
>
> Radim
>
> On 11/03/2014 05:34 PM, Galder Zamarreño wrote:
> > 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
> >
> >
> > _______________________________________________
> > infinispan-dev mailing list
> > infinispan-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> --
> Radim Vansa <rvansa at redhat.com>
> JBoss DataGrid QA
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20141104/b293bffd/attachment-0001.html 


More information about the infinispan-dev mailing list