MaxActive?? how many connections should be made available

Can anyone recommend what I should set the maxActive="" property of my database resource connection for a medium to large scale ecommerce application.
How many simultaneous database connections might I expect?
I know this is dependant on the volume of traffic on the site, but I just need a general Idea, I currently have maxActive="100", but I'm a little worried that this may be insufficent for a site that may have up to 5000 concurrent users.
Thanks in advance.

Do you have a formula for the above, to give an
estimated requirement for maxActive connection
settings?
Sorry! there is no real formula but since you are working on a web application the number of connections used will be close to the number of requests at a time on your web application.
And the number of concurrent users dosent give much idear about the number of concurrent requests becouse users dont keep clicking all the time. Most of the time they will be reading somthing on the browser.
Here is a simple calculation but only accurate if you assume that server takes 1sec to process each request.
If the number of concurrent users is 5000 and each user makes a click once in every 60secs, then there will be aproximatly 5000/60 requests/sec. That is 83.333... requests
I assume the only warning sign I will get when
maxActive is reached will be browsers 'hanging' until
it either times out or a connection is released to
the pool?Browsers normally times out and display an error if the server do not respond within a predefined interval (Normaly 90secs) thats what you should watch out for.
By the way if what you want is to make sure the maximum is never reached just set it to a negative value.(Assuming that you are using apache commons pool. negative means infinity)
And set reasonable numbers to MaxIdle, MinEvictableIdleTimeMillis, and TimeBetweenEvictionRunsMillis. Please read the documentation of the setter methods of above attributes if you dont know what above attributes are for.
you can also add a back end page to your web application to display the staticstics of the pool.
such as the number of current idle connections, current active connection and ect...

Similar Messages

  • No Connection should be made to IPC

    Hi,
      Iam using IDES system for praticing and dont have R/3 enabled.
      When i created a Quotoation or telesales Iam getting a error ""No Connection should be made to IPC"""
      the message/error says....when trying to open a session on IPC an error as occured. The IPC dispatch or the IPC server is not probably available.
    Procedure : Start the IPC despatcher or IPC server.
      Please let me know Is there any configuration i need to do from my end..????
      Regards,
      satish

    I believe you work in CRM 4.0 IDES.
    In that case, you to install IPC Software and Configure it for connection with CRM !
    Many Thanks
    <b>Allot points if this helps!</b>

  • How many frames should I cut out each second to get a old film look?

    Hi,
    What is the general rule of thumb (if their is one) of how many frames should be cut every second to achieve a choppy old film look? Or maybe it's not every second? What do you guys do?

    you will get a more realistic look if you chop out frames manually
    dump the playhead arbitrarily on the time line insert a cut nudge the playhead either i or 2 frames on and cut again discard the frames and either leave the black or butt the clips up for a "skip".
    this really doesn't take long to do and is better than a predetermined sequence of chops made by a filter.
    CGM do a free filter for aged film to add the hairs, navel lint, boogers etc . .

  • How many connections PAT can handles?

    How many connections that an IP address with PAT can support? One IP address with PAT can support 65536 hosts as there are 65536 ports available for an IP(ranging from 0 to 65535)?

    Hi,
    PAT (overloading) divides the available ports per global IP address into three ranges: "0-511, 512-1023, and 1024-65535". PAT assigns a unique source port for each UDP or TCP session. It will attempt to assign the same port value of the original request, but if the original source port has already been used, it will start scanning from the beginning of the particular port range to find the first available port and will assign it to the conversation.
    Please refer the below URL for details:
    http://www.cisco.com/en/US/products/ps6640/products_qanda_item0900aecd801ba55a.shtml
    I hope it helps.
    Regards,
    Arul

  • How many connection opened for webdynpro java

    Hi,
        I have 2 webdynpro java application.The applications sharing  the same backend function module.Could anyone tell me
      How many connection will be established when the same user wants to open 2 different application but these 2 application shares the same function module.
    Thanks
    Kanai

    Hi,
    In webdybnpro ,each Model in an Application utilizes a seperate Connection.If u create JCO connection pool for the User then while connecting to backend
    1)The JCO connection pool Manager will open a new connection pool and opens the first connection.
    The next available connection from the pool is allocated to the model object.
    2)The model object is now able to invoke the required functionality in the ABAP system.
    3) When the connection is no longer required by the application, it is returned to the pool.
    4) The connection remains logged on to the backend system until either the next application
    request is received, or the connection timeout is reached.
    5) If no application requests arrive before the timeout is reached, the connection is flagged
    for closure.
    Note:-If an Application contains 2 models which are connecting to same ABAP system then second Model can be told to share the same JCo connection used by First model This is done by calling its setConnectionProvider() method.
    Regards,
    Sunaina Reddy T

  • How many times should I run the APPLE TEST HARDRIVE/DRIVE on my macbook?

    how many times should I run the APPLE TEST HARDRIVE/DRIVE on my macbook?

    Do you mean your hardware tester or Disk Utility?
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'

  • How many monte should  a new iPod 5g keeps the charge

    How many minutes should a new
    iPod touch fifth generation should keep the charts

    What is you question? In one place you ay "How many monte should a new iPod 5g kepps it charge" and in another "How many minutes should a new
    iPod touch fifth generation should keep the charts"
    What is the iPod doing during the time period?
    Apple say:
    Music playback time: Up to 40 hours when fully charged
    Video playback time: Up to 8 hours when fully charged
    However, uses report less time.

  • How many connections can be supported by FMS2?

    Hi all,
    I have researched the Server.xml file in FMS2. This file
    have property :
    quote:
    <!-- Max connections requests that can be pending.
    Connections will be rejected if queue size limit is reached. -->
    <!-- -1 = default = 1000. -->
    <MaxConnectionQueueSize>-1</MaxConnectionQueueSize>
    Have SO known that how many connections can be supported by
    FMS2 ? ( or maximum is 1000 ? )
    Thanks

    Perhaps this will help:
    http://www.macromedia.com/software/flashmediaserver/productinfo/pricing/
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "hieuu82vn" <[email protected]> wrote in
    message
    news:e2k9g8$hu5$[email protected]..
    Hi all,
    I have researched the Server.xml file in FMS2. This file
    have property
    <!-- Max connections requests that can be pending.
    Connections
    will be rejected if queue size limit is
    reached. -->
    <!-- -1 = default = 1000. -->
    <MaxConnectionQueueSize>-1</MaxConnectionQueueSize>
    Have SO known that how many connections can be supported by
    FMS2 ? ( or
    maximum is 1000 ? )
    Thanks

  • I have a MacBook Pro 15" mid 2010.  My battery has 326 cycles.  It is not lasting more than 1 hr and a few minutes before needing a charge.  How many cycles should it have?

    I have a MacBook Pro 15" mid 2010 that was purchased in summer of 2010.  My battery has used 326 cyles.  Is this normal for these batteries after two years?  How many cycles should I expect to get out of it before getting a new one?  Also, it only last about 1 hour plus about 30 minutes before needing to be charged again.

    The battery is considered a 'consumable' item by Apple - I know that newer models (not sure about 2010's) are supposed to 'last' to about 1,000 cycle counts. But it all depends on how you've used (or abused) your battery as to how long it's going to last. I've 182 cycles on my 8 month old MBP and my battery 'health' is at 98%: I can still get a good 6 1/2 hours out of it...
    ...if you want more battery time, you're just going to have to buy a new battery or, if you purchased AppleCare, see if Apple will replace it gratis. I doubt that they will, though...
    Clinton

  • I have been requested the certificate for iOS development since 4 days ago, but the result is still pending approval. So how many days should i wait?

    i have been requested the certificate for IOS Development since 4 days ago, but the result is still pending approval. So how many days should i wait?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • How many ghz should I get if I plan on using my IPAD2 for internet access, email, facebook and games for my children?

    How many ghz should I get if I plan on using my IPad2 for internet access, email, facebook and games for my daughters children?

    Ghz is the CPU speed and that is fixed for each iPad model.
    The GB is the number of Gigabytes of storage.
    I had a 32G iPad1 and filled it up with 5000 songs, 20,000 photos and about 50 apps.  It doesn't sound like you will need anything larger than that.  If you are just talking about a few dozen apps and email, the 16G version should be adequate.

  • How many songs should I expect my IPod 1G to hold?

    How many songs should I be able to load to my IPod shuffle 1G?

    iPod tuchsdoare not formated for a a Mac or PC. 
    You do not have the right/lience to give away music you purchased.
    An iPod can only sync with ene computer. To change syncing computer you have to erase the iPod and then sync to the new computer.

  • Sql Server 2012 Evaluation - How many connection allowed ?

    Hi all
    I'm testing the replication, everything Works fine, but I'd like to know how many connections allow the evaluation of the SQL Server versión I'm testing on.
    We are testing 2 stores with 2 server in replica with about 20 users in each side. So we can get an idea of the prices of the licences my customer have to buy.
    Thank you very much.
    James Smiths

    SQL 2012 license usually is per core and/or per CAL and it depends on the edition.
    All editions don't impose any limit on connections but rather on maximum memory, CPUs and other features.
    You need first to decide which SQL version suits your needs (and your hardware) and then call for suggestions and prices.
    http://www.mssqltips.com/sqlservertip/2942/understanding-the-sql-server-2012-licensing-model/
    http://www.microsoft.com/en-us/server-cloud/products/sql-server/buy.aspx
    "If there's nothing wrong with me, maybe there's something wrong with the universe!"

  • How many Questions should be correct During Certification

    Hi All,
    I am planning to take XI certification. How many Questions should i answer correctly of the 80 questions to get the Certification?
    Thanks for the help,
    Deepthi

    Hi deepthi,
    U can do certification in
    1. SAP XI 3.0
        Certification ID (Booking code): C_TBIT51_04
        Pass Percentage: 65.
    2. SAP XI XI 7.0
        Certification ID (Booking code): C_TBIT44_70
        Pass Percentage: 70.
    Number of certification questionsin both the case is 80. So u should get around 52/56 questions correct in either of the course.
    Good Luck..!!
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • How many libraries should I make?

    How many libraries should I make?
    A library for all of my specials projects? For example 1)streetphotography 2)documentary1 3)documentary2 ... etc Or should I make just one?

    If you need to ask the question, the answer is one.
    There are lots of good reasons to have just one. And there are lots of ways that having more than one can hurt you.
    On the many-headed evils of controlling your pictures with more than one catalogue - Lightroom Forums
    Hal

Maybe you are looking for

  • Report in SAP to show me invoices posted by users?

    Hi, I have been asked to create a report to display how many invoices have been posted by individual users in Accounts Payable. This report must not give me cross company codes which create a double entry. Thanks Alex

  • IPod Touch album artwork issues

    Hi all, I recently changed a whole album's artwork to something different. I selected all the songs under Devices>ipod Touch>Music and did a multiple edit with the new artwork. After the sync, only certain ones changed. I then went into each individu

  • Can i use whatsapp/viber/line messenger on my skyp...

    Can i use whatsapp/viber/line messenger on my skype online number of USA? i am going to purchase a landline number of united states. please tell me can i use whatsapp/viber/line messengers on it?

  • Transport of content language dependant?

    Hello, I installed some business content (BC) when the only language installed in the system was english. Then I installed a new language: swedish Now I need to transport the mentioned BC to another system which has both english and swedish installed

  • MF50 not able to book Capacity  on Saturday and Sunday

    Dear Experts,   In MF50 planning table the  if we book  requirement on Saturday and Sunday .we are abel to book the requirement but "Not yet assigned" is gyred out system is creating a back ward scheduling to friday. In work Centre we maintained fact