❤



Myself


  • SW Engineer at Gutefrage.net 
  • Java / Scala Enthusiast
  • Eclipse IDE User
  • Twitter / Github @muuki88




What you will learn today




  1. Akka Cluster Basics

  2. Building an Akka Cluster Frontend with Play

  3. Creating docker and debian packages

 


Cluster



  1. Cluster Singleton

  2. Cluster Sharding

  3. Cluster Aware Routers





Groups vs. Pools

Pool


Router spawns remote actors

Group

Router selects existing actors

Enable


# application.conf
akka.actor.provider = "akka.cluster.ClusterActorRefProvider"

akka.remote.netty.tcp {
  hostname = "127.0.0.1"
  port = 0
}

akka.cluster {
  seed-nodes = [
    "akka.tcp://ClusterSystem@127.0.0.1:2551"
    "akka.tcp://ClusterSystem@127.0.0.1:2552"
  ]

  roles = [ backend ]
}

  ❤




Setup






Packaging



Fragen



Find us on  GitHub


https://github.com/sbt/sbt-native-packager

Clustering Play & Akka

By Nepomuk Seiler

Clustering Play & Akka

JUGM Talk on SBT-Native-Packager, Akka and Play

  • 1,216