Releases: Livestream/scredis
Releases · Livestream/scredis
v2.0.0-2.10
Changes
- Completed documentation
- Blocking commands now return a Try (to make it clear that an exception can be thrown and to avoid the overhead of try/catch blocks)
- AnyWriter is no longer imported by default, instead, the Writer for every Scala base type is imported (prevents ambiguous writer when user defines own Writer)
v2.0.0-RC1-2.11
Changes
- Supports all Redis commands up to v2.8.13
- Built on top of Akka non-blocking IO
- Super fast, see Benchmarks section below
- Automatic reconnection
- Automatic pipelining
- Transactions
- Pub/Sub
- Subscribe selectively with partial functions
- Tracked Subscribe and Unsubscribe commands (they return a Future as any other commands)
- Automatically resubscribes to previously subscribed channels/patterns upon reconnection
- Serialization and deserialization of command inputs and outputs
- Fully configurable
- Akka dispatchers
- Pipelined write batch size
- Receive timeout
- TCP buffer size hints
- Request encoding buffer pool
- Concurrent requests cap (bounded memory consumption)
v2.0.0-RC1-2.10
Changes
- Supports all Redis commands up to v2.8.13
- Built on top of Akka non-blocking IO
- Super fast, see Benchmarks section below
- Automatic reconnection
- Automatic pipelining
- Transactions
- Pub/Sub
- Subscribe selectively with partial functions
- Tracked Subscribe and Unsubscribe commands (they return a Future as any other commands)
- Automatically resubscribes to previously subscribed channels/patterns upon reconnection
- Serialization and deserialization of command inputs and outputs
- Fully configurable
- Akka dispatchers
- Pipelined write batch size
- Receive timeout
- TCP buffer size hints
- Request encoding buffer pool
- Concurrent requests cap (bounded memory consumption)
v1.1.2-2.11
Changes
- Compiled scredis for Scala 2.11
- No changes
v1.1.2-2.9.x
Changes
Redis.ec
now points to a separate, lazily initialized callback executor- The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g.
import redis.ec
- The main executor is now called internal and cannot be used externally (improve performance and most importantly prevents deadlocks)
- The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g.
- Executors now default to a cached thread pool with a configurable maximum number of concurrent tasks. If the maximum number of tasks is reached then the executor will block (prevents using too much memory under high load). Both executors can be configured in reference.conf
v1.1.2-2.10
Changes
Redis.ec
now points to a separate, lazily initialized callback executor- The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g.
import redis.ec
- The main executor is now called internal and cannot be used externally (improve performance and most importantly prevents deadlocks)
- The new callback thread pool can be used to register callbacks on asynchronous commands and will only be initialized (and shutdown) if it is explicitly imported, e.g.
- Executors now default to a cached thread pool with a configurable maximum number of concurrent tasks. If the maximum number of tasks is reached then the executor will block (prevents using too much memory under high load). Both executors can be configured in reference.conf
v1.1.1-2.9.x
Changes
- #9 Added daemon-threads parameter (true by default)
- Set default value of pool.max-idle to -1
v1.1.1-2.10
Changes
- #9 Added daemon-threads parameter (true by default)
- Set default value of pool.max-idle to -1
v1.1.0-2.9.x
Changes
All changes are included in this milestone.
- #6
sMembers
asynchronous command now correctly returnsFuture[Set[A]]
instead ofFuture[Set[String]]
- #7 Implemented changes related to Redis v2.8.x
- New commands
- SCAN
- HSCAN
- SSCAN
- ZSCAN
- Modified commands
ttl
now returnsEither[Boolean, Int]
pTtl
now returnsEither[Boolean, Long]
ttlDuration
now returnsEither[Boolean, FiniteDuration]
- New commands
v1.1.0-2.10
Changes
All changes are included in this milestone.
- #6
sMembers
asynchronous command now correctly returnsFuture[Set[A]]
instead ofFuture[Set[String]]
- #7 Implemented changes related to Redis v2.8.x
- New commands
- SCAN
- HSCAN
- SSCAN
- ZSCAN
- Modified commands
ttl
now returnsEither[Boolean, Int]
pTtl
now returnsEither[Boolean, Long]
ttlDuration
now returnsEither[Boolean, FiniteDuration]
- New commands