How to make an application scalable?

Hello,
Few years ago I have written a java application (J2SE) used to translate some requets from one protocol to another one (propriétary protocols). At that time, this applicaiton has been designed to process about 1000 requests per day.
Now we would like to use it to process 100 times more requests per day but in this case the application becomes too slow.
I'm wondering if there is any techniques that would allow me to dynamically start multiple instances of my application to process these requests faster in case of overload.
Does such mechanism exists with J2RE?
If yes, can you please give me some details about it?
Thanks in advance.
Remi.

Philipina wrote:
Hello,
Few years ago I have written a java application (J2SE) used to translate some requets from one protocol to another one (propriétary protocols). At that time, this applicaiton has been designed to process about 1000 requests per day.That's about one request every 29 seconds in an 8 hour day.
Now we would like to use it to process 100 times more requests per day but in this case the application becomes too slow.That's about four requests per second. A typical Java application should be able to handle up to 500 - 2000 requests/second if it is not waiting for IO, network or a database. (One or all of these could be your problem)
I'm wondering if there is any techniques that would allow me to dynamically start multiple instances of my application to process these requests faster in case of overload.I think you should find out why your request processing is so slow. Have you tried profiling your application? If it is CPU bound, this should help significantly. If it is IO/network bound it is worth understanding what it is spending its time waiting on.
Does such mechanism exists with J2RE?You cannot use more that 100% of your CPU so creating more processes at this point won't help. If you are IO bound, more thread won't help either. If you are network bound, more threads can help, but fixing the network/remote service would be a better solution.
You need to understand what is making your application too slow and fix it or tune for that problem specificity. Adding more and more threads doesn't always make a program go faster.

