All learning paths ยท 7 concepts ยท 98 min

๐Ÿ—ƒ๏ธ Spring and databases

A shopping trip, a book index, a notary's folders, a taxi rank, a waiter's trips and a sat-nav.

โ–ถ Start with Spring and Spring Boot
  1. ๐ŸŒฑSpring and Spring BootA restaurant manager who hires the staff and tells each cook who they work with, so cooks just cook.
  2. ๐Ÿ›’Transactions and isolationPaying at a till, where money leaves your purse and enters the till together or not at all.
  3. ๐Ÿ“‘Database indexesThe index at the back of a book: look the word up and turn straight to its page.
  4. ๐Ÿ“Spring transactions (@Transactional)A notary's clerk who opens a contract folder before the work and seals or shreds it at the end.
  5. ๐Ÿš•Connection poolingA taxi rank outside a station: riders take a waiting taxi, and it comes back to the rank afterwards.
  6. ๐Ÿฝ๏ธThe N+1 query problem (JPA and Hibernate)A waiter who walks back to the kitchen once per diner for each side dish, instead of carrying one tray.
  7. ๐ŸงญQuery planning and EXPLAINA sat-nav choosing a route from last week's traffic counts, and going badly wrong when those counts are stale.