Performance problem - suggestions invited

Discussion in 'Java' started by YJ, May 29, 2007.

  1. YJ

    YJ Guest

    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
     
    YJ, May 29, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Xavier Jefferson
    Replies:
    2
    Views:
    343
    Ken Cox [Microsoft MVP]
    Aug 21, 2004
  2. Tiro Verus

    Critique invited

    Tiro Verus, May 26, 2004, in forum: C Programming
    Replies:
    8
    Views:
    340
    Emmanuel Delahaye
    May 28, 2004
  3. Aditi

    suggestions invited

    Aditi, Jun 22, 2005, in forum: Python
    Replies:
    10
    Views:
    516
    Simon Brunning
    Jun 24, 2005
  4. IT Recruiter

    C++ Professionals invited

    IT Recruiter, May 18, 2006, in forum: C++
    Replies:
    0
    Views:
    302
    IT Recruiter
    May 18, 2006
  5. IT Recruiter

    C++ Professionals invited

    IT Recruiter, May 18, 2006, in forum: C++
    Replies:
    0
    Views:
    283
    IT Recruiter
    May 18, 2006
Loading...

Share This Page