4 ms·
You use the advanced methods to squeeze out more performance, it is not necessary to actually build solutions. There is plenty of reasons for shared memory in
by zaarn 7y ago
You use the advanced methods to squeeze out more performance, it is not necessary to actually build solutions.
There is plenty of reasons for shared memory in back-ends, workers queues with zero-copy messaging would be one example that a lot of applications can benefit from.
- spion 7y agoZero-copy message queue would be an unnecessary micro-optimization for most backends I've worked on. I don't think its something you would normally do in typical back-end programming, unless your scale is bonkers-level or you're creating infrastructure for others to use (maybe if you're doing analytics for others? except there are other alternatives there...). Its definitely not a niche targeted by node.
- zaarn 7y agoI don't think it's a microptimization, it's not that terribly complicated if you are careful about the code you write and it's definitely fun.