- Use thread local variables
- Move everything from shared memory to process memory
- Use threads instead of processes
I've started to see meaningful benefits by changing the parallel algorithms to use a shared memory space. For example parallel hash joins have to copy tuples through shared memory to pass them between workers. That's just not something I have to do. [0] https://github.com/Percona-Lab/sysbench-tpcc
I previously lead the database team at Heap.
GitHub: https://github.com/malisper/
Blog: http://malisper.me
Email: [email protected]