[nycphp-talk] mysql slow Internet connection trickery
Allen Shaw
ashaw at polymerdb.org
Mon Jun 30 12:06:36 EDT 2008
Patrick May wrote:
> I would point out that:
>
> 1. Transactions will not be useful if you cannot connect to the database
> 2. Google Gears and Prism seem to focus first on bridging the web /
> application space for a single user, rather than dealing with
> multi-way synchronization
>
> Source code control systems are explicitly designed to manage the
> process of synchronizing local state with a repository in a controlled
> fashion. Ultimately, if there is a conflict it's not just up to your
> application to resolve, but also your users.
>
> How do you prevent a room from being double booked? You can look at
> booking patterns and develop an algorithm can be developed that
> minimizes collisions. But who gets a room if it is double booked?
> That's probably a phone call or a conversation between employees.
Hi Patrick,
Yes, you've summarized it perfectly. I was already thinking of version
control systems as a similar situation: the conflicts have to be
resolved by a human being who's aware of the real world situation. The
app just can't know which commit to take.
Thought it wouldn't hurt to ask for a magic bullet, but you're stating
what I figured already: this is application-specific and it's up to me
to program the collision detection and resolution methods.
Thanks,
Allen
--
Allen Shaw
slidePresenter (http://slides.sourceforge.net)
More information about the talk
mailing list