Subject | Re: [Firebird-Architect] Re: Multithreading |
---|---|
Author | Jim Starkey |
Post date | 2004-10-15T11:24:04Z |
marius popa wrote:
remote interface is restricted by the wire protocol to a single active
thread per attachment (parallel threads automatically block until
serviced). We are considering allowing multiple threads per
transaction, but I think we won't on the basis that this usage would be
rarely used, and on aggregate isn't worth the cost of the necessary locks.
>On Fri, 08 Oct 2004 09:09:50 -0000, Roman Rokytskyy <rrokytskyy@...> wrote:The Vulcan engine supports multiple threads per attachment, though the
>
>
>>
>>
>>>To fix this would mean much more troubles
>>>compared to keeping a thread-per-connection-at-a-time principle.
>>>
>>>
>>Just to make it clear: you can access a connection from multiple
>>threads, but not simultaneously. When one thread works, other should
>>wait.
>>
>>
>>
>
>I think this should be added to the faq :)
>
>
>
remote interface is restricted by the wire protocol to a single active
thread per attachment (parallel threads automatically block until
serviced). We are considering allowing multiple threads per
transaction, but I think we won't on the basis that this usage would be
rarely used, and on aggregate isn't worth the cost of the necessary locks.