Hacker News new | ask | show | jobs
by trb8 3748 days ago
Precipice - A java library providing monitoring and back pressure for task execution

https://github.com/tbrooks8/Precipice

Precipice allows you to plug in a variety of metrics to collect result and latency information about tasks (http requests, runnables, writes to a socket, etc) that your application executes. You can pick mechanisms of back pressure (rate limiters, semaphores, circuit breakers, etc) that can pause execution depending on what your metrics indicate is going on.

There are no assumed threading or execution models.