Akka HTTP performance tests

43 views
Skip to first unread message

Unmesh Joshi

unread,
Apr 30, 2018, 10:59:29 AM4/30/18
to Akka User List
Hi,

We are trying to write some tests to prove following statements about reactive servers

1. Thread context switching has cost associated with it.  So creating lots of threads is problematic.
2. With tens of thousands connections per server, reactive servers utilise the server resources more effectively. 

We have seen these situations in production on one or more projects, but there is no code with tests which we can point people to and say 'run and see yourself'.

There are few examples discussed in the book 'Reactive Programming with RxJava' with sample code available at https://github.com/nurkiewicz/rxjava-book-examples/tree/master/src/test/java/com/oreilly/rxjava/ch5.

I was curious to know if there are already some samples which demonstrate the effects of thread context switching in blocking servers and how akka http's reactive architecture scales better. (in terms of resource utilisation and stability)

Thanks,
Unmesh
Reply all
Reply to author
Forward
0 new messages