8 ms·
I think it should be the job of the application logic to handle replication, validation and recovery of persisted business objects. Deferring this responsibilit
by bob1029 5y ago
I think it should be the job of the application logic to handle replication, validation and recovery of persisted business objects. Deferring this responsibility to some middleware is not something I am a big fan of.
There are powerful arguments for using some off-the-shelf solution, but I also like being able to set breakpoints in the logic that ties all of the computers together.
- MrStonedOne 5y agoThere are things the db side would be better posed to handle and understand wrt replication. Moving it to application code requires a trade off and also everybody copying the same code in all of their applications for no reason other then somebody decided the application should be the one to handle it.
- anticristi 5y agoI can't argue against that iff the team has this capability. Unfortunately, I saw too many teams that end up implementing an informally-specified, bug-ridden, slow implementation of half of PostgreSQL.