The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
C Iouring Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
When using green threads/fibers/coroutines, an interesting technique to make signal handling safer is to run the signal handler asynchronously on a separate fiber/green thread. That way most of the problems of dealing with signals go away, and there's basically no limitation on what you can do inside the signal handler.
I've successfully used this technique in Polyphony [1], a fiber-based Ruby gem for writing concurrent programs. When a signal occurs, Polyphony creates a special-purpose fiber that runs the signal handling code. The fiber is put at the head of the run queue, and is resumed once the currently executed fiber yields control.
[1] https://github.com/digital-fabric/polyphony
C Iouring related posts
- Coroutine made DPDK dev easy
- A performance review of io_uring vs. epoll for standard/streamed socket traffic
- Efficient IO in Linux with io_uring [pdf]
- NVMe-oF
- First iteration of my new homelab, on its way a new huawei rh1288 with 2x 2660v4 and 96gb of ram, a 2U with an i3-10100f with 2x Intel 340-T4 (and a mellanox connectx 3 next year) to run a a couple of firewalls on VMs (need to segment a bit) and next year I will add a 2x epyc 7302 with of 128gb ram
- Linux Kernel: The multi-generational LRU
-
A note from our sponsor - WorkOS
workos.com | 29 Apr 2024
Index
Project | Stars | |
---|---|---|
1 | Polyphony | 651 |
Sponsored