A Gearman Framework
Scala
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.mkd
README.txt
build.sbt

README.mkd

Scala Gearman

Usage

Initialize a new instance of a Service (either a worker or server)

val client = system.actorOf(Props(new Service("example.com", 4730, "client")))
val worker = system.actorOf(Props(new Service("example.com", 4730, "worker")))

Send messages to the server

client ! Message.CAN_DO("reverse")

TODO

  • Differentiate client / worker services

  • Write an example server