openbci-archive/OpenBCI_NodeJS

Tracking: Multithreaded/Multiprocess

Opened this issue · 0 comments

Move CPU heavy serialport processing over to another process or thread. Of course node is supposed to be single thread but with libraries like: https://github.com/audreyt/node-webworker-threads/blob/master/README.md seems possible. This will help to reduce CPU usage solving high heat/power consumption and dropped packets because the CPU couldn't clear the serial buffer fast enough.