Thanks for working on this. Is the socket server async or threaded?
Hey all! Here's a new nostr relay implementation I'm working on: https://github.com/hoytech/strfry
It's still in beta/dev, but pretty close to production ready. Most interesting feature is a merkle-tree based set reconciliation protocol for syncing messages between servers.
Discussion
There is a "websocket" thread that is async since it handles multiplexing all the different websocket connections. However, it delegates most CPU or I/O bound operations to various thread pools. There are more details in the Architecture section of the README: https://github.com/hoytech/strfry#architecture