Re: [akka-user] Question: Regarding reactive streams and threads / dispatcher

2016-04-20 Thread Thomas Zimmer
Thanks for pointing this out Endre. At least I got an idea where I should look at On Wednesday, April 20, 2016 at 11:14:06 AM UTC+2, Akka Team wrote: > > Hi Thomas, > > > it seems to spawn a new thread per connection (new > akka-default-dispatcher- keep popping up). Here is how i spawn my >

Re: [akka-user] Question: Regarding reactive streams and threads / dispatcher

2016-04-20 Thread Akka Team
Hi Thomas, > it seems to spawn a new thread per connection (new akka-default-dispatcher- keep popping up). Here is how i spawn my "ClientSession" - Actor: Are you calling blocking calls somewhere? Nothing in Akka's TCP stack creates new threads, they only create actors. The only reason why the

[akka-user] Question: Regarding reactive streams and threads / dispatcher

2016-04-19 Thread Thomas Zimmer
Hey guys, I have an application where I expect many clients to connect to via TCP. So my design is the following. I have these two actor-types: * Server-Actor - Accepts incoming TCP connections (Uses Reactive TCP - Stream). Per incoming request i spawn a new "ClientSession" - actor instance.