PreviousUpNext
I Can’t Wait Well You Shouldn’t Have To
You’re waiting for another team to load the database
This problem derives from recent consulting work. It has been changed to protect the innocent.
Problem: Database synchronization takes about 10 hours.
A Few facts
- Currently convert roughly 2 records per second
- As written, running tests requires another team to load records in to an external database.
- Think wait-time is roughly 300 – 400 ms per record (reading and writing)
Final Results: 15 threads, 28 minutes…
Here’s the code as written (not test first)
Create a Fake Vendor Synchronization Service
First the test:
Create a Fake Vendor Synchronization Service
Next, the fake:
Next, express how fast is fast enough
As a bonus, this validates MT logic as well…
PreviousUpNext
Comments