Parallel multithreaded actors without locks P&L: -8 (≃ -8 HUR)
Implement efficient scalable multiple thread communication
github.com/samsquire/multiversion-concurrency-control/blob/main/src/main/java/main/Main.java
YAML
Project
Produce
This project is to implement efficient multithreading to maximise use of all CPU cores, without too much overhead.
-8.0000 ħ (8.0 HUR) (+0.0)
For 100 threads I managed to get 100 million multithread communication event requests a second, taking 10 nanoseconds to communicate between threads
Most computers use locks to synchronize, which are very slow. This design is far faster and allows locks to be elided for performance.
I use unscynchronized data structures and achieve 100 million requests a second raw communication performance for a cost of 10 nanoseconds per batch of messages.