#Possible to split next js into split locations?
31 messages · Page 1 of 1 (latest)
multi zones most likely
basically a replica in a different region
automatically georouted
This?
likely yes - is that a next instance you are running or something else entierly?
the main issue is i feel like there would be ISR problems
Not Next, but still something Node-based
Deploying a service in multiple regions does mean that multiple (metal) servers are used
So the state of an service is never (automatically) synchronized
I don't see how ISR would be a problem (as long as you configure it correctly)
it would need a shared cache/pub-sub so both regions see updates at the same time.
but i guess thats pretty minor
you reckon if i deploy a replica now I would get around the EU west outage right now?
iirc railway doesn't automatically reroute to a region that is up
so if you have a service deployed in the eu, it will still be routed there for eu users
even if the edge is down?
seems a bit silly
Room for improvement but that's how it is right now
if i network through cloudflare you think it would route it based on whats not timeing out?
Might be possible, unsure as I don't know what Cloudflare offers for that stuff
thanks for the help imma test it
you work with railway? would be a good suggestion to have this
I still don't understand why you'd need to do this, unlikely that you have to
I don't — #1157406325593096264
when one region regenerates a page, others don’t magically know about it, so caches diverge
That's why revalidate exists? It'll diverge but not for long
^
Shouldn't be anything to worry abt