API connection pool

We have implemneted API, using HTTP, Datasnap, REST, JSON, Firebird, FireDac, Aurelius. We have been some scalability problems,
i believe that's because for each call to api, a new database connection is created. For now we just have 300 databases created,
this number tends to grow. I'm trying to implement a Connection Pool, i have been reading some docs including on TMS site, but i
think is related with XData. Wagner can you give some clue? some direction? reading material?
All help is welcome, thanks

Yes, Sparkle and XData provides a built-in connection pool you could use, but since you are using Datasnap, you should implement the connection pool yourself.

I believe FireDAC already implements a connection pool mechanism: FireDAC.Pooling Sample - RAD Studio Code Examples