Sign in using Google or Yahoo! id.  

JRedis Connection Management

 Comments Share:   Twitter   Reddit   HackerNews   Facebook 
  • JRedisClient
  • JRedisService
  • JRedisPipelineService

Rationale

@SunOf27 (in conversation with @al3xandru)

  • JRedisClient is single threaded.
  • JRedisService is thread safe and pools connections
  • JRedisPipelineService uses a single pipeline to serve multiple clients. (thread safe).
  • I'd go with a pipeline if you want high throughput, but don't care too much about latency. otherwise, go with JRedisService.
  • see http://bit.ly/9JInkD and also http://bit.ly/9bRRKr
  • finally mod these benches to see what works best for you: http://bit.ly/dBB56z & http://bit.ly/95SYLV
Posted on March 26, 2010 04:54 AM by Subhash Chandran
redis jredis nosql
blog comments powered by Disqus