Re:Introducing Workers KV
by zackbloom on Friday September 28, 2018 @05:20PM
(#18097158)
Put the target channel name and a message id at the front of each key and you can use a tuple space for IPC.
[ Parent
| on HN ]
What 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).
No, 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.