On 6/7/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:

Em Quarta 07 Junho 2006 16:12, Jorge Vargas escreveu:
>
> The database part will be sync, since all users use the same connection.
> and unless I'm mistaken you can't send 2 requests at the same time.

That's not true.  You can have a connection pool with, e.g., 10 or 15
connections.  So you can have 10 or 15 operations simultaneously happening on
the database.

I'mm sorry I was refering to connection pool, yes you can have simultaneous things but both the db and the pool will not let the data get corrupt, at least it has never happen to me.

Having a serialized series of operations would be a very poor thing
performance-wise.

> each TG-db interaction is wrap inside a transaction so this wont be a
> problem.

It depends on the operation and the application of the data.

 oh I though the implicit transaction was everywhere

--
Jorge Godoy      <[EMAIL PROTECTED] >



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to