I see more and more projects proposing to put the business logic in the database (like postgrest, pgrest etc..). In theory, I understand the advantages of this approach but in practice I am not sure of the real gains.
Nowadays on of the most expensive resource (cloud provided by AWS, GCP etc..) is the database service. Adding the management of roles (RLS), functions (signup, signin etc...), views, is accept to move part of the load to a single point which is not the least expensive and critical.
Am I wrong to think that?
Aucun commentaire:
Enregistrer un commentaire