40 points · by networked · 8y ago · 14 comments
What are the security considerations here? If you have multiple clients, should their topics be isolated? Presumably Alice should not be able to run a DEL command on a topic owned by Bob. Where would you put code for authentication / ACL?
I trust postgres row-level access control a lot more than a php script with dbowner access to the db - so I think this depends a lot on which db, and what "direct access" means...
This means the servers themselves can't even middleman the data.
I built CurioDB a while back with the same idea, but using Akka as the underlying framework. Persistent Redis with distributed transactions, embedded Lua and a websocket front-end:
Interesting thought though - I think more options there will be better in the long run, as long as it a "both" instead of an "either/or".
but all the technologies are used and for a good reason, no "throw technologies, mix it and see what comes out".