Skip to main content
All Questions

Raise an alert when migrated data lags by more than k seconds.

Unlock detailed company stats for this questionUpgrade

You are migrating data from a DB to another datastore. The max acceptable lag during this process is k seconds. If data from the primary store has not appeared in the secondary datastore after k seconds, an alert should be raised by the verifier process. An event is generated every time a piece of data flows from the primary DB, and another event is generated once it reaches the secondary DB.

Format · Real-world problem statement round for a data migration team.

Community answers

No answers contributed by the community yet.

Related courses

Course

Software Engineering Interview Prep

Land your dream software engineering role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates—practice data structures, algorithms, system design, people management, behavioral interviews, and more.

Course

System Design Interviews

Learn how to answer the latest system design questions across product, infrastructure, and AI domains. Features in-depth video examples, written breakdowns, and helpful reference patterns. Watch senior engineers and managers answer these questions in mock interview videos.