Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33369 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71030 invoked by uid 1010); 21 Nov 2007 16:33:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71014 invoked from network); 21 Nov 2007 16:33:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2007 16:33:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.170.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 64.233.170.191 rn-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.170.191] ([64.233.170.191:13582] helo=rn-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/DE-07490-8CD54474 for ; Wed, 21 Nov 2007 11:33:13 -0500 Received: by rn-out-0102.google.com with SMTP id s28so668214rnb for ; Wed, 21 Nov 2007 08:33:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TlFBZHOXL8zGQsUacbemTwbD1HtqszX79bBXQlrwqA0=; b=P8oNXH4hxUeoKeXneUnlekfMChx8A6PEC4m4gZCgSUuG66Hb7iteW4TSkkg7qEfgcF3JG4PuGVJTuq2u3PtQEeNVIKIukOBvJyw9kxAccDWfGnlzmLzFgzbxEuz0ynCd7H0yEfD0NPJVQ5WXWJFc7LHkSJuCTdt0MppaeNKnudo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eUf9YyCv4l/uZFTZvh6BZKsWCyrA96UNXdh8Tm9uooYVkWmoZ1HWlHsJMeGSrOBF3TQBz5mL/VyvAuUP3lbDkP2+GOXoADdElVb6F5qYE36c1LGGFnOr5osmzFgZRDtw9DqOA/Qywcf3hrNMbiiTmaGJwjRsZIsAhlMtIKGUJ4Y= Received: by 10.150.182.17 with SMTP id e17mr832743ybf.1195662789742; Wed, 21 Nov 2007 08:33:09 -0800 (PST) Received: by 10.150.52.9 with HTTP; Wed, 21 Nov 2007 08:33:09 -0800 (PST) Message-ID: Date: Wed, 21 Nov 2007 19:33:09 +0300 To: "Nuno Lopes" Cc: internals@lists.php.net In-Reply-To: <7ca798440711210726v14f5e8b0mc8adccde33df40b7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7ca798440711210726v14f5e8b0mc8adccde33df40b7@mail.gmail.com> Subject: Re: [PHP-DEV] web applications architectures comparison From: indeyets@gmail.com ("Alexey Zakhlestin") I think a good example of php-technology would be symfony project + caching in memcached it can be made to work really fast On 11/21/07, Nuno Lopes wrote: > Hi, > > I was assigned a class work in the university to compare web > applications architectures, mainly PHP vs > Java+Hibernate+Struts/Stripes. I'll need to provide some benchmarks > for some typical web apps. > > Well, I'm a bit afraid that Java may win, because of the usage of > Hibernate, which caches sql stuff in memory. The first request is > usually very slow (10 seconds or more), but following requests are > much faster. > > So, do you have any suggestions for which PHP application architecture > should I discuss? Like a standard pdo-based app, with files being > generated and stored on the server, possibly bypassing php completly > on the following request (like livedocs). Use a particular PHP > framework (cake, zend, ...)? Any useful case-studies that you may have > are also welcome. > > (Although I participate in the PHP development for a few years, the > websites I run have at most 1.5 million page views per month, so > performance isn't an issue, hence my lack of experience in scaling PHP > apps..) > > > Thanks, > Nuno > > P.S.: Sorry for the off-topic, but I didn't find a better place to ask this. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexey Zakhlestin http://blog.milkfarmsoft.com/