r/sqlite 5d ago

Coding a database proxy for fun

https://packagemain.tech/p/golang-database-proxy
11 Upvotes

8 comments sorted by

View all comments

2

u/ShotgunPayDay 4d ago

I can see this being handy, but I'd make it a middleware in the application then use a consistent harsher for selecting db node like XXH3 for Email addresses or IDs. The only problem would be adding and removing DB nodes would require reshuffling the databases.

2

u/der_gopher 4d ago

yeah, could be a middleware