Over a million developers have joined DZone.

The Non-Blocking Redis Driver for Scala

· Database Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database. Try it now! Brought to you in partnership with MongoDB.

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.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}