Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The Non-Blocking Redis Driver for Scala

DZone's Guide to

The Non-Blocking Redis Driver for Scala

· Database Zone ·
Free Resource

Databases are better when they can run themselves. CockroachDB is a SQL database that automates scaling and recovery. Check it out here.

One of the more performant clients for using Scala and the Redis NoSQL database is "rediscala,"  which has been quite active on GitHub this month.  It is reactive, typesafe, and non-blocking:

   •    Reactive : Redis requests/replies are wrapped in Futures.
   •    Typesafe : Redis types are mapped to Scala types.
   •    Fast : Rediscala uses redis pipelining. Blocking redis commands are moved into their own connection. A worker actor handles I/O operations (I/O bounds), another handles decoding of Redis replies (CPU bounds).

-- From the GitHub Page 


It already supports the primary Redis Commands and will add Scripting and Server soon.

Databases should be easy to deploy, easy to use, and easy to scale. If you agree, you should check out CockroachDB, a scalable SQL database built for businesses of every size. Check it out here. 

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}