Proof-of-concept self-healing database built with Scala and Akka actors
This is the implementation for autonomous systems
, ALFP, year 2, West University of Timisoara.
The implementation features an actor system that implements a distributed database, as well as an HTTP server
to interact with this database.
The following functionality is available and provided by the system:
The following functionality is provided:
PUT /data
- with query params key and value, add a piece of data at that specific keyGET /data
- query param key; gets the value at that key or an empty responseDELETE /data
- query param id
; allows the user to remove a piece of data fromGET /actors
- get the names and last heartbeat time for all data storage actorsDELETE /actors
- query param id
; cause the system to kill one of the actors,GET /data/all
- get all data from all actors, grouped by partition into differentDesign the architecture and a few functionalities.
Some questions:
These at the presentation.
Cristian Schuszter, 2018
All rights reserved