question: Write go to Master origin ?
Closed this issue · 4 comments
gedw99 commented
hey @benbjohnson
I need to set this up with Pocketable, and wanted to know the sure fire way to do this on a globally replicated fly setup.
Does this fly config make it so that writes go to Master ( origin DC as some would call it ), and reads go to Secondaries ?
Because of the Anycast fly system, a user will go to nearest DC, so on a http write, its hitting the Secondary DC ( closest to Usr ) and then under the hood the DB write is hitting Master DC Sqlite DB ?
gedw99 commented
Also if there is a better example, please let me know, as this looks a bit old :)
benbjohnson commented
gedw99 commented
Thanks . This repo is basically legacy ..
Will test on litefs ..
benbjohnson commented
I'll mark this repo as archived.