Working Without Transactions

Some days ago, I was having a dinner with some important people.
One topic of discussion hitted my head:

eBay doesn’t use transactions, store procedures, etc; the “dirty” job is done by business logic.

I was sure they weren’t wrong, but I hadn’t time to ask reference … to understand why they eBay choose that way.

mmmm let me google … that’s it!

I found a Martin Fowler‘s post about it: Transactionless.

This heavy partitioning, and the database’s central role in performance issues, means that eBay doesn’t use many other database facilities. Referential integrity and sorting are done in application code. There’s hardly any triggers or stored procedures.

Now I understand why eBay did so.

Technorati tags: Database, Performance, Transactions
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: