I'm trying to improve the throughput of an app I'm building. Essentially, it currently uses Unix Domain Sockets to transfer messages between two processes. This is because they are well supported in many programming languages, and easy to use for request/reply.
But combining the two process into a single process I get 10x the TPS. So I know there is up-to 10x potential improvement.
My questions is, can mmap do this, give some constraints:
- Request/reply (like HTTP).
- Concurrent, multiple request/replies in flight.
I'm trying to improve the throughput of an app I'm building. Essentially, it currently uses Unix Domain Sockets to transfer messages between two processes. This is because they are well supported in many programming languages, and easy to use for request/reply.
But combining the two process into a single process I get 10x the TPS. So I know there is up-to 10x potential improvement.
My questions is, can
mmapdo this, give some constraints: