3 ms·
Yes, this! The ancient wisdom which advocated for stored procedures, which modern developers find distasteful, were really advocating for microservices close t
by degamad 7d ago
Yes, this!
The ancient wisdom which advocated for stored procedures, which modern developers find distasteful, were really advocating for microservices close to your data, which encapsulated security, business logic, and data persistence so that multiple consumers could share the same data without repeating the logic and code.
The fact that some people write those microservices in PL/SQL and some in JavaScript doesn't change the relevance of the encapsulation.
- jeremyjh 7d agoBut PL/SQL is a horrifying language. You have barely any facilities for modularity, encapsulation or composition. Every procedure is just one name in a huge flat name space. Development tools are primitive. The language is absurdly verbose - it was state of the art in the 1970s when COBOL reigned supreme.
- est 7d agoThis is an implementation problem, you can introduce a JIT'd language plus some "container" with "versioned deployments" in modern DB clusters.