Async programming is not about speeding up your program, but about avoiding CPU wait times for network requests. The author challenges the necessity of databases in payment systems, proposing event sourcing as a way to eliminate persistent storage when processing payments. By treating changes in state as the priority, event sourcing allows payment systems to react to new data without the need for immediate database storage. Hot backups and multiple systems running off the same event stream provide constant operation in case of system failure. The author draws on insights from various sources, including Martin Fowler and LMAX, to explore the benefits of event-driven architectures in highly transactional operations like high-frequency trading.
https://news.alvaroduran.com/p/nodb-processing-payments-without