5 ms·
I work on a bog standard ERP that was originally CRUD, but a whole module was refactored to event sourcing so clients could have a log and rollback. A couple o
by blowski 5y ago
I work on a bog standard ERP that was originally CRUD, but a whole module was refactored to event sourcing so clients could have a log and rollback.
A couple of months back, a QA review reported a bug - the log system didn’t work. Turns out it’s never worked. Nobody has ever done a rollback either.
- classabove 5y agothis is absolutely terrifying
- fullstackchris 5y agonot if nobody uses it ¯\_(ツ)_/¯
- square_usual 5y agoOh yeah, I've run into similar situations so many times. A critical piece of functionality was overnegineered and shipped, only months later did we find out that it never worked, and nobody found out because nobody used it.
- shironandon 5y agoWas working on a client's stack and this one critical piece using ES (written by "experts" who had since left the company) was throwing an error every week at 2 AM triggering alerts and chaos. After investigation I found nobody understood what it was doing or why. I thereby found the safest approach was to delete the ES implementation. After that everything worked and everyone was happy.
- dm3 5y agoI understand this thread is about dumping on ES... However, I must notice in your case it was an audit log. An ES system wouldn't work at all without access to events.
- blowski 5y agoYeah, the ES side of the system worked but was completely unnecessary. So loads of extra complexity, with no value for the business.
- kephasp 5y agoIf the ES is "unnecessary", then it's not ES by definition. If events are not your source of truth, it's not event sourcing, just event logging.