Re: apr_redis

2016-11-02 Thread Jim Jagielski
> On Nov 2, 2016, at 11:01 AM, Jim Jagielski wrote: > > > Also, unless people have an issue, I prefer using the "telnet" > method for the client (ala Credis) rather than the more cumbersome > method. > Skip that... Looks like the standard RESP way is quicker, so I'll use

Re: apr_redis

2016-11-02 Thread Jim Jagielski
That's my thought as well... Due to the apr/apr-util combination in 2.0, it's actually easier to add to 1.6 and then port to 2.0 (since apr_redis is in apr-util), then the reverse (and typical method). Any idea why we are using apr_socket_sendv() in apr_memcache? Using apr_socket_send() would be

Re: apr_redis

2016-11-02 Thread Graham Leggett
On 02 Nov 2016, at 2:20 PM, Jim Jagielski wrote: > OK, so my plan is to start pulling the relevant bits out of Credis for > use in apr_redis. I was thinking initially about maybe just using the > library, but for parity w/ apr_memcache, that doesn't make sense. > > Here's the

Re: apr_redis

2016-11-02 Thread Joshua Marantz
Hi Jim, FWIW, mod_pagespeed has a redis interface in C++, and is based on hiredis . It's all in https://github.com/pagespeed/mod_pagespeed/tree/master/pagespeed/system .