Akka based micro service proving general leaderboard functionality for applications such as back-end game servers.
Leaderboard Microservice which implements standalone leaderboard service inspired by Redis Sorted Sets
Leaderboard Microservice which implements standalone leaderboard service inspired by Redis Sorted Sets
Many leaderboard implementation make use of the general Sorted Set operations in Redis such as ZADD, ZRANK, ZRANGE, etc. This project is an academic exercise which attempts to improve on some of the restrictions of Redis, while maintaining the robustness of it. Academically, it is also an exercise in designing and implementing a micro service, and experimenting with modern cloud principles.
Also known as a High Score Table, this service tracks scores for a number of contests, events, etc. See also: README
Extra utilities for Scala developers.
Extra utilities for Scala developers.
Some things it might have been nice to see in the standard Scala libraries, but are offered here instead. For example:
object Main extends App with Configuration with Environment with Logging { // Safest way to indicate something is happening, don't rely on logging yet println(s"Starting ${getClass.getName}...") println("Reporting environment and configuration for troubleshooting purposes") println(environment.getEnvironmentReport()) println(config.getConfigurationReport()) // If logging is broken, hopefully there is enough output now for a diagnosis logger.info("Logging started") }
Sometimes it's nice to encode a 128-bit UUID as a 22-character Base 64 URL String, such as "keAoZQECSwm0h7v6yw_3WQ". Normally a UUID is expressed as a 36-character string such as "91e02865-0102-4b09-b487-bbfacb0ff759", so this is a simple way of saving 14 characters in URL encoding. For example
curl http://localhost/foo/keAoZQECSwm0h7v6yw_3WQWould internally refer to a resource for "foo/91e02865-0102-4b09-b487-bbfacb0ff759"
Leaderboard Micro Service
Akka based micro service proving general leaderboard functionality for applications such as back-end game servers.
Overview