You are here: Re: A Question of design. « PHP Programming Language « IT news, forums, messages
Re: A Question of design.

Posted by Daz on 10/24/06 19:47

Chung Leong wrote:
> I'm afraid the OP is still thinking in terms of loading up an array
> with existing records to see which not to insert. Sometimes you can get
> away with having a race, but inserting hundreds of records is a long
> operation. There is a reasonable chance that a second select could come
> along and beat it.

I disagree. There is an extremely small chance of having a race
condition, as users can only update their own data, no one elses.
Unless a user is logged on twice, a race condition should never occur.
Even if they did log in twice, they'd have a very narrow window within
which to create the race condition. If they did, they would have to
deal with having duplicated books. Hehe.

Many thanks.

Daz.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация