Squadrick / shadesmar

Fast C++ IPC using shared memory
MIT License
555 stars 85 forks source link

Performance (at least compared to nanomsg) #56

Open dumblob opened 3 years ago

dumblob commented 3 years ago

I wonder how this performs compared to nanomsg (zero-copy, very minimal, fully scalable, ...).

Could you do some measurements (at least preliminary with trade-offs to get a general sense) and publish them ideally right in the readme?

Rationale

I consider nanomsg as a baseline, so that's why I'm not asking about comparison to other messaging/IPC products (there are many good ones but nanomsg is easy to measure against due to its stability, easy setup, nice perf package, and leading performance).

Squadrick commented 3 years ago

@dumblob Thanks for creating this ticket. Your rationale makes sense, I'll start adding comparison benchmarks soon. I've found a couple of other libraries that might be good reference points for performance, listing them here: