Improve JavaServer Pages Performance with Caching

Discussion in 'Software' started by beezus, Aug 2, 2011.

  1. beezus

    beezus

    Joined:
    Aug 2, 2011
    Messages:
    1
    JavaServer Pages (JSP) has become a really popular choice for developing high-transaction, web applications. The reasons are simple. JSP is based on Java and is therefore platform independent. It helps maintain complex, information-rich, dynamic web applications and extend existing systems. Further Java IDEs like Eclipse and NetBeans have come a long way and they help speed up enterprise development quite a bit.
    The Problem: JSP Servlets Performance Bottlenecks

    This popularity of JSP has meant that it is being used quite frequently in developing high-traffic web apps. And, this is causing performance bottlenecks as you try to add more users and transaction load on your JSP application. Although, JSP application can scale very nicely to multiple web servers, the database server cannot.
    As a result, your JSP application response time become very slow as you add more users and transaction load. And, this can cause you to lose revenue due to unhappy customers.



    The Solution: Distributed Caching

    The main reason for the database becoming a bottleneck is that while you can add more and more servers to the JSP application server farm, you cannot do the same at the database tier. This results in limited scalability at the data tier. The solution to this is simple. You can remove these JSP Servlets performance bottlenecks by using an enterprise-level in-memory distributed cache for storing the frequently used data.
    Think of a distributed cache (Like NCache, AppFabric) as an in-memory database that can scale linearly to multiple servers and therefore never has the performance bottlenecks. However, it is not a replacement of your database which is the master record of your data. It is merely used to store frequently used data temporarily.


    Distributed Cache - Scaling JSP Servlet Performance

    Unlike a database server, a distributed cache can scale out into multiple cache servers clustered together thus boosting the overall performance and reliability. It can scale by using such schemes as partitioning and replicating of data among multiple inexpensive cache locations. It can add further reliability by reliable fail-safe mechanisms, such as replicating each partition to at least one other server in the cache cluster. This way, even if one cache location goes down, there is no loss of data.


    Reference: http://www.alachisoft.com/ncache/improve-javaserverpages-performance.html
     
    beezus, Aug 2, 2011
    #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. Silverstrand
    Replies:
    0
    Views:
    655
    Silverstrand
    Aug 24, 2005
  2. news.tm.net.my
    Replies:
    0
    Views:
    588
    news.tm.net.my
    Jul 17, 2003
  3. KumarForG
    Replies:
    0
    Views:
    436
    KumarForG
    Apr 6, 2004
  4. KumarForG
    Replies:
    0
    Views:
    437
    KumarForG
    May 27, 2004
  5. Phil

    ARP Caching on 1100/1200 AP

    Phil, Aug 20, 2004, in forum: Cisco
    Replies:
    1
    Views:
    611
Loading...

Share This Page