| ▲ | cbondurant 10 hours ago | |||||||||||||
Admittedly, I try and stay away from database design whenever possible at work. (Everything database is legacy for us) But the way the term is being used here kinda makes me wonder, do modern sql databases have enough security features and permissions management systems in place that you could just directly expose your database to the world with a "guest" user that can only make incredibly specific queries? Cut out the middle man, directly serve the query response to the package manager client. (I do immediately see issues stemming from the fact that you cant leverage features like edge caching this way, but I'm not really asking if its a good solution, im more asking if its possible at all) | ||||||||||||||
| ▲ | bob1029 10 hours ago | parent | next [-] | |||||||||||||
There are still no realistic ways to expose a hosted SQL solution to the public without really unhappy things occurring. It doesn't matter which vendor you pick. Anything where you are opening a TCP connection to a hosted SQL server is a non-starter. You could hypothetically have so many read replicas that no one could blow anyone else up, but this would get to be very expensive at scale. Something involving SQLite is probably the most viable option. | ||||||||||||||
| ||||||||||||||
| ▲ | zX41ZdbW 9 hours ago | parent | prev | next [-] | |||||||||||||
ClickHouse can do it. Examples: | ||||||||||||||
| ||||||||||||||
| ▲ | brendoncarroll 10 hours ago | parent | prev | next [-] | |||||||||||||
I personally think that this is the future, especially since such an architecture allows for E2E encryption of the entire database. The protocol should just be a transaction layer for coordinating changes of opaque blobs. All of the complexity lives on the client. That makes a lot of sense for a package manager because it's something lots of people want to run, but no one really wants to host. | ||||||||||||||
| ▲ | mirekrusin 10 hours ago | parent | prev [-] | |||||||||||||
You can use fossil [0] | ||||||||||||||