Database Reference
In-Depth Information
Problem Statement - 4
Since the company X was developing real-time bidding infrastructure, it needed to sync the
data of each user across multiple regions, with hundreds of millions of users and tens of
thousands of writes per second. The company's bidding system has a hard cap of 100 milli-
seconds for every bid request, so the company needs strong assurances on the read per-
formance.
Solution
After evaluating multiple substitutes, the company decided on DynamoDB for its low
latency, guaranteed throughput, and ability to scale quickly across multiple regions. So
their database tables were designed to use the cookie as the hash key and profile ID as the
range key with timestamp as the attribute, as given in the following table:
Right now, the company has created the DynamoDB client and they are just writing to it,
measuring the write throughput and read throughput and getting the benefits without hav-
ing to dive into the details. By using Amazon DynamoDB in conjunction with Apache
Storm, the company is replicating their important data set across the globe within 50 milli-
seconds for high availability, providing speedy response times for both bidding and serving
up ads to customers—while keeping costs low, with low latency and higher throughput.
Let's discuss another case study in which the company has created a mobile communica-
tions application that brings a walkie-talkie functionality to iOS and Android devices. With
that application customers can make real-time, push-to-talk calls with one person or a
group of people at the same time, regardless of the distance.
Search WWH ::




Custom Search