Re: Redis server written in Java

950 views
Skip to first unread message
Message has been deleted

Salvatore Sanfilippo

unread,
Dec 20, 2010, 7:03:52 AM12/20/10
to redi...@googlegroups.com
On Mon, Dec 20, 2010 at 1:00 PM, Rusiru Boteju <rusiru...@gmail.com> wrote:
> Is there an instance of redis-server which was written in java?

Hello,

there is no Redis clone implemented in Java as far as I know. Btw
being Redis easily compilable in most posix systems, and with a
networking API, what would be the goal of such a project?

Cheers,
Salvatore

> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/redis-db?hl=en.
>

--
Salvatore 'antirez' Sanfilippo
http://invece.org

"We are what we repeatedly do. Excellence, therefore, is not an act,
but a habit." -- Aristotele

Thai Dang Vu

unread,
Dec 20, 2010, 9:19:16 AM12/20/10
to redi...@googlegroups.com
This cannot be compared to redis, but do you know of it? I just saw it on dzone a few days ago.

http://code.google.com/p/jdbm2/

On Mon, Dec 20, 2010 at 7:00 AM, Rusiru Boteju <rusiru...@gmail.com> wrote:
Is there an instance of redis-server which was written in java?

--

郭晓峰

unread,
Dec 20, 2010, 12:48:26 PM12/20/10
to redi...@googlegroups.com
Why do you need redis-server in Java?

Redis is designed for high-performance in-memory key-value lookup, if it is implement in Java, it will lose its benefits.

In my project, I need to use Java client to connect redis. In unit testing, we wrote mock client for simplicity, it won't impact anything related to C. In smoke testing, we create a testing redis service, and use JRedis to connect to it. For redis-server binary you used in this smoke test, you need to make sure which version of java you are using, and make sure the binary is in the same page.

Maybe it is helpful to you.

Best Regards,
Xiaofeng

Didier

unread,
Dec 20, 2010, 3:43:42 PM12/20/10
to Redis DB

I agree that the interest is rather limited for most users.

I guess some corporate people could be interested by a Java version
to embed it into a J2EE compliant container (such as jboss or
weblogic).
Some academic people may want to use it as a testbed to develop
plugins,
experimental new features, a threaded Redis using lock-free data
structures, etc ... Finally, some others may think that using a
higher-level language is a way to attract more developers to an
open-source project.

Usually, when people propose a Java clone of some existing robust and
efficient C/C++ program, it is for one of these reasons.

Regarding performance, you may be interested by this link:
http://code.google.com/p/jmemcache-daemon/

While slower than the C version, this Java implementation of memcached
is not ridiculous, and actually quite usable.

Regards,
Didier.

On 20 déc, 18:48, 郭晓峰 <lamu...@gmail.com> wrote:
> Why do you need redis-server in Java?
>
> Redis is designed for high-performance in-memory key-value lookup, if it is
> implement in Java, it will lose its benefits.
>
> In my project, I need to use Java client to connect redis. In unit testing,
> we wrote mock client for simplicity, it won't impact anything related to C.
> In smoke testing, we create a testing redis service, and use JRedis to
> connect to it. For redis-server binary you used in this smoke test, you need
> to make sure which version of java you are using, and make sure the binary
> is in the same page.
>
> Maybe it is helpful to you.
>
> Best Regards,
> Xiaofeng
>
> On Mon, Dec 20, 2010 at 4:00 AM, Rusiru Boteju <rusiru.bot...@gmail.com>wrote:
>
>
>
>
>
>
>
> > Is there an instance of redis-server which was written in java?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Redis DB" group.
> > To post to this group, send email to redi...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > redis-db+u...@googlegroups.com<redis-db%2Bunsubscribe@googlegroups.c om>
> > .

Jak Sprats

unread,
Dec 21, 2010, 12:52:24 PM12/21/10
to Redis DB

redis done in Java would have all sorts of Garbage Collection issues,
performance would be good for like an hour, and then CHAOS
> > > redis-db+u...@googlegroups.com<redis-db%2Bunsubscr...@googlegroups.c om>
Reply all
Reply to author
Forward
0 new messages