Perl Client

Brad Fitzpatrick brad at
Mon Jul 3 18:39:35 UTC 2006

On Mon, 3 Jul 2006, Marcel Holan wrote:

> Hi,
> On Sun, Jul 02, 2006 at 08:38:09PM +0000, Brad Fitzpatrick wrote:
> > I particularly like being called a non-Perlie, given that that's pretty
> > much the only language I hack in.  :)
> I didn't intend to be overly pejorative. I too have now a decade of Perl
> Hacking on my back, but looking at my own code I think I'm able to write good
> code only for the last two years or so. ;-)

Yeah, know what you mean.  And arguably, I was writing a lot of C when I
wrote the Perl client.

> Probably a really significant speed improvement could be only done with either
> XS or Inline::C client. I aggree, that there must/should be a pure Perl
> alternative, but that's exactly what I would do: Start with the pure Perl

Actually, in the latest Cache::Memcached we've started rearranging it,
preparing for the XS optional plugin.  You can see it in the comments.

I'm also redoing the magic scalar+sock stuff we do, so it doesn't kill all
the profilers (all of SmallProf, DProf, and Devel::Profiler crash when
profiling it)

> I guess I will run into detailed performance considerations of
> Cache::Memcached in late August or September on a new project I have to
> babysit. So if the perl client will need improvement I will have the time
> allocated for that. That's 2-3 months, but I know then I will not get
> sidetracked.

I'll mail the list if I get started on it too.

- Brad

More information about the memcached mailing list