plutokid/auction-engine
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
* Intro This was written as a proof of concept for an auction engine. It simulates 10k users clicking on the bid button at once with sequential bids (which would never happen in real life). It was designed to stress test the bottleneck.. the 'is this bid the current highest?' as the calculation has to be performed in serial. All other parts can be performed in parallel so not tested here. Made using Ruby 1.9.1, Sinatra and Redis. * Results On a large instance on EC2 it could get all 10k sequential bids off it's queue in ~4.5secs. Nice!