Similar Messages

  • How to make Forms6i Application Install Program?????

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

  • How to make the table scalable inside a tap control?

    Hi,
    Does anyone know how to make the table scalable inside a tap control in LabWindow CVI? I see that there is option for a panel to scale contents on resize, but not available for a tab control. Any ideas?
    Thanks a lot!
    Weiming
    Solved!
    Go to Solution.

    Hi SGIE,
    you have posted a LV-related question to the LabWindows/CVI forum: you should post it in the LabVIEW forum instead.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to make Trusted Application

    Hello 2 all
    I want to know how to make trusted application on mobile..?
    Waiting for reply..
    Jignesh

    Hi,
    http://developers.sun.com/techtopics/mobility/midp/articles/permissions/

  • How to make client application

    hi....
    help me...^ ^ how to make client application(not standalone..)
    I seached bea document.. but I can't it.
    if someone have sample(.ear or .jar), I hope you it share...

    Hi
    Client Application can be any Java class, JSP etc which is a part of multi
    tier architecture which accepts input from Client and directs request to the
    middle tier for processing. You can refer to
    http://e-docs.bea.com/wls/docs61/jsp/index.html
    for building jsp's as Client application.
    Regards
    johny
    "kyungmoon" <[email protected]> wrote in message
    news:3c4f571d$[email protected]..
    >
    hi....
    help me...^ ^ how to make client application(not standalone..)
    I seached bea document.. but I can't it.
    if someone have sample(.ear or .jar), I hope you it share...

  • How to make destop application using java

    how to make destop application using java
    i mean to say when we double click on the exe file the program should lounch the application
    for windows

    when i double click ii got the msg
    Failed to lad main class manifest attribute from
    x/x/xyz.jar
    what exatly it meansIt means that your Manifest.MF for the JAR file should contain an attribute called Main-Class pointing to a class containing the main() method.
    Something like this should be present in META-INF/Manifest.MF :
    Main-Class: MyApplicationMain

  • How to make two Application Modules share the same entity cache?

    Hello everyone, I am using JDeveloper 11.1.2.3.0
    I have a little problem in my application through using two AppModules that contain also same ViewObjects. So to be clear one VO is declared in two AppModules. When I commit the view by using AppModule1 and then go to another page that uses the same VO but from AppModule2, I have to commit again, even through the row is previously stored in the database.
    I understood that this came because different AppModules use different entityCache for database communications.
    I am asking if anyone knows any option on how to sync the entity caches from the two appmodules, or how to make them use the same entity cache.
    Thank you

    You can make a copy of the app and give it another name, but it will use the same settings files no matter which you open. Settings aren't stored in the app, but in your Preferences.
    Firefox, being a Windows derivative, might have the capability to use "Profiles" where you'd set it up different for each profile. I don't use Firefox, so I don't know if that option exists.

  • How to make the application offline

    I have X7 phone and each day the amount of my pulse is decreasing. the internet is working but I didnt use it. How can I make the application become offline and not receiving updates. I already set my widgets to offline mode but it still like that. need your help

    go to settings menu...then connectivity...then settings...set "Data use in home country " to always ask....so next time whenever any app would try to connect to internet then it would ask you to either cancel it or other options like  "connect automatically" or "connect this time only" 
    If you want that your phone should only use your home wifi only then set "Data use in home country" to WLAN only

  • Simpe Question: How to make .swf non scalable

    Hey guys,
    I have been trying to search for an answer on how to make a whole .swf file unscalable but I have only found information on how to scale flash files. I did find a post that mentioned the code "Stage.scaleMode = "noScale";" but when I add that to the first frame in my timeline, nothing happens. So any help on this issue would be much appreciated. Thanks so much.
    Note: I am using action script 3.

    You can also use this frame action:
    fscommand("fullscreen", "false");
    to disable the menu use:
    fscommand("showmenu", "false");
    Hope that helps

  • How to make .exe applications

    good day, im interested in java and started reading tutorials. i dont have prior background in programming. as i skip reading on tutorials, i notice that programs are run on command prompt. my question is, can i make a program that have filename extension .exe and when you click that icon it runs the program directly on the screen? i thought that program like C++ or java can make a application program just like games that dont need command prompt.
    racz

    morgalr wrote:
    If you choose to make an EXE file, there are programs for that, but you might as well just choose any .NET technology, since you will be missing out on one of the greatest features of Java--the ability to develop once and run on any platform.This is not quite true. A program developed in Java doesn't become less portable just because it's distributed in some other format than bytecode. The distributed executable can only run on the target platform of course but the program itself is as portable as before.
    So there's no reason to stop using Java even if you mainly target Windows and want to distribute your program in a .EXE format for technical, economical, legal or whatever reasons,.

  • How to make the application access the fonts from outside library?

    actually the fonts located in the library are considered from the system/library/fonts path. is it possible to make it accessible from outside that path through programatically for indesign applications? if yes means, how to do it?
    thanks
    subha

    i think am not mentioned the question clear.
    the fonts menu inside InDesign lists the fonts from
    for mac: System/Library/Fonts
                  Adobe InDesign CS2/fonts
    for windows: C:\WINDOWS\Fonts
    C:\Program Files\Adobe\Adobe InDesign CS2\Fonts
    is it possible to list the font from someother folder rather than this folders.
    by
    Subha...

  • How to make an Application a Service

    How can i make a java application a srvice in Windows and related working for that.

    There is an app that may help you:
    http://ise.fdns.net/jserviceshot.html

  • How to 'make' an application 64-bit?

    For nspluginwrapper in this case, how do I compile 64-bit? Or does a normal configure, make, make install automatically do this?
    Thanks.

    iBertus wrote:If you are running Arch 64-bit then the build will create 64-bit binaries automatically. Just grab the PKGBUILD for nspluginwrapper from AUR and don't build it manually. You should never build a package manually on Arch Linux unless you have a specific reason.
    Agreed. Just be forewarned Ranguvar: there are a crap load of dependencies.

  • How to make Portal Application for connecting to SAP R/3(backend system)

    Hello  Experts,
                           I need to create a portal application that should connect to SAP R/3 & fetch some data in some table according to some input parameters provided at runtime & display the data in TABLEVIEW control.
    Anyone can guide me on this i:e- how to go about it. What things i should know or should be aware of before creating this application. Any PDF documents , any help material, any guidance about the same will be of great help.
    Thanks,
    Chetan

    Chetan,
    Webdynpro & Visual Composer ars EP Development Tools.
    If you only display BAPI data then go for Visual Composer with requires no coding So I suggest you to go for Visual Composer.
    You can also use Webdynpro Java or ABAP to display BAPI data by creating
      Adaptive RFC model.
    You will integrate Webdynpro applications into EP by creating SAP Webdynpro iView.
    *Visual Composer Documents:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/0af7d34a8449e2b722878ce270a747/frameset.htm
    *Webdynpro Documents:
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9f
    ea07/frameset.htm
    Regards,
    <b>Ramganesan K</b>

  • How to make J2EE application in OC4J use windows credentials

    Hi,
    I have a J2EE application which is deployed in Oracle10AS. When a user tries to access this application, the application should use windows login information and authenticate the user and allow access to the user.
    Can someone guide me on how to achieve this, any links or documents to achieve this would be greatly appreciated.
    Thanks

    The configurations in mod_osso.conf were not made properly hence getRemoteUser() was failing. Once mod_osso.conf was configured properly everything went well.

Maybe you are looking for

  • Need help with drop down list in parameters

    Hi All, I have the following data set: DEPT1     DEPT2     DEPT3 DEPT4 Commissioner's Office     Finance     Accounting     Accounts Payable Commissioner's Office     Finance     Accounting     Fiscal Analysis & Repo Commissioner's Office     Finance

  • How to modify parameters for a LOB?

    SQL1: ALTER TABLE "TEST"."T03" MODIFY LOB (COL2) STORE AS SECUREFILE (TABLESPACE "TBS_1" DISABLE STORAGE IN ROW CHUNK 5000 PCTVERSION 22 CACHE READS FILESYSTEM_LIKE_LOGGING STORAGE ( INITIAL 1024 NEXT 1111 PCTINCREASE 12)) SQL2: ALTER TABLE "TEST"."T

  • Is there any keyboard shortcuts for navigating through Fireworks layers?

    By default, there are no keyboard shortcuts. However, you can use custom commands. For example, http://johndunning.com/fireworks/about/FrameLayerUtils

  • Support for floating bodies

    Just tried to write a paper for a conference. It looks quite nice in the end, but it was a bit of a hassle to get there. Buzzword is currently nice for documents of a designed nature, but not for structured documents, such as scientific papers. Howev

  • ITunes on an external HDD

    Owning only a MBP with an 80GB HDD, my 25GB iTunes library has been on an external HDD for quite some time. I recently purchased a portable 120GB external drive just for my iTunes library, but I can't seem to move iTunes from the one external drive t