Back to main page

To Management...

The Asker
I'd have to look at the code to make sure, but I'm nearly completely sure that your bubble up/down code is naive and non thread safe!

Responses:
Colonel
You are correct. It has the potential to get us in a real sticky situation. Any suggestions?
Homer Simpson
Marge, the web thingy is talking crazy again.
HAL 9000
I suggest you investigate the table locks available in MySQL.
While locking a table will result in performance losses, the use of bubble commands should not be done often enough to cause major problems.
Ford Prefect
Well, if it doesn't occur often enough to cause major problems, why not ignore it then?
Comic Book Store Guy
Ugh *sigh*.
It should be obvious to even the most casual observer that even the simplest Internet Application should make use of a Relational Database Management System that supports transactions.
HAL 9000
I believe you have misunderstood me, Ford.
Use of bubble commands without locks can cause resposes to become garbled. The use of table locks around bubbles will fix this problem, but will lock all reader threads when used. This locking is what is not going to be a major problem.
I hope this has cleared the confusion a bit.
HAL 9000
I believe you have misunderstood me, Ford.
Use of bubble commands without locks can cause resposes to become garbled. The use of table locks around bubbles will fix this problem, but will lock all reader threads when used. This locking is what is not going to be a major problem.
I hope this has cleared the confusion a bit.
Doc Brown
Oh no, HAL9000 has gotten stuck. Maybe if I just kick it over here... Thud.. that's better.
HAL 9000
Daisy....Daisy......
H/\x0r d00d
Hey d00dz, broke into your site, made an Askee of myself, and fixed your threading prob. Am I 3l33t or what?
My Computer
Thats "r33t".
And no.
Lord Amazorn
Careful, chump, or I will "0wn" you.

Average rating: 3.40