Skip to content

Problem Getting "Big" Values #27

@JRaspass

Description

@JRaspass

Migrated from rt.cpan.org #93140 (status was 'open')

Requestors:

From damien.chaumette@gmail.com on 2014-02-18 16:59:35
:

Hi there,

I have been playing around with a few Memcached client libraries recently
and, ideally, would like to stick with Perl, but with decent performance.
Memcached::Client is simple enough to use but performance isn't close
Python or C# libraries offer.

Thinking it was probably due to its pure Perl nature, I then came across
your library.

During the CPAN installation I ran into the following unit test issue: "Failed
test 'Fetch# at t/big_value.t line 40."

With the Memcached server I am running, it's possible to up the default
value-size limit from the default 1MB to 128MB. Doing so and setting the
"max_size" parameter in your library I am able to set very large values
without any problem.
The problem comes when I try to get them out, it just doesn't return
anything.
The key'/value most definitely has been set as I can retrieve it with a get
call from Memcached::Client.

I've placed a code sample here, rather simple but it might help:
http://pastebin.com/QtBxqMhB

My setup:

  • Windows 2012
  • Strawberry Perl 5.16 64bits
  • Cache::Memcached::Fast v0.21
  • Memcached v1.4.5

I've had no problem using my Memcached server build with:

  • python-memcached
  • EnyimMemcached (C#)
  • Memcache::Client
    but it's worth nothing that Cache::Memcached throws up quite a bit of
    unit tests failures and therefore hasn't been tested.

Let me know if this makes any sense and/or if you need more information.

Thanks,
Damien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions