3 ms·
- Used a background thread with a single slot queue to make sure our response was returned to the user before we emitted the event log message, but always emit
by jMyles 11y ago
- Used a background thread with a single slot queue to make sure our response was returned to the user before we emitted the event log message, but always emit the message before moving to the next request
The crosstown_traffic API in hendrix does exactly this.
https://github.com/hangarunderground/hendrix https://github.com/hangarunderground/hendrix