[Python-ideas] Optimistic Concurrency

Leif Walsh leif.walsh at gmail.com
Mon Oct 20 16:00:57 CEST 2008


On Sun, Oct 19, 2008 at 10:05 PM,  <skip at pobox.com> wrote:
> I'm curious about the assertion of "possibly high collision rate".  Do you
> have measurements to support that?

Nope. :-)

> If the collision rate is high enough
> you'd be replaying operations all the time.  OTOH, if the actual collision
> rate is quite low the replay operation, even if it is onerous, can be
> tolerated.

This is why I suggested that there should be some kind of mode switch
available, so I can decide when it's worth it to switch.

> Someone else mentioned the problem with side effects in
> non-functional languages.  That would indeed seem to be a problem with C
> (the level I see this operating at.)  I have no desire to add further load
> to the Python programmer.  Programming with multiple threads is already hard
> enough.

Yeah, side-effects make this nasty.

-- 
Cheers,
Leif



More information about the Python-ideas mailing list