Hacker Newsnew | past | comments | ask | show | jobs | submit | more itamarhaber's commentslogin

Nice job in summing the material and a great dockerized example!


/me can't resist

Eventually.


Author here - thanks for sharing :)


Hey Itamar!

I hate to see great posts fall between the cracks on HN. This announcement was worth re-posting. I missed the original announcement and only just discovered the json module this morning. It looks like a really valuable addition. I'm using hashes in ways I won't need to anymore by adopting it.


I'm glad you liked the project and post - it actually got nice traction from HN but who am I to complain for more?

Feel free to communicate about the project at the repository (i.e. if you have feature requests and such)!


No disrespect Matthew, but you're doing it very very wrong.

Very #1: do not use `KEYS`, use `SCAN` instead. Your script is not only blocking the server, it also consumes a lot of RAM just for holding them while iterating.

Very #2: do not use JSON to encode, and no need for the conditional-read-by-type - just use Redis' `DUMP`

P.S. there may be more wrongness ;)


Very nicely done!


Speaking of which, take a look at this Redis module that marries Hexastore and neo4j-like queries: https://github.com/RedisLabsModules/redis-module-graph


Sorry, can't reproduce.


Thank you, I didn't know about that one... good thing HN has comments :) Do you know if anybody is actually using RFC6901?


JSON Patch (http://jsonpatch.com/) also uses it.


JSON Schema uses the Pointer spec for references.


Excellent deep dive - treasured.


Thanks!


Not that exotic anymore... in not-so-many-months we'll have little things with ARMs all over the planet.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: