Re: DB_DataObject performance

From: Date: Fri, 28 Oct 2005 21:11:18 +0000
Subject: Re: DB_DataObject performance
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21682@lists.php.net to get a copy of this message
Olivier Guilyardi wrote:
Hi, I've had successful experiences using DB_DataObject on corporate intranets, with a few dozens of users. But I'm currently working on a website which may soon receive about 30000 hits a day (latest evaluation). Have any of you already used DB_DataObject on high traffic websites ? Is there any serious CPU and Memory usage benchmarks out there ? Here's the implementation choice I'm facing : - either use DB_DataObject which relies on DB, DB_Result, etc... - or code my own dataobjects which simply encapsulate mysql_* calls Wether I choose the first or second option, I'll stick with the "dataobject design pattern" as a way to encapsulate the sql code and other smart behaviours. -- og I would take one of your current intranet sites and run apache benchmark against it.
http://httpd.apache.org/docs/2.0/programs/ab.html Run say 10 concurrent requests or so and make sure you're not hitting any errors, and the memory usage looks ok. -josh

« previous php.pear.general (#21682) next »