7. Reasonable Becomes Unreasonable
86 Million is a Magic Number
I want to process all reviews every
day.
I want to make 1,000 requests per
second to your service, every
second, forever.
8. Potential Solutions?
What if we implement a raw bulk-data
API? We could pass it arbitrary SQL to
generalize it.
What if we take DB snapshots and pass
them around?
Flags Prefs Category
33939 533248 37
19. How We Use It
CORE
SCHEMA STORE
Application
Event Logs
MySQL
Code / Stream
Processor
Amazon
Redshift
S3
Application
Event Logs
MySQL
Code / Stream
Processor
20. How We Use It
Processing Business Changes
Amazon
Redshift
S3 Elasticsearch Code
MySQL
Stream
Processor
21. Envelopes are Powerful
What we learned?
Envelope Contains: uuid, timestamp, schema_id, payload,
previous_payload and meta attributes (tuples of
schema_id & payload)
Message = magic byte + encoded bytes