4 ms·
I don't get it. Isn't this just a threadsafe schemaless database?
by sometimesijust 8y ago
I don't get it. Isn't this just a threadsafe schemaless database?
- foota 8y agoYou can access by wildcarded fields, it looks like. Like if you have a tuple (string, int, int) you can query ("test", 1, ) and get back all those rows, or (, 1, 1), etc. This isn't generally efficient in a schemaless database.
- panic 8y agoThe main difference is that you can have code waiting for a query to yield results. Imagine a chat service which has a separate process for each user’s TCP connection. Normally, when a new message arrives, you have to tell each user’s connection process to send the message over the network. In a tuple space system, each connection process can wait for new messages to be added to the database and send them automatically.