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>
> > .