Michał Płachta Reality Games

BIO: I am a polyglot software engineer specialised in developing distributed applications. Also a tea drinker, cyclist & functional programming enthusiast. I love the human component in software projects. I currently work as team leader at Reality Games, where we are building games based on big data.

Presentation: Building testable APIs using functions & meshes.
session level: beginner

In this live coding talk you will learn about functional techniques that encourage separation of concerns. I will build a stateful HTTP API from highly isolated components that are easier to test than entangled spaghetti-like codebases. I will show you how tests can help us scaffold the architecture and how should we approach testing in the era of microservices. In the session I will use immutability, type parameters and function parameters as tools to implement a very practical example: Pac-Man game web server. I will code in Scala using Akka HTTP and deploy to Kubernetes with Istio service mesh.


How to:

  •  use immutability,
  • make HTTP tests stable,
  • perform separation of concerns using abstraction,
  • test on production in isolation using sidecars in service meshes.