On Sun, 30 Mar 2008 13:26:45 +0200, Gilles Ganault wrote: Thanks for the tip. This code works: It works, but according to 'ab', it's much slower to use APC than hitting the SQLite file directly:-/ # ab -kc 10 -t 30 Percentage of the requests served within a certain time (ms) 50% 105 66% 1054 75% 2066 80% 3089 90% 4347 95% 8136 98% 10140 99% 12148 100% 13115 (longest request) # ab -kc 10 -t 30 Percentage of the requests served within a certain time (ms) 50% 29 66% 30 75% 31 80% 32 90% 2038 95% 6072 98% 14049 99% 17056 100% 17199 (longest request) Does APC start making sense with a lot more users, or is SQLite just much faster than MySQL? Gilles Ganault wrote: On Sun, 30 Mar 2008 13:26:45 +0200, Gilles Ganault wrote: Thanks for the tip. This code works: It works, but according to 'ab', it's much slower to use APC than hitting the SQLite file directly:-/ # ab -kc 10 -t 30 Percentage of the requests served within a certain time (ms) 50% 105 66% 1054 75% 2066 80% 3089 90% 4347 95% 8136 98% 10140 99% 12148 100% 13115 (longest request) # ab -kc 10 -t 30 Percentage of the requests served within a certain time (ms) 50% 29 66% 30 75% 31 80% 32 90% 2038 95% 6072 98% 14049 99% 17056 100% 17199 (longest request) Does APC start making sense with a lot more users, or is SQLite just much faster than MySQL? This is off topic in this newsgroup. Remove the 'x' from my email address Jerry Stuckle JDS Computer Training Corp.
![Zf2 You Cannot Serialize Or Unserialize Pdo Instances Zf2 You Cannot Serialize Or Unserialize Pdo Instances](http://i.stack.imgur.com/mBYxt.png)
If you’re interested in what’s happening: by default PHPUnit tries to keep all global and superglobal variables in your test contained to prevent them spreading into other tests. It does this using serialize() and unserialize(). In the case of the limonade microframework, anything using option.
Hi, I am just trying to use the DbSelect adapter with Zend Paginator which works as expected. But when I want to add Zend Cache to the mix, I get some problems. When I add the serializer plugin I get this error: You cannot serialize or unserialize PDOStatement instances When I remove the serializer plugin I get this error: Error writing file The cache dir is writable but since it is tried to write a PDOStatement to the cache this seems to be impossible. Is this a bug or am I misunderstanding anything? Regards, Ralf - List: Info: Unsubscribe.
It sounds like Zend Paginator is caching parts of the adapter itself (the PDOStatement resource object) - That can't work. Please send the full stacktrace of the exceptions including previous exceptions.
Greetings Marc On 13:04, Ralf Eggert wrote: HiI am just trying to use the DbSelect adapter with Zend Paginator which works as expected. But when I want to add Zend Cache to the mix, I get some problems. When I add the serializer plugin I get this error: You cannot serialize or unserialize PDOStatement instances True, you can't do that;) When I remove the serializer plugin I get this error: Error writing file The cache dir is writable but since it is tried to write a PDOStatement to the cache this seems to be impossible.
I think it's because not string data given to fwrite/fileputcontents. Is this a bug or am I misunderstanding anything? Sounds like a bug of Zend Paginator RegardsRalf - List: Info: Unsubscribe.