The practical realities
Modes of operation
- Multi-threaded Mode - one thread per connection
- DBI supports threads in perl 5.6 but recent 5.8.x recommended
- Threads are still not recommended for production use with the DBI
- Forking Mode - one process per connection
- Most practical mode for UNIX-like systems
- Doesn’t scale well to large numbers of connections
- For is emulated on windows using threads - so see above.
- Single Connection Mode - only one connection per proxy server process
- Would need to start many processes to allow many connections
- Mainly for testing
-
-