Hi Giulio,

I guess that you will be using an Apache Webserver before OFBiz' Tomcat anyway, right?

There will always be an overhead if you serve ressources through the route client - Apache Webserver - Apache Tomcat - client because of the proxy handling between Webserver and Tomcat.

How significant this is for your scenario can best be checked through load testing like Taher suggested.

It costs nothing an is easy to setup to serve static content directly through the Webserver so we do this in all our production systems.

The above does not apply if Tomcat will be used standalone without any Webserver in front of it.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 24.01.23 um 10:38 schrieb Giulio Speri - MpStyle Srl:
Hello everyone,

I hope I found you all well!

I would like to ask you an opinion regarding serving static resources of a
website powered by OFBiz.

We are going to perform a system upgrade (from Ofbiz 13.07.03 to latest)
and we are evaluating who should serve the static resource: now they are
served by Apache Web Served who acts like a proxy in front of OFBiz
application.

Since Tomcat webserver has been upgraded and improved over the years
(version 13.07 is shipped with Tomcat 7) could it be worthy to make it
serve the static resources or having an Apache Web Server in front is still
a better (for performances) solution?

The website involved is an e-commerce site, so there are periods of quite
high traffic load.

What do you think about it?

Thank you all in advance and have a great day ahead,

Giulio


Reply via email to