News for hackers. Stuff that matters.
Re:Introducing Workers KV by panic on Friday September 28, 2018 @03:52PM (#18096495)
Can you implement IPC with this system? It seems wrong to relate this to tuple spaces otherwise.
Re:Introducing Workers KV by _pmf_ on Tuesday October 02, 2018 @06:16AM (#18120233)
A poor man's IPC, like HTTP and HTML is a poor man's application platform ...
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.
Re:Introducing Workers KV by panic on Friday September 28, 2018 @07:35PM (#18097849)
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).
Re:Introducing Workers KV by kentonv on Saturday September 29, 2018 @01:53PM (#18101737)
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.