Choosing a Database

ยงChoosing a database

Lagom is compatible with the following databases:

For instructions on configuring your project to use Cassandra, see Using Cassandra for Persistence. If instead you want to use one of the relational databases listed above, see Using a Relational Database for Persistence on how to configure your project. If you wish to use Couchbase, proceed to the Lagom section of the plugin site for all the details.

To see how to combine Cassandra for write-side persistence and JDBC for a read-side view, see the Mixed Persistence Service examples.

Lagom provides out of the box support for running Cassandra in a development environment - developers do not need to install, configure or manage Cassandra at all themselves when using Lagom, which makes for great developer velocity, and it means gone are the days where developers spend days setting up their development environment before they can start to be productive on a project.

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.