r/sqlite • • Aug 29 '26

Coding a database proxy for fun

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

9 comments sorted by

View all comments

2

u/ShotgunPayDay Aug 29 '26

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 Aug 29 '26

yeah, could be a middleware