#2097 SQL Connection Pooling

katox Fri 8 Feb 2013

For those who still need old fashioned relational databases there is a small project that enables standard connection pooling for Fantom projects. Fantom sql pod has a neat conscious interface but it uses one connection per request which can be slow.

The new pod is called cpool and it uses the same interface plus a service that you can ask for new connections. The code should be stable because it's really a thin wrapper around an existing java connection pool.

Note that the codebase requires an upcoming Fantom release 1.0.65 (or you can use hg tip, of course). You also have to put some jar files into lib/ext - see docs.

The project is hosted on github: https://github.com/leafclick/cpool

Login or Signup to reply.