3 ms·
I think it could be done better by marking requests as either queries or mutations like GraphQL does, then you can just check which it is and forward accordingl
by atom_arranger 5y ago
I think it could be done better by marking requests as either queries or mutations like GraphQL does, then you can just check which it is and forward accordingly.
Although even with REST you should be able to do the same thing, assume GETS can go to the read replicas, should work if you aren’t doing anything weird.