Akka is a toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM.
Questions tagged [akka-io]
17 questions
0
votes
2 answers
Deserialization case class from ByteString
I send case class using:
tcpActor ! Tcp.Write(MyCaseClass(arg1: Class1, arg2: Class2).data)
Then I received:
case Tcp.Receive(data: ByteString)
Is there any simple way to match data on MyCaseClass without using low level java serializer?

galvanize
- 537
- 1
- 5
- 17
0
votes
1 answer
How to obtain high outbound concurrency with Akka IO(Http)
Given:
val system = ActorSystem("test")
val http = IO(Http)(system)
def fetch = http ! HttpRequest(GET, "http://0.0.0.0:8080/loadtest")
If I were to do:
(0 to 25).foreach(_ => fetch)
I would expect that the code would fire off 25 asynchronous…

T. Stone
- 19,209
- 15
- 69
- 97