lightvector / arimaa-server

Arimaa server
Other
9 stars 2 forks source link

Add database libraries support to server #33

Closed lightvector closed 9 years ago

lightvector commented 9 years ago

After some research, probably going with this. http://slick.typesafe.com/

The latest version (3.0) supports asynchronous queries, an abstraction layer that lets you access database contents as if they were Scala containers, and if that becomes a problem for performance (as some have reported online with more complex joins and queries), the ability to fall back to direct SQL queries.

lightvector commented 9 years ago

Working on this - will add a database to back the chat as a way to learn how this works.

lightvector commented 9 years ago

This is working. Will need to revisit things later when we want a separate real database (rather than just an in-memory one), but that's for later.