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.
- ๐ฑSpring and Spring BootA restaurant manager who hires the staff and tells each cook who they work with, so cooks just cook.
- ๐Transactions and isolationPaying at a till, where money leaves your purse and enters the till together or not at all.
- ๐Database indexesThe index at the back of a book: look the word up and turn straight to its page.
- ๐Spring transactions (@Transactional)A notary's clerk who opens a contract folder before the work and seals or shreds it at the end.
- ๐Connection poolingA taxi rank outside a station: riders take a waiting taxi, and it comes back to the rank afterwards.
- ๐ฝ๏ธ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.
- ๐งญQuery planning and EXPLAINA sat-nav choosing a route from last week's traffic counts, and going badly wrong when those counts are stale.