3 ms·
Put the target channel name and a message id at the front of each key and you can use a tuple space for IPC.
by zackbloom 8y ago
Put the target channel name and a message id at the front of each key and you can use a tuple space for IPC.
- panic 8y agoWhat I mean is: can a process block until a particular key appears, then resume execution after receiving the associated value? That's the main differentiating feature of a tuple space, and it wasn't clear to me whether this system supports that or not (or even has a concept of a process).
- kentonv 8y agoNo, that's not supported at present, but that's an interesting idea. Workers don't have the concept of processes. The unit of compute is an individual event -- e.g. handling an individual HTTP request. So we'd have to augment it a bit, but we can probably come up with something useful.