|
Posted by Michael Fesser on 07/25/07 17:52
..oO(Webrickco)
>On Jul 25, 3:46 pm, Rik <luiheidsgoe...@hotmail.com> wrote:
>
>This is a simple technical solution, that certainly would work for
>most of the sites. What are the odds 2 different users open the page
>at the exact same time? and if so, what would be the result? Miss one
>count! In professional IT, you have to measure the odds against the
>cost. Not everything is implementable regarding the costs. Consider
>this a will-serve-in-most-case solution.
The point is to understand what a race condition is, where it can happen
and how to avoid it. This is important, especially in a shared environ-
ment. In this particular case it's most likely just a little annoyance
if it goes wrong. But in other cases a race condition might crash your
application or even corrupt your data.
So it's not about will-serve-in-most-cases, but about proper coding in
general.
Just my 2 cents
Micha
Navigation:
[Reply to this message]
|