Subject | Multi - Threading or not? |
---|---|
Author | Calin Pirtea(RDS) |
Post date | 2004-04-09T02:20:52Z |
I'll try explain what I want to do.
I have a query that displays 10 rows in a grid.
Lets say the table it select from has 1000 records.
When I navigate the grid IBO fetches rows in the buffer as needed for
displaying purposes.
My question is:
Does all this under the hood buffer management happen in the same thread as
the main application?
Or does it happen in a thread for the IB_Connection?
My problem is that I need to de-serialize the fetch requests to the server
in order to make multiple requests at the same time, similar to having
multiple clients.
If I use multiple connections will the fetch requests be asynchronous?
Or IBO will do them one by one in a single thread?
In other words will I have to create multiple threads by myself or is it
enough to have multiple connections?
Calin Pirtea.
Medisys Australia Pty Ltd.
www.medisys.com.au
I have a query that displays 10 rows in a grid.
Lets say the table it select from has 1000 records.
When I navigate the grid IBO fetches rows in the buffer as needed for
displaying purposes.
My question is:
Does all this under the hood buffer management happen in the same thread as
the main application?
Or does it happen in a thread for the IB_Connection?
My problem is that I need to de-serialize the fetch requests to the server
in order to make multiple requests at the same time, similar to having
multiple clients.
If I use multiple connections will the fetch requests be asynchronous?
Or IBO will do them one by one in a single thread?
In other words will I have to create multiple threads by myself or is it
enough to have multiple connections?
Calin Pirtea.
Medisys Australia Pty Ltd.
www.medisys.com.au