Skip to content

A Gleam library for running OTP processes with overload protection

Notifications You must be signed in to change notification settings

JohnBjrk/protege

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protege

NOTE This is a work in progress which has not yet been published to hex.

A Gleam library for running OTP processes with overload protection for received messages.

This was initially built to support the gleam-logger glimt, but moved to a separate repository to make it available to other projects in need of a similar mechanism.

The overload mechanism is based on the overload protection for the erlang-logger. See (Protecting the Handler from Overload) for details about the mechanism and the meaning of the different parameters.

See demo.gleam for an example on how to use the library.

Running the demo

gleam run -m demo

About

A Gleam library for running OTP processes with overload protection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages