项目作者: knoldus

项目描述 :
高级语言: Scala
项目地址: git://github.com/knoldus/akka-fsm-throttler.git
创建时间: 2018-01-18T15:58:51Z
项目社区:https://github.com/knoldus/akka-fsm-throttler

开源协议:

下载


akka-fsm-throttler

Suppose that an application is receiving lots of request at a time. It is not feasable to process all requests in parallel.
To configure the parallelism on the basis of number of request we need throttler. With a throttler, we can ensure that calls we make do not cross the threshold rate.

Clone the repo

  1. git clone https://github.com/knoldus/akka-fsm-throttler.git
  2. cd akka-fsm-throttler

Build the code

If this is your first time running SBT, you have to download the used dependencies.

  1. cd akka-fsm-throttler
  2. sbt clean compile

To run application run following command.

  1. sbt run

To test the application run following command.

  1. sbt clean test