Vertical scaling increases the resources available to an existing server. Horizontal scaling adds supported server instances so work can be distributed. The right TotalAgility approach depends on which part of the workload is constrained.

 

A large document failing during processing, a slow Workqueue and a growing extraction backlog can have different causes. They should not automatically lead to the same infrastructure change.

 

Use the five checks below to connect the observed problem with the resource or component that needs attention.

 

Understand the two scaling approaches

 

Approach

What changes

Main consideration

Vertical scaling

More suitable CPU, memory or other resources for an existing server

Whether the affected workload can use those resources

Horizontal scaling

Additional supported Web, Application or Transformation Server instances

Whether work can be distributed and shared dependencies can support it

Combined approach

Better-sized individual servers alongside additional instances

Balancing per-server needs, total throughput and operating complexity

 

A larger server may simplify some operating arrangements. Additional instances can provide more processing capacity or redundancy, but also introduce configuration, monitoring and maintenance work.

 

This guide focuses on customer-managed deployments. For vendor-managed TotalAgility Cloud, discuss capacity and performance evidence within the service arrangements.

 

1. Investigate memory pressure when large files fail

 

Suppose ordinary invoices process successfully, but a large, high-resolution PDF fails.

 

First identify the component reporting the error. The failure could occur during upload, conversion, transformation or custom processing. An out-of-memory message does not automatically mean the Core Worker needs more RAM.

 

Review process memory, concurrent work, file characteristics and relevant software limits. Check for defects or custom-code behavior as well as insufficient capacity.

 

Vertical scaling may help when the affected process genuinely needs more usable memory. Additional nodes may help distribute concurrent jobs, but do not automatically divide the processing of one large file.

 

Practical example: Reproduce the failure with the same PDF and record which process runs out of memory before selecting the server to change.

 

2. Trace slow Workspace responses before adding Web servers

 

A slow Workqueue does not establish that the Web server is the bottleneck.

 

Measure the request through the Web and Application tiers, database queries and any integrations involved. Also check the amount of data the form requests.

 

If user-facing services are competing with background processing for resources, separating supported roles may help. If request volume exceeds available Web or Application capacity, additional instances may be appropriate.

 

However, another Web node will not resolve a slow database query or an ERP lookup that keeps the user waiting.

 

Practical example: Compare response times during quiet and busy periods, then identify where the extra time is spent.

 

3. Measure the benefit of a larger server

 

More cores or memory do not guarantee a matching improvement in throughput.

 

The workload may be constrained by storage, database waits, external services, configured concurrency or processing that does not use additional cores effectively.

 

Increase resources in measured steps where appropriate. Compare completed work, processing time and resource use under equivalent load.

 

Do not choose a scaling method using a universal 32-core cutoff. Review the supported configuration and actual behavior of the component being sized.

 

Practical example: If additional CPU leaves extraction throughput unchanged, investigate the remaining constraint before repeating the upgrade.

 

4. Scale the component responsible for the backlog

 

Daily page volume helps describe demand, but it is not a universal switch between vertical and horizontal scaling.

 

Document complexity, arrival peaks, processing targets and available resources also matter. Clean invoices and lengthy scanned applications can place different demands on the platform.

 

The TotalAgility Architecture Guide distinguishes Application and Core Worker processing from Transformation Server processing.

 

Additional Application capacity can support background workflow work. Additional Transformation Server instances can support transformation throughput. Confirm the constrained stage before adding either.

 

Practical example: If 1,000 documents arrive per hour while only 800 finish, the backlog grows by 200 per hour. Establish which stage limits completion and whether it can benefit from additional instances.

 

5. Check database capacity before increasing concurrency

 

More processing instances can increase demand on shared databases and storage.

 

If SQL processing is already constrained, increasing application concurrency may increase waiting instead of completed work. Investigate expensive queries, blocking, storage latency and competing maintenance or reporting workloads.

 

That does not mean the database must always be scaled first. It means the shared dependencies need to be included in the decision.

 

The TotalAgility Best Practices Guide provides relevant database and deployment guidance.

 

Practical example: When adding a worker increases database waits without improving throughput, pause further expansion and investigate the new evidence.

 

A practical scaling decision table

 

Use symptoms to direct the investigation, then choose a change supported by the findings.

 

Observation

Evidence to collect

Possible response

Large files fail

Failing component, memory use, concurrency and error details

Adjust processing, resolve a defect or increase appropriate memory capacity

Workspace slows down

Request timings, query performance and resource contention

Improve queries or forms, separate workloads or add request capacity

Extraction backlog grows

Arrival rate, processing time and Transformation Server utilization

Tune transformation or add supported processing capacity

Background tasks accumulate

Core Worker activity, queue counters and dependency waits

Review configuration, task behavior or Application capacity

More nodes provide little benefit

Database, storage and downstream-service measurements

Address the shared constraint before further expansion

 

These are investigation paths rather than automatic prescriptions.

 

Prove the result before widening the change

 

Record a baseline covering a normal period and an expected peak. Include document mix, concurrent users, completed work, queue growth, response times and errors.

 

The TotalAgility Administrator Guide describes platform performance counters that can help investigate worker activity and queues.

 

Change one major factor at a time and repeat an equivalent workload. Check that throughput improves without unacceptable response times, errors or pressure on another component.

 

For process-level investigation, TA Process Miner can help examine execution alongside infrastructure measurements.

 

Also review maintenance, recovery and licensing implications. More infrastructure does not automatically provide more licensed users or processing allowance.

 

Frequently asked questions

 

Is vertical or horizontal scaling better for TotalAgility?

 

Neither is universally better. Vertical scaling may suit a component needing more usable resources, while horizontal scaling may suit work that can be distributed across supported instances. Many deployments use both. Identify the constrained stage, check shared dependencies and compare measured results before choosing. Include operating complexity and future growth in the decision.

 

Should we scale horizontally above 10,000 pages per day?

 

Do not use that number as a universal cutoff. Daily volume does not show document complexity, peak arrival rates, required completion times or existing capacity. Measure the workload and its processing stages. An environment with fewer pages may need additional instances, while another with more straightforward documents may meet its targets with a different configuration.

 

Is 32 cores a hard TotalAgility scaling limit?

 

Do not treat it as a general platform rule. Check the technical specifications, component configuration, operating environment and any applicable limits for the proposed deployment. Additional cores may provide diminishing returns because another resource or processing behavior is constrained. Demonstrate the benefit with an equivalent workload rather than assuming either unlimited improvement or an automatic cutoff.

 

Will additional Core Workers make OCR faster?

 

Not necessarily. Core Worker and Transformation Server have different responsibilities. If the bottleneck is transformation processing, adding Core Worker capacity alone may not improve OCR or extraction throughput. Check transformation utilization, processing queues and document complexity alongside workflow activity. Add or tune the component responsible for the measured delay.

 

Can an existing Kofax TotalAgility or KTA environment use both approaches?

 

Potentially, subject to the installed environment and supported topology. You may increase resources for one component while adding instances elsewhere. Review compatibility, connection settings, custom components and licensing before making changes. Our TotalAgility Architecture Blueprint explains the broader deployment patterns that support this planning.

 

Plan your next TotalAgility capacity change with Flexinta

 

Flexinta provides TotalAgility support and optimization services to investigate performance issues and identify the work behind them.

 

For deployment design and growth planning, explore our Tungsten TotalAgility consulting services.