4 ms·
The solution to your caching problem is more caching
by nly 3y ago
The solution to your caching problem is more caching
- crest 3y agoThe solution is to avoid synchronous blocking operation like migrating cache lines more often than required. An other solution is to offer a batch produce()/consume() API to process multiple elements per invocation. A double mapped ring buffer is also tempting because it avoids having to deal with modulo addressing.