Grokking the Forward Deployed Engineer Interview
Vote

0% completed

​

Exercise A Sync Job That Loses Updates

rows = [r for r in self.rows.values() if r.updated_at > watermark]

That line passed every test its author wrote, and it still loses about 3 routing decisions a day out of 1,200.

Customer service reads each claim's queue from the insurer's claims system, so a small job copies every new or changed decision to the claims system every 5 minutes. A program that keeps a copy of data in a second system equal to the first is called a sync job. This exercise gives you that job with two defects.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content