Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a globally distributed auction application, what is the most efficient method to collate bid events from multiple application servers in real-time to determine the first bidder?
A
Set up a MySQL database for each application server to write bid events to, and periodically query each database to update a master MySQL database with the events.
B
Have each application server write bid events to Google Cloud Pub/Sub, and use a pull subscription with Google Cloud Dataflow to pull and process the events, giving the bid to the first user processed
C
Create a shared file and have application servers write bid events to it, then use Apache Hadoop to process the file and identify the first bidder
D
Have each application server write bid events to Cloud Pub/Sub, and push them to a custom endpoint that writes the events to Cloud SQL for real-time collation