main website home
  • About this blog

    This blog features updates, opinions, and technical notes from Caucho engineers about Caucho products, the enterprise Java industry, and PHP. Caucho Technology is the creator of the Resin Application Server and the Quercus PHP in Java engine. A leader in Java performance since 1998, Caucho is a Sun JavaEE licensee with over 9000 customers worldwide.
  • Tags

    ajaxworld bam candi cdi cloud cluster comet configuration deploy devoxx eclipse ejb embedded flash flex google app engine hessian hmtp ioc java ee 6 javaone javazone jms messaging newsletter nyjug osgi php pomegranate quercus resin resin 4.0 REST servlet sfjug silicon valley code camp spring testing training tssjs watchdog webbeans web profile websockets wordpress
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
« @PooledBean
Updating message beans »

@PooledBean attributes

Since the @PooledBean would act like a custom connection pool, its pool sizes and timeouts match familiar database pooling configuration. We’re trying to keep things conceptually simple, by using common ideas for similar functionality.

Essentially, the configuration limits aim to improve reliability by matching the maximum load of a resource to what it can handle. Temporary spikes are queued for a short while, smoothing the load.

In our prototype configuration, we have the following attributes:

  • maxIdle
  • maxConcurrent
  • maxConcurrentTimeout

The maxIdle configuration limits the idle connections in the pool. This is your buffer of unused connections to handle spikes. At any time, since there may be more active connections than idle connections, the total connection may be larger than this number.

The maxConcurrent is a limit on the concurrent threads running through the pool. This is the main throttling configuration, limiting the load on the resources and smoothing spikes.

The maxConcurrentTimeout limits the total time waiting for the resource to become idle.

This entry was posted on Thursday, May 20th, 2010 at 11:34 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.


Caucho Technology is proudly powered by WordPress and Quercus®
Entries (RSS) and Comments (RSS).

  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • BLOG |
  • WIKI 4 |
  • WIKI 3 |
  • Resin: Java Application Server
Copyright (c) 1998-2012 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.
resin® is a cloud optimized, java® application server that supports the java ee webprofile ®