What counts as CPU Intensive tasks (eg. sorting, searching etc?)
Terms like “intensive” or “expensive” are relative and it isn’t always obvious what activities are CPU-intensive. Generally speaking, anything that isn’t I/O is CPU. And I/O is asynchronous in node.js, so not a problem. Therefore, we are left with everything except for I/O being expensive. Your approach to pick general patterns is wise. Sorting, searching, … Read more