Skip to content
/ shaper Public

Shaper can enforce limit on maximum number of code executions per instance of time

License

Notifications You must be signed in to change notification settings

serkas/shaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Shaper

Shaper can enforce limit on maximum number of code executions per instance of time. It is safe to adjust the rate limit in the runtime.

It can be usable in cases when:

  • the source of events produces bursts of load followed by periods of silence
  • we need to flatten the load before next stages of processing
  • there is no back-pressure mechanism from the downstream stages
  • we need to change the processing rate in the runtime

Shaping of bursts

Go 1.15 required

About

Shaper can enforce limit on maximum number of code executions per instance of time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages