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 is thread-safe but not thread-hot
- Forking Mode - one process per connection
- Most practical mode for UNIX-like systems
- Doesn’t scale to large numbers of connections
- Not available on Windows prior to Perl 5.6.0
- Fork emulation in Perl 5.6.0 not tested with DBI yet
- Single Connection Mode - one one connection supported
- Obviously only of limited use
No round-robin mode available yet