Re: [Resin-interest] resin speed

2006-11-28 Thread Eric J. Bowman
>
>I can't comment if there is a performance difference between the open 
>source version and professional version.  If there is a difference, I 
>doubt you would see it in testing.  Maybe someone else can comment on this.
>

It depends on how your app is structured.  If you're using lots of internal 
HTTP requests, you can make them "conditional" HTTP requests.  If you're 
using Resin Pro on the target of those conditional GET requests, and your app 
knows how to invalidate the cache only when the response data is changed, you 
can see some real benefit.  If there has been no change, Resin Pro will 
respond with a 304 - Not Modified.  In other words, the majority of request/
response cycles would be comprised only of HTTP headers with no message body.

The open-source version, without some intermediary like Squid running in 
server-accelerator mode, can only respond to the request by executing 
whatever process is involved to generate the response, and sends HTTP 
responses which always include the message body.  By using Resin Pro to cache 
the output from your process, you gain two advantages over Squid:  First, the 
response is cached as an output stream, not written as a file.  Second, Resin 
Pro's cache is threaded, Squid is not.

For the app we're developing using a REST approach, Resin Pro should perform 
better in testing, since without it the application would not scale well 
under load as it's basically a recursive HTTP request using chained filters.  
The tradeoff is a larger RAM requirement, which I'll take if it saves a lot 
of HD reading and writing or CPU cycles.

-Eric




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin speed

2006-11-28 Thread Keith Fetterman
Yes, we are currently using Apache 2.0.46, which is the current version 
provided with Red Hat Enterprise 3.

My plan is to eventually remove Apache from the mix once I have replaced 
the dependencies on it.  I expect overall performance to increase since 
Resin will be handling the requests directly without them being 
transferred over a port to Apache.

I can't comment if there is a performance difference between the open 
source version and professional version.  If there is a difference, I 
doubt you would see it in testing.  Maybe someone else can comment on this.

Akila Amarathunga wrote:
> Hi Keith,
> 
> Are you running Resin with apache ? cos I hooked up with apache and did
> some fine tuning in it... and now it seems serve up pages bit fast.
> Anyway I use open source version and i think there might be more
> features on professional one.
> 
> Thanks,
> Akila
> 
> On Mon, 2006-11-27 at 09:10 -0800, Keith Fetterman wrote:
>> Akila,
>>
>> We have been using Resin for the past five years to serve up the 
>> Go2marine boat parts store ( http://www.go2marine.com ), and we have 
>> always found it to have a very fast page response time.  We are 
>> currently running Resin Professional 3.0.19 in production. We are using 
>> Sun's 1.5.0_09 JDK. The OS is Red Hat Enterprise 3 ES.  The database is 
>> Oracle 9i, which runs on a separate server.
>>
>> When we refactored the software to use Struts and Tiles last spring, I 
>> was concerned that it might impact performance because of all of the 
>> internal HTTP requests for the tiles.  No worries.  I was delighted with 
>> how fast the site ran.
>>
>> The times that we have run into problems with page response time is when 
>> the server becomes heavily loaded in production.  These problems were 
>> corrected by tuning memory, increasing threads, or increasing the 
>> maximum sessions.
>>
>> Keith
>>
>> Akila Amarathunga wrote:
>>> Hi All,
>>>
>>> I'm quiet new to Resin... At the moment I'm testing with Resin one of
>>> our application but I find it takes some time to deliver pages. i use
>>> resin 3.0.21 as standalone with jdk 1.5 and mysql on RH linux.
>>> I really appreciate if any one could tell me on what Resin deliver speed
>>> depend on...
>>>
>>> Thanks,
>>> Akila
>>>
>>>
>>> ___
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

-- 
-
Keith Fetterman  206-780-5670
Mariner Supply, Inc. [EMAIL PROTECTED]
http://www.go2marine.com

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin speed

2006-11-28 Thread Akila Amarathunga
Hi Markus,

Thank you very much for the comments.. earlier I didn't know about
JProfiler.. I'll look into it.. Thanks again.

Regards,
Akila

On Tue, 2006-11-28 at 10:37 +0100, Markus Ken Baron-Moriyama wrote:
> ve a load of about 40-50 page requests per second, and Resin 
> handles this load. When t



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin speed

2006-11-28 Thread Markus Ken Baron-Moriyama
Hi Akila,
I can also tell from our experience, like Keith's, that Resin has a very 
fast response time. We use Apache 2.x as the frontend, combined with 
Resin-Pro 3.0.21 & Sun JDK 1.5 & Redhat Enterprise. During peak times, 
we have a load of about 40-50 page requests per second, and Resin 
handles this load. When the traffic is not that high, even through WAN, 
the pages are served in less than 1 sec.
The same is true for Resin without mod_caucho - we can tell that because 
our servers are accessible with and without Apache the whole time.

If hardware does not seem to be the problem (enought RAM, new etc.), 
chances are very high that it's your app, so what I would advice you is 
to get a profiler like JProfiler and monitor your app. You will 
definitely find clues to your performance problems that way.

Regards,
Markus



Akila Amarathunga wrote:
> Hi Keith,
> 
> Are you running Resin with apache ? cos I hooked up with apache and did
> some fine tuning in it... and now it seems serve up pages bit fast.
> Anyway I use open source version and i think there might be more
> features on professional one.
> 
> Thanks,
> Akila
> 
> On Mon, 2006-11-27 at 09:10 -0800, Keith Fetterman wrote:
>> Akila,
>>
>> We have been using Resin for the past five years to serve up the 
>> Go2marine boat parts store ( http://www.go2marine.com ), and we have 
>> always found it to have a very fast page response time.  We are 
>> currently running Resin Professional 3.0.19 in production. We are using 
>> Sun's 1.5.0_09 JDK. The OS is Red Hat Enterprise 3 ES.  The database is 
>> Oracle 9i, which runs on a separate server.
>>
>> When we refactored the software to use Struts and Tiles last spring, I 
>> was concerned that it might impact performance because of all of the 
>> internal HTTP requests for the tiles.  No worries.  I was delighted with 
>> how fast the site ran.
>>
>> The times that we have run into problems with page response time is when 
>> the server becomes heavily loaded in production.  These problems were 
>> corrected by tuning memory, increasing threads, or increasing the 
>> maximum sessions.
>>
>> Keith
>>
>> Akila Amarathunga wrote:
>>> Hi All,
>>>
>>> I'm quiet new to Resin... At the moment I'm testing with Resin one of
>>> our application but I find it takes some time to deliver pages. i use
>>> resin 3.0.21 as standalone with jdk 1.5 and mysql on RH linux.
>>> I really appreciate if any one could tell me on what Resin deliver speed
>>> depend on...
>>>
>>> Thanks,
>>> Akila
>>>
>>>
>>> ___
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

-- 
--
Markus Ken Baron-Moriyama <[EMAIL PROTECTED]>
Director of Global IT Relations and Research
Co-Founder

Wazap AG
Karl-Liebknecht-Str. 5
10178 Berlin
Germany

Tel:  +49 30 278744 0
Fax:  +49 30 278744 29

http://www.wazap.com/

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin speed

2006-11-27 Thread Akila Amarathunga
Hi Keith,

Are you running Resin with apache ? cos I hooked up with apache and did
some fine tuning in it... and now it seems serve up pages bit fast.
Anyway I use open source version and i think there might be more
features on professional one.

Thanks,
Akila

On Mon, 2006-11-27 at 09:10 -0800, Keith Fetterman wrote:
> Akila,
> 
> We have been using Resin for the past five years to serve up the 
> Go2marine boat parts store ( http://www.go2marine.com ), and we have 
> always found it to have a very fast page response time.  We are 
> currently running Resin Professional 3.0.19 in production. We are using 
> Sun's 1.5.0_09 JDK. The OS is Red Hat Enterprise 3 ES.  The database is 
> Oracle 9i, which runs on a separate server.
> 
> When we refactored the software to use Struts and Tiles last spring, I 
> was concerned that it might impact performance because of all of the 
> internal HTTP requests for the tiles.  No worries.  I was delighted with 
> how fast the site ran.
> 
> The times that we have run into problems with page response time is when 
> the server becomes heavily loaded in production.  These problems were 
> corrected by tuning memory, increasing threads, or increasing the 
> maximum sessions.
> 
> Keith
> 
> Akila Amarathunga wrote:
> > Hi All,
> > 
> > I'm quiet new to Resin... At the moment I'm testing with Resin one of
> > our application but I find it takes some time to deliver pages. i use
> > resin 3.0.21 as standalone with jdk 1.5 and mysql on RH linux.
> > I really appreciate if any one could tell me on what Resin deliver speed
> > depend on...
> > 
> > Thanks,
> > Akila
> > 
> > 
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> 


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin speed

2006-11-27 Thread Keith Fetterman
Akila,

We have been using Resin for the past five years to serve up the 
Go2marine boat parts store ( http://www.go2marine.com ), and we have 
always found it to have a very fast page response time.  We are 
currently running Resin Professional 3.0.19 in production. We are using 
Sun's 1.5.0_09 JDK. The OS is Red Hat Enterprise 3 ES.  The database is 
Oracle 9i, which runs on a separate server.

When we refactored the software to use Struts and Tiles last spring, I 
was concerned that it might impact performance because of all of the 
internal HTTP requests for the tiles.  No worries.  I was delighted with 
how fast the site ran.

The times that we have run into problems with page response time is when 
the server becomes heavily loaded in production.  These problems were 
corrected by tuning memory, increasing threads, or increasing the 
maximum sessions.

Keith

Akila Amarathunga wrote:
> Hi All,
> 
> I'm quiet new to Resin... At the moment I'm testing with Resin one of
> our application but I find it takes some time to deliver pages. i use
> resin 3.0.21 as standalone with jdk 1.5 and mysql on RH linux.
> I really appreciate if any one could tell me on what Resin deliver speed
> depend on...
> 
> Thanks,
> Akila
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

-- 
-
Keith Fetterman  206-780-5670
Mariner Supply, Inc. [EMAIL PROTECTED]
http://www.go2marine.com

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest