The practical realities
Modes of operation
- Multi-threaded Mode - one thread per connection
- Not safe for production use with perl 5.5 threads, untested with 5.6 iThreads
- DBI 1.30 now has iThreads support and should work once drivers are updated
- Forking Mode - one process per connection
- Most practical mode for UNIX-like systems
- Doesn’t scale well to large numbers of connections
- Not available on Windows prior to Perl 5.6.0
- Fork emulation on Windows in Perl 5.6.0 not tested with DBI, 5.8.0 will be better
- Single Connection Mode - only one connection per proxy server process
- Would need to start many processes to allow many connections
No round-robin mode available yet