delta-bravo / hystrix-commands

Sample showing differences between Hystrix isolation strategies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hystrix-commands

Simple application showing the differences between THREAD and SEMAPHORE command isolations in Hystrix.

Application provides 2 resources:

  • Single thread execution available via '/api/v1/command/isolation=[isolation]&timeout=[timeout]'

    isolation can be set to thread or semaphore, timeout - positive integer

  • Multi thread execution available via '/api/v1/multi-commands/isolation=[isolation]&timeout=[timeout]&threads=[threads]&interval=[interval]'

    threads parameter specifies number of threads attempting to execute the commands simultaneously, and interval specifies the period application waits before spawning new thread.

About

Sample showing differences between Hystrix isolation strategies


Languages

Language:Java 96.4%Language:Python 3.6%