Performance problem - suggestions invited

Y

YJ

A J2EE application accepts requests from the users and performs
certain task.

- Each request comprises of several sub-tasks which are invoked one
after the other. The application context object is updated each time
the sub-task is through with the job.
- At the end of processing the request, the application context object
contains the overall result of the processing done.
- The context object is then processed further to extract the key
details of the result and the record is stored in a database. The
result is then sent back to the user.

As evident from the points mentioned above, the processing of the
context object does NOT add much value as far as the processing the
user request is concerned. The application performance should improve
by good amount if the step of DB insertion is done later
asynchronously.

Any views/suggestions on which should be the most optimised way to
achieve this (saving the application context object for processing
afterwards in a batch). Should writing to the disk be performant as
compared to the DB insertion?

Thanks in advance for your views/suggestions/comments.

Cheers,
Yj

PS: The application is expected to process approx 1,20,000 requests in
a day & hence application response time is a prime requirement
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,054
Latest member
LucyCarper

Latest Threads

Top