Obviously, they need to mark this as closing as soon as the auction ends.
Yes, but not necessarily in real time.
How does it work in sql 2005?
Not at all. A database is a database. To calculate the price / auction in real time, you must use the program. Basically, upgrade the database, but don't run the logic from the database.
Do they ask every second to find expired auctions?
One of the methods. Another is a list of lists sorted by expiration in memory, and just check where they expire.
In no case do they create sql jobs for each individual auction, or are they?
Probably not.
What I would do is keep the list of auctions in mind. Scalability with X auctions per server.
source
share