I think your question is too generic and broad. I believe AppFuse uses all
the right ingredients to scale but that does not mean that once you build a
large application, you can kick back and expect the application to handle
millions of page views. You will need to profile the application and
database to make sure that there isn't any performance bottleneck introduced
by the functionality / business logic you add. You might discover that
certain methods that use Hibernate are CPU / memory intensive you would need
to make the appropriate decision on how to eliminate the hotspot. For
example that may involve configuring a second level cache or changing a
piece of code to use JDBC instead. A lot depends on the nature of you
application too. Is it mostly static with portions of dynamic content (like
a social site) or is it mostly dynamic (like a web email client). You may
need to configure your web server like Apache to handle the static content,
load balancing etc  in order to offload hits to your app server / database.
You database / schema may also be require tuning / indexes.

In one of my (intranet) applications, we allowed users to download Excel
spreadsheets for tabular data and that turned out to be a huge scalability
issue as Jakarta POI is a major memory and CPU hog which basically takes
~500MB to generate a single spreadsheet of 20K rows. So obviously the
application would not be normally be able to handle more than 3 concurrent
downloads. I had to come up with ways to solve this like introduce caching
where possible and making the download asynchronous, adding a processing
queue to allow only 2 concurrent downloads etc. Your application may not be
generating Excel but will probably have its own unique needs and you need to
be prepared to get your hands dirty when you're doing scalability testing
and come up with the appropriate resolution (we're here to help).

So in short, I feel AppFuse does have the right foundation to help you build
highly scalable applications.

My 2c :)
Sanjiv

On 4/19/07, dev dev <[EMAIL PROTECTED]> wrote:

Sorry for posting such a question but we just want to know if anyone out
there are using the latest AppFuse version in production that handles 30 or
more millions page views per month?

Thanks
dev

Reply via email to