Skip to content

alanhughes/finatra-future-pools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example server for demonstrating different thread pooling strategies with a finagle server

Running

sbt "runMain futurepooldemo.MyServer -futurePool compute"

will launch a server on port 8080 using a bounded WorkStealingThreadPool executor for the "intensive" computation. Alternatively using -futurePool io to use an unbounded CachedThreadPool. Leaving the flag unset will make the intensive computation share the default Finagle threadpool.

Use the -port flag to set the port if you wish to run multiple servers.

Use the python scripts to perform benchmarking - a couple of example images can be seen in the benchmarking_images folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published