;) That's a clever use of Proxy!

If you want to get *ultra* tiny, check out Pieter Noordhuis' own node
client that is tucked away in the node-hiredis repo:
https://github.com/pietern/hiredis-node/blob/master/hiredis.js

Anyway, pretty awesome what you can do with a simple protocol and some
powerful tools. Thanks for sharing!

--
Michael Jackson
@mjackson


On Thu, Mar 14, 2013 at 11:22 AM, Edgar Veiga <[email protected]> wrote:

> 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 <[email protected]> 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<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 [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<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 [email protected].
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<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 [email protected]
>
> To unsubscribe from this group, send email to
> [email protected]
>
> 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 [email protected].
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to