Back to problems

Holiday Service Latency Optimization

System Design · Bloomberg · Medium

You are building a holiday information system that provides a single endpoint to client applications: fetchHolidays(countryCode, year). For instance, a call like fetchHolidays("DE", 2025) returns a list of public holidays for Germany in 2025, each formatted with the full date (YYYY/MM/DD). The current architecture is as follows: Client applications never invoke the service directly; they use a C++ adapter (a static or dynamic library) that is linked into each application.…

Checking your access…