Workload capacity

  • Locate WebLogic dispatch, synchronous and message-driven work, database sessions and provider limits.
Diagram phase
100%
Offer creation · synchronous and message-driven routesCampaign delivery · distinct normal and retry consumersWhere upload and campaign work consume capacityWork or actionState / allocationacquire workerdeliverdeliverDB workDB workSOAP attemptSynchronousupload batchesSolace uploadqueueNormal + retryCP queuesUpload processingworker poolUpload MDBcontainer dispatchCP MDBsWork Manager policyLoan creationJDBC borrowsCustomer Powerremote callsacquire workerdeliverdeliverDB workDB workSOAP attempt

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • A message-driven bean (MDB) is a WebLogic consumer that handles a delivered message. The Work Manager schedules its execution. A JDBC borrow occupies a database connection during the transaction.
  • If consumers wait on database connections, raising their concurrency can create more waiting threads while completed offers per second stay flat.
  • A synchronous batch acquires a processing worker. A queued batch starts through MDB dispatch. Both can borrow database connections for offer creation.
  • A separate WebLogic dispatch policy schedules each CP consumer. Partner limits apply across normal and retry traffic.
Where LCM work waits

Where LCM work waits

Three paths compete for different resources

  • A synchronous upload batch waits for a processing worker before invoking offer creation. A busy worker can be waiting on JDBC, a row lock or I/O.
  • Async upload publishes a message. WebLogic schedules its message-driven bean (MDB) against container and Work Manager limits. The upload worker pool does not meter those consumers.
  • Normal and retry Customer Power (CP) consumers use separate destinations and dispatch policies. Both can call the same partner operation and both contribute to partner concurrency.

Name the owner before setting a limit

Owner Unit to count Signal during saturation
Upload processor Workers actively processing synchronous batches Oldest eligible batch grows while workers stay occupied
WebLogic Work Manager Scheduled work and applicable thread constraints Pending work, hogging threads, execution time
MDB deployment Message deliveries in progress Oldest message age, redelivery count, active beans
JDBC datasource Connections borrowed and acquisition waiters Borrow wait, transaction duration, DB lock waits
CP operation Active remote attempts across producers and retries Timeouts, unknown outcomes and retry backlog
  • A dispatch policy selects a Work Manager. Several Work Managers can use one self-tuning server thread pool. A named policy alone supplies no dedicated CPU or database sessions.
  • The effective MDB concurrency depends on its pool settings, Work Manager constraints and available threads. Establish the binding per deployment and per server before increasing consumers.
  • The suppression consumer descriptor declares a maximum free-pool size of one and selects a suppression Work Manager. The retry consumer has its own destination and dispatch policy. Resolve target membership, effective overrides and both deployments when counting calls.
Suppression MDB scheduling fieldsxml
<!-- Selected fields of one weblogic-ejb-jar.xml bean, with other elements
     omitted. The queue alias, adapter binding and application target are
     separate deployment inputs. -->
<weblogic-enterprise-bean>
  <message-driven-descriptor>
    <pool>
      <max-beans-in-free-pool>1</max-beans-in-free-pool>
    </pool>
    <!-- Destination and adapter configuration omitted. -->
  </message-driven-descriptor>
  <dispatch-policy>CustomerPowerOfferSuppressionWM</dispatch-policy>
</weblogic-enterprise-bean>
Allocate a bounded fleet budget

Allocate a bounded fleet budget

Work a two-server example

  • Assume 24 DB sessions remain for upload transactions after reserving capacity for online operations. Each admitted batch holds one connection. On each of two servers, allow four synchronous batches, six async batches and two retries. The maximum combined demand is 2 × (4 + 6 + 2) = 24 sessions.
  • Separately assume CP permits 12 concurrent remote attempts. Four normal and two retry permits per CP member fit a two-member allocation. A waiting permit consumes the operation deadline. A retry with an uncertain prior effect still requires reconciliation.
  • These figures are sizing inputs. A production target also needs observed hold times, CPU, memory, per-route distribution and the database or partner contract.
Worked fleet budget and rollout overlapjson
{
  "kind": "IllustrativeBudget",
  "unit": "concurrent work per participating server",
  "assumptions": {
    "servers": 2,
    "dbSessionsAvailableToUploadFleet": 24,
    "oneBorrowPerActiveUploadTransaction": true,
    "providerConcurrentAttemptsForCpFleet": 12,
    "providerHoldsPermitUntilAttemptEnds": true
  },
  "perServer": {
    "syncUpload": 4,
    "asyncUpload": 6,
    "uploadRetry": 2,
    "cpNormalAttempts": 4,
    "cpRetryAttempts": 2
  },
  "rolloutCase": {
    "serversDuringOverlap": 3,
    "unchangedUploadDemand": 36,
    "unchangedCpDemand": 18,
    "resizeBeforeActivation": {"syncUpload": 3, "asyncUpload": 4, "uploadRetry": 1, "cpNormalAttempts": 3, "cpRetryAttempts": 1}
  }
}

What changes when the fleet changes?

Event Consequence Decision
Third server starts during rollout Old allocations allow 36 DB borrows and 18 CP attempts Repartition before enabling consumers. At three members, 3 + 4 + 1 upload slots and 3 + 1 CP slots per member fit the same limits.
One batch waits on a hot row Its connection and worker can stay occupied while useful completions fall Bound transaction time, inspect lock ownership and reduce new admission for that key.
CP service slows More calls remain in flight and normal work competes with retries Bound concurrent attempts and keep a finite retry share. Add a separate rate budget if the partner contract specifies requests per second.
One server stops accepting HTTP Its MDBs and timers may keep taking work Pause new delivery and claim acquisition separately, then wait for active work to finish.
  • Test saturating one path while measuring online inquiry latency and oldest eligible background work. Prefer a bounded local allocation when maximum active membership is enforced. A coordinated limiter adds an availability dependency and becomes useful when membership or the external contract makes a static allocation impractical.
  • During rollback, lower new admission and drain active operations before switching owners. Confirm eligible queues can resume even while incoming business traffic is quiet.