BugOfTheDay: The slow room search

from blog Just Some Code, | ↗ original
Another day at work! This time, the room search was running slow. For one of the big hotels, searching all available rooms in a week took about 15 seconds. This is how I optimized the room search functionality. This room search was a public page to book a room into a hotel without using any external booking system. This page was like a custom...