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