Live data from Hacker News

An update on Redis and Lua

antirez.com

11–12 of 12 posts

Re: An update on Redis and Lua

#11
post #2

That's cool, but not nuts about JSON. They should include at least one space-efficient format, like messagepack (which is 100% compatible with JSON after encoding / decoding). Of course, this opens the floodgates... Also, is zlib available?

In recent benchmarks, Node's JSON implementation is almost twice as fast as messagepack. I think I'd rather have the more universally used format anyway.

It's not about speed, but space efficiency, msgpack is significantly smaller. That's useful for a mostly in memory database. As far as speed that's negligible.

Re: An update on Redis and Lua

#12

Earlier quoted context omitted.

In recent benchmarks, Node's JSON implementation is almost twice as fast as messagepack. I think I'd rather have the more universally used format anyway.

It's not about speed, but space efficiency, msgpack is significantly smaller. That's useful for a mostly in memory database. As far as speed that's negligible.

Hello, if you care about size, the best way is to just use Redis Hashes, that internally store fields and values into a binary very compact representation.
Post reply on HN