Optimizing Web Request Performance Using Req and Finch

198
clicks
Optimizing Web Request Performance Using Req and Finch

Source: youtube.com

Type: Video

Christian Koch discusses the journey Cars.com took to enhance their web request performance. Initially utilizing HTTPoison, they encountered issues with long timeouts, resource blocking, and a lack of proper fallbacks when facing uncertainty during data gathering from various servers. They decided to switch to Req as a default library and incorporated Finch to optimize their system further. This shift was not merely a change in tools, but a strategic move that involved rethinking their approach to performance and resource utilization. Throughout the talk, Christian emphasizes the importance of setting proper defaults, implementing a circuit breaker for load shedding, and the immense value of telemetry in monitoring system performance. After experimentation and discarding some approaches, they arrived at a solution that fits their use cases. By embedding these practices into their ecosystem, they reduced request times, particularly affecting the long tail of their request distributions, thus improving user experience on Cars.com.

© HashMerge 2024