Packages

  • package root

    Akka based micro service proving general leaderboard functionality for applications such as back-end game servers.

    Leaderboard Micro Service

    Akka based micro service proving general leaderboard functionality for applications such as back-end game servers.

    Overview

    Definition Classes
    root
  • package net
    Definition Classes
    root
  • package kolotyluk
    Definition Classes
    net
  • package leaderboard

    Leaderboard Microservice which implements standalone leaderboard service inspired by Redis Sorted Sets

    Leaderboard Service

    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

    Definition Classes
    kolotyluk
  • package scala
    Definition Classes
    kolotyluk
  • package extras

    Extra utilities for Scala developers.

    Extra Utilities

    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")
    }

    Base 64 URL Identifiers

    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_3WQ

    Would internally refer to a resource for "foo/91e02865-0102-4b09-b487-bbfacb0ff759"

package scala

Ungrouped