Why Nostr? What is Njump?
2024-09-14 19:34:08

hakkadaikon on Nostr: Previously, I thought that if I only considered communication without considering ...

Previously, I thought that if I only considered communication without considering database storage, I could create the fastest Nostr relay possible by implementing a websocket library on top of C language + DPDK.

For example, instead of saving the data in storage, the data received via DPDK is stored in hugepage, and when a REQ is received from the client, the EVENT is extracted from hugepage and returned.

However, I realized that even just trying it would require a lot of effort, so I'm leaving it as a "snack" for something I want to do someday.

There seems to be OSS available for implementing the TCP/IP protocol stack on top of DPDK, but it looks like you will need to implement the layers above that yourself.
Author Public Key
npub1zqdnpm5gcfap8hngha7gcp3k363786phvs2etsvxw4nh6x9ydfzsuyk6mn