4 ms·
Here's a few thoughts on sending large data between processes: 1) Don't unless you really have to. Does the receiving process really need all that data to do i
by rubiquity 11y ago
Here's a few thoughts on sending large data between processes:
1) Don't unless you really have to. Does the receiving process really need all that data to do its job?
2) Define big? Most database adapters are multi-process so lots of message passing happens. I've had some large database rows (122 columns (sigh. I know) per row) and sending those between hasn't been a problem.
3) Is the large data a binary? In that case, binaries over 56 bytes are reference counted and not copied between processes. The binary will be GC'ed after all references are gone.
4) Measure measure measure. You don't know that you have a problem unless you measure.