- PUB-SUB loses the first few requests (always).
- ZMQ may discard requests when the system is near OOM.
- There can be only one context within each process.
- Each socket can only be accessed by a single thread.
- PUB-SUB's filter happens on the publisher side
- Typically, we create one IO thread per GB/s.
- Inproc sockets can be used for communication between threads (very fast).
- -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc (add this to pycharm cmake options)