Email or username:

Password:

Forgot your password?
Eugen Rochko

So I'm just wondering... With static assets like images, adding an edge CDN is relatively simple. But with anything dynamic like API responses, not so much. There must be ways of dealing with that. Because, let's say my servers are in Germany, and you are in Australia. Any API response for you takes up to 800ms longer than for me.

#devops

No comments
Eugen Rochko

My guess is that you would basically run a copy of your entire stack in different regions, from load balancer to database, but the databases would be set to replicate the master, and any writes would still go to the master. So information would *arrive* with a 800ms delay but the users wouldn't feel it most of the time.

Also GeoDNS.

Olie

@Gargron Use federation. Create multiple instances. de.mastodon.social, au.mastodon.social (or whatever). Nobody loses contact with anyone!

Go Up