4 ms·
If you are interested in highly available systems, I highly recommend the Pragmatic Programmers book "Release It!: Design and Deploy Production-Ready Software".
by cpeterso 11y ago
If you are interested in highly available systems, I highly recommend the Pragmatic Programmers book "Release It!: Design and Deploy Production-Ready Software". The author includes some amusing but educational horror stories, such as debugging deadlocks in Oracle's JDBC drivers when "can't happen" Java exceptions thrown connection close() were silently eaten.
https://pragprog.com/book/mnee/release-it https://pragprog.com/book/mnee/release-it
Another clever tip I read (not from this book) was to use prime numbers for recurring events and retry wait times. The idea was that prime numbers would help avoid unwanted system stampedes or synchronization.
- elwell 11y agoThe article mentions exponential retry periods for that.
- nickpsecurity 11y agoI second that book. The airline story was particularly shocking and illustrated well the need for its techniques.