… | |
… | |
32 | separate "DBI-Server" processes and sending them requests. |
32 | separate "DBI-Server" processes and sending them requests. |
33 | |
33 | |
34 | It means that you can run DBI requests in parallel to other tasks. |
34 | It means that you can run DBI requests in parallel to other tasks. |
35 | |
35 | |
36 | The overhead for very simple statements ("select 0") is somewhere |
36 | The overhead for very simple statements ("select 0") is somewhere |
37 | around 120% to 200% (single/dual core CPU) compared to an explicit |
37 | around 120% to 200% (dual/single core CPU) compared to an explicit |
38 | prepare_cached/execute/fetchrow_arrayref/finish combination. |
38 | prepare_cached/execute/fetchrow_arrayref/finish combination. |
39 | |
39 | |
40 | =cut |
40 | =cut |
41 | |
41 | |
42 | package AnyEvent::DBI; |
42 | package AnyEvent::DBI; |