Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

HOW BOOKING.COM SCALED THEIR CUSTOMER REVIEW SYSTEM

Booking.com scaled its customer review system by sharding reviews across multiple servers using the internal ID of accommodations as the partition key. When it needed to add more machines to the cluster due to increased traffic, it used the Jump Hash Sharding algorithm to minimize the amount of data that needed to be rearranged. This algorithm guaranteed monotonicity, meaning that data was only transferred from old shards to new shards during resharding, avoiding unnecessary data movement.

IT'S ABOUT TIME I TRIED TO EXPLAIN WHAT PROGRESSIVE ENHANCEMENT ACTUALLY IS

Progressive enhancement is a design and development principle where a website is built in layers, starting with a solid baseline experience for all users and progressively adding enhancements based on browser capabilities. This approach prioritizes functionality and accessibility for all users, regardless of their device or browser, and uses JavaScript as an enhancement rather than a requirement. This is the opposite of graceful degradation, where a "perfect" experience is designed and then broken down for less capable browsers, potentially resulting in a broken user interface.

TLDR IndexPage 4