Home / Companies / Tinybird / Blog / Post Details
Content Deep Dive

Designing a faster data model to personalize browsing in real time

Blog post from Tinybird

Post Details
Company
Date Published
Author
Jordi Villar
Word Count
1,367
Company Posts That Month
159
Language
English
Hacker News Points
-
Post removed?
No
Summary

The Hotels Network (THN) collaborates with Tinybird to enhance real-time personalization for hotel booking websites by segmenting visitors and processing data through API endpoints. THN faced challenges in optimizing performance due to high read and write demands, making over 120 requests per second. Efforts to improve involved simplifying API endpoints, adjusting data partitioning strategies, and reducing query complexity by minimizing the number of data sources. While some strategies like partitioning by user key initially caused disk throttling, transitioning to a quarterly partition with a time-to-live (TTL) setting helped manage data accumulation. Further optimizations included reducing index granularity and altering join methods, leading to a significant reduction in endpoint response time from 340 ms to 170 ms. Despite these improvements, ongoing performance enhancements are pursued, such as experimenting with compact parts and profiling tools to identify additional areas for refinement, underscoring the importance of understanding how ClickHouse® merges parts for optimal performance.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 3 6,887 1,132 212 +49%
AI Model Fine-tuning 1 697 168 71 +1%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.