i want to ask this question ( as it's so important at least for me ) :
I use a TUniQuery component in my project with a PostgreSQL Database , so let's suppose this : there are 10 users trying to Register or Logging at the same time , will the TUniQuery handle all these 10 simultaneous ( Register or logging ) Requests at the same time ? or what will happen please .
I read about using the Pooling Property , will this property be useful so that the my Query can handle simultaneous Requests or should i consider adding other option .
PS : i'm not using a thread to handle my requests i only use a DataModule and i create a TUniQuery on runtime for each Request .
many thanks
Does TUniQuery support simultaneous Requests
Re: Does TUniQuery support simultaneous Requests
Hello,
To implement such behavior, you should create a separate thread in your server for each new user. In this case, all actions will be performed in separate threads.
To implement such behavior, you should create a separate thread in your server for each new user. In this case, all actions will be performed in separate threads.
Re: Does TUniQuery support simultaneous Requests
Hello AlexP , that means without using a Thread it will be impossible that the TUniQuery can handle SIMULTANEOUS REQUESTS , although i set the Pooling Property to true ?AlexP wrote:Hello,
To implement such behavior, you should create a separate thread in your server for each new user. In this case, all actions will be performed in separate threads.
many thanks again
Re: Does TUniQuery support simultaneous Requests
Pooling allows to save changes in the pool for further their usage and resource saving. For simultaneous query execution, you should implement separate threads for all the connections.