Relative Content

Tag Archive for prismaamazon-aurora

Using @prisma/extension-read-replica is there a way to redirect queries to writer instance if reader fails? this doesn’t seems to default behaviour

I have an aws aurora postgres RDS having reader and writer instance, I connected it with my next.js application using prisma, and I setup the reader replica as mentioned in this doc, but this doc seems to be so limited with not much details. So I wanted to know if somehow my read replica goes down, will the read write both traffic be served by my writer instance? If not is there a way to achieve this behaviour?