Server implementation

Technologies

Language: Scala (JVM)

 

Framework: Akka (Actor Framework)

 

Database: ORM (Slick), h2 as backend

Actor Framework

Actors are isolated process that communicate with the rest of the world with immutable messages. Everything except data is an actor

 

Why ? It avoids thread-lock, is extremely fast/lightweight and is resilient by design (if one actor die, you can just restart it)

It's a way to design concurrent servers that scale very well

You can have millions of simultaneous actors on a single server

Server implementation

By Ruben Fiszel

Server implementation

  • 321