Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several question about Redisson / Jedis #35

Closed
mathieucarbou opened this issue Jun 19, 2014 · 1 comment
Closed

Several question about Redisson / Jedis #35

mathieucarbou opened this issue Jun 19, 2014 · 1 comment

Comments

@mathieucarbou
Copy link
Contributor

Note: I don't really know if there is a better place to ask for these sorts of questions... ;-)

Besides all the cool features added to Redisson to use locks, queues, maps, etc... How does Redisson performs compared to Jedis in terms of:

  • memory usage
  • speed
  • number of concurrent connections supported
  • use in multi-threading app requiring in both case using a pool
  • thread-safety
  • etc...

For having used both, I strongly prefer the api of Redisson (using publish subscribe in a reliable way with Jedis is a pain, and also there is no codec). But I am wondering, since their implementation only rely on simple sockets and a pool, how it compares to Redisson, which is based on Netty.

Also concerning thread-safety, having already aked a question about it, and in both libraries a connection pool is used for each operation and it is better to do so. So does thread-safety on a connection level really used ?

Thanks!

@mrniko
Copy link
Member

mrniko commented Jun 19, 2014

In Redisson we don't need thread-safety on Connection because each connection can be used by single thread at one moment.

Also, all objects created by Redisson are fully thread-safe including Redisson."getAnyObject" methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants