logoalt Hacker News

phendrenad2 • 11/07/2024 • 2 replies • view on HN

Seems like ractors would be perfect for a HTTP server.


Replies

kubectl_h • 11/08/2024

Yes I agree. Recently sat down and wrote some test ractor code to see if I could max out all my CPUs with a single ruby process running only ruby code and was pleasantly surprised to see that it works.

The ruby systems I work on now scale to demand via kubernetes so it's not practical to find edge cases where I could apply ractors, but the future looks promising with real multi-threaded-like parallelism.

wutwutwat • 11/07/2024

falcon is worth a look https://github.com/socketry/falcon

➕ show 1 reply