RO:Delphi TROPooledClassFactory feature request

Hello,
I use TROPooledClassFactory with pbWait to throttle access to some resources on my server. I’m finding some performance issues if the resource is under steady but high usage.

The reason for this is that the class just issues a sleep() command to clients that are having to wait for resources. Quite a lot of clients end up waiting for up to 90 seconds because they were simply unlucky enough to have fresh requests come in and get one of the pooled resources before them.

The feature request I would like to make is for a pooled class which uses a FIFO list to queue requests. Preferably with no sleep() command issued. This would allow the class to deliver much higher throughput and to serve each request in a more timely fashion.

Regards,
Will.

You can create own classfactory with custom logic similar to TROPooledClassFactory and use it for your services.