Today I read a nice article , which give a new design for mysql
database . In this article , Author (Mr.lou) uses OneSQL (a
branch of MySQL) for the whole test.
you can read from : http://www.onexsoft.com/?page_id=378
This article explain how to use mysql in seckilling scenario
(especially for E-Commerce commany )
If you want to use transaction in RDBMS database, you must manual
start transaction and commit in the end of your operation.
So,commit will be cost of the total process, round-trip cost will
be the most important cost as author said
(For simple update operations, without regard to conflict of IO
and locks, a statement execution time is about 0.1ms, network
delay under normal conditions is 0.4-0.8ms, that the waiting time
is longer than the transaction commit time to really notice the
SQL execution several times, showing that the …
[Read more]