A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
What's a good external sync, Max? Maybe a database? This seems really clunky:
start transaction
read a row for update
do the synchronized code
update the row
end transaction
Originally posted by George Nan:
How do you synchronize a section of code that can only be run by one thread
on multiple JVMs
Originally posted by Stan James:
What's a good external sync, Max? Maybe a database? This seems really clunky:
start transaction
read a row for update
do the synchronized code
update the row
end transaction
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
I'd probably try a database option if the app already has a transactional database. DB vendors have spent a lot of time working on concurrency and I'm sure they do it better than I do.