Hi,

Thanks for your responses.
Sorry, I should not have said C++ API. This was my wrapper over the
libmemcached C API, 0.43

Dormando, yes it is the binary protocol and I think what you mention
is exactly what might be happening.
The client seems to get stuck on send(). The read buffer you mention
is the socket revc buffer right?

Its just that the key number that the client is currently sending is
much higher than the one the server has processed.
So can't figure out why the disjoin. The iirc solution sounds seems
the right way to go to get around this.

Thanks,
Prasad


On Sep 29, 3:44 pm, Brian Aker <br...@tangent.org> wrote:
> Hi!
>
> On Thu, Sep 29, 2011 at 7:47 AM, Prasad <pspha...@gmail.com> wrote:
> > I am trying to use mget() to get multiple data pieces using the C++
> > API. When it works the performance difference is great.
>
> Is this the one in libmemcached? If so use the C API. The C++ API is just
> there for a couple of folks who wanted to have one. Its a wrapper around the
> C api and it wouldn't surprise me if it was slower. In version 2.0 we are
> likely to completely rewrite it.
>
> Cheers,
>    -Brian

Reply via email to