Embedded redis

181 views
Skip to first unread message

Neelesh Korade

unread,
Oct 6, 2014, 2:33:11 AM10/6/14
to redi...@googlegroups.com
Hello All

Is there a way redis can be started in embedded mode in a Java application process? The key requirements we have are that the key-value store we use should not run in a separate process and the application should not have to go through the network stack for any reads/writes from/to redis.

Would appreciate any help on this.

Regards
Neelesh

Dvir Volk

unread,
Oct 6, 2014, 3:12:30 AM10/6/14
to redi...@googlegroups.com
Hi Neelesh.
It is not possible to do so with redis. I remember a few projects in the past trying to achieve a redis-like database for embedded purposes (mainly mocking), but they weren't complete, and I'm not sure a Java one existed.

If you need an embedded database for Java, you have a few better options, such as levelDB which has Java bindings. But this group is not the place for discussing other tools, of course. 

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Gabriel Sosa

unread,
Oct 6, 2014, 9:35:08 AM10/6/14
to redi...@googlegroups.com
why not connect via socket?
--
Gabriel Sosa
Sometimes the questions are complicated and the answers are simple. -- Dr. Seuss

Colin Vipurs

unread,
Oct 6, 2014, 3:32:36 PM10/6/14
to redi...@googlegroups.com
Or why not just use built in Java collections?
Maybe she awoke to see the roommate's boyfriend swinging from the chandelier wearing a boar's head.

Something which you, I, and everyone else would call "Tuesday", of course.

Nils Kilden-Pedersen

unread,
Oct 6, 2014, 4:09:05 PM10/6/14
to redi...@googlegroups.com
You should probably look into something like MapDB instead.

--
Reply all
Reply to author
Forward
0 new messages