3 ms·
should not your business login be in the database where it will runfaster as SPROCS
by walshemj 9y ago
should not your business login be in the database where it will runfaster as SPROCS
- ruslan_talpa 9y agoUsually people say the opposite, logic in db does not scale, though i don't know what scale are they talking about when modern databases (PostgreSQL/MySQL), on a single decent box can handle 1M+ TPS (and that is before using replicas to scale reads). As to your comment, nothing is black and white, but if the logic operates strictly on the data (not interfacing with 3rd party systems), having it in the db imo is better/less complex.
- TomMarius 9y agoThey often mean "badly written logic in badly configured MySQL". Logic in DB(2) literally powers our world.