Beginner Question: ------ Can someone give me some brief idea about load balancing?

Posted on 2006-05-24
Last Modified: 2010-04-01
1. How to deploy a web app accross multiple server? how they can "work together"/ know each other exist? (brief one)

2. load-balancing = ?? and how to do it?

* I read through several Servlet/JSP tutorial, some mention bout deploying web app on different server and load balancing, but never really explain what they are...

Question by:InNoCenT_Ch1ld
    LVL 4

    Accepted Solution

    1: It is called clustering.
    You can find an article on clustering/loadbalancing with Tomcat here:

    Clustering/load balancing is normally a feature provided by the server rather than something you explicitly write code for.
    LVL 3

    Author Comment

    so, is there anything that I should taken into consideration when i'm writing my code (JSP/Servlet)?
    or i can just write my code and let the server worries about clustering?
    LVL 3

    Assisted Solution

    my friend

    Clustering/load balancing is for balancing the load. This has to be taken care by the server. Not on the programmers end.

    You can deploy your code on one or more tahn one machine.

    But the configuration has to be made at the server. Not in your code.

    I think so this helps you.
    LVL 3

    Author Comment

    ss_p, yea, you have been a big help ;-)

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
    Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now