Hi Michael! I've been working on a proof of concept, regarding minimal clients for redis!
So far I've reached 56 LOC. Obviously this isn't for use in production :) Thanks for your post, it gave me the final motivation for creating a public repo. Here's the code: https://github.com/eveiga/node-miniredis Best regards, Edgar Veiga On Wednesday, 13 March 2013 18:50:34 UTC, Chaoran Yang wrote: > > It would be good if you can show some performance results, comparing with > node_redis. What is the overhead like using promises? > > -Chaoran > > On Thursday, March 7, 2013 11:16:29 AM UTC-6, Michael Jackson wrote: >> >> :D Thanks David. >> >> I've been programming almost exclusively in promises these past few >> months and it feels pretty good. Plus, I'm a big believer in tiny modules >> and simple code bases. Helps me grok them a bit easier when they're small. >> >> Also, thanks for your work on node_redis! >> >> >> -- >> Michael Jackson >> @mjackson >> >> >> On Wed, Mar 6, 2013 at 8:54 PM, DTrejo <dtr...@cs.brown.edu> wrote: >> >>> Redis is 300 LOC!? ;) >>> >>> Cheers and good to have some competition to make us node_redis >>> maintainers get into gear. >>> D >>> >>> On Wednesday, March 6, 2013 1:23:25 PM UTC-5, Michael Jackson wrote: >>>> >>>> Hello, >>>> >>>> then-redis is a small, promise-based Redis client for node.js that I've >>>> been working on over the past few weeks. It supports all the features of >>>> Redis in a simple, user-friendly package. I thought others might enjoy >>>> using it as well, so I released the source this morning. >>>> >>>> https://github.com/mjijackson/**then-redis<https://github.com/mjijackson/then-redis> >>>> >>>> The two major differences between then-redis and node_redis are: >>>> >>>> 1. then-redis returns a promise when you issue a command >>>> 2. The entire codebase is very small (~300 LOC), just like Redis >>>> >>>> Other than that the APIs are very similar. If you're using Redis and >>>> you enjoy promise-style programming please check it out and let me know >>>> what you think. >>>> >>>> Install it: npm install then-redis >>>> >>>> Enjoy! >>>> >>>> -- >>>> Michael Jackson >>>> @mjackson >>>> >>> -- >>> -- >>> Job Board: http://jobs.nodejs.org/ >>> Posting guidelines: >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To post to this group, send email to nod...@googlegroups.com >>> To unsubscribe from this group, send email to >>> nodejs+un...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/nodejs?hl=en?hl=en >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to nodejs+un...@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.