I don't see how it's useful then. Maybe someone can give me a good use case?
redis is already very bare-bones and dead simple to set up and maintain, what more does one want? Wouldn't adding more logic into a redis-like environment be a little cumbersome from an architecture perspective?
If you need an easy to write, debug, and operate RPC tech for building networked components with minimal dependencies/effort, writing Go servers with RESP (iirc, REdis Serialization Protocol) is surely the way to go. I've built several of these things (although, with a custom RESP parser), and, from my experience, the ROI is pretty high -- it's up there with bash scripts for getting stuff done.
Note that this is not a full reimplementation of Redis in Go, but rather a framework for implementing a Redis-like server in Go.
If what you are looking for is a Redis implementation, I did create a Redis v1 clone in Go a while back. It's is only a proof-of-concept and lead to the development of Redcon.
Of course I simplified things by only implementing keys and sets, rather than all the operations such as hashes, etc. But allowing pluggable storage back-ends made it useful for my use-case(s).
> Mostly useful as a mocking tool during unit tests.
AFAIK redis has tests, you don't need to rewrite tests for redis in Java. Mocking implies test assertions in the Mock. I'm sure redis driver for Java has tests too. That's what you should mock.
[+] [-] eknkc|9 years ago|reply
This can be used coupled with a backend storage to provide custom redis servers.
It's not a redis implementation by itself.
[+] [-] butabah|9 years ago|reply
redis is already very bare-bones and dead simple to set up and maintain, what more does one want? Wouldn't adding more logic into a redis-like environment be a little cumbersome from an architecture perspective?
[+] [-] unknown|9 years ago|reply
[deleted]
[+] [-] politician|9 years ago|reply
[+] [-] zzzcpan|9 years ago|reply
[+] [-] unknown|9 years ago|reply
[deleted]
[+] [-] tidwall|9 years ago|reply
If what you are looking for is a Redis implementation, I did create a Redis v1 clone in Go a while back. It's is only a proof-of-concept and lead to the development of Redcon.
https://github.com/tidwall/sider
[+] [-] spullara|9 years ago|reply
[+] [-] stevekemp|9 years ago|reply
https://github.com/skx/predis
Of course I simplified things by only implementing keys and sets, rather than all the operations such as hashes, etc. But allowing pluggable storage back-ends made it useful for my use-case(s).
[+] [-] spriggan3|9 years ago|reply
AFAIK redis has tests, you don't need to rewrite tests for redis in Java. Mocking implies test assertions in the Mock. I'm sure redis driver for Java has tests too. That's what you should mock.
[+] [-] rad_gruchalski|9 years ago|reply
[+] [-] yepperino|9 years ago|reply
[+] [-] LeanderK|9 years ago|reply
Just because the language is really hyped right now?
[+] [-] dominotw|9 years ago|reply
[+] [-] otterley|9 years ago|reply
[+] [-] cnfnjrnxnx|9 years ago|reply
[deleted]
[+] [-] thdespou|9 years ago|reply
[deleted]