From the course: Designing Highly Scalable and Highly Available SQL Databases
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Message queues to buffer ingested data
From the course: Designing Highly Scalable and Highly Available SQL Databases
Message queues to buffer ingested data
- [Instructor] Now, sometimes we need to use message queues when we're working with highly scalable and highly available services, and particularly database applications. The reason we often decouple services when we're in a distributed environment, it is because the services may function and ingest data and process data at different rates. So here's a really trivial example where we have two services. Service one generate some data or produces some data, which is then consumed by service two. Now, this may not be a problem at all if service one and service to basically generate and consume at the same rates, but service one may ingest or process data faster than service two can actually handle it, and that's why we need to buffer. So when we buffer, we use message queues. Now, typically message queues, first of all, are highly scalable, so that's a key thing for enabling highly scalable databases. And they're able to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Human-scale and machine-scale data6m 13s
-
(Locked)
Different data ingestion strategies5m 6s
-
(Locked)
Designing scalable user interfaces6m 45s
-
(Locked)
Message queues to buffer ingested data4m 10s
-
(Locked)
Data modeling for scale: Event sourcing5m 17s
-
(Locked)
Distributing workload: Command Query Response Separation (CQSR)4m 26s
-
(Locked)
Challenge: Services and APIs for a scable user interface46s
-
(Locked)
Solution: Services and APIs for a scable user interface1m 10s
-
-
-