# Performance and Scalability

> Scale TX Text Control .NET Server: threads, ParallelMailMerge processes, container sizing for editing sessions, memory, large documents and best practices.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > Performance and Scalability
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/llms-full.txt

---

## On This Page

- [Two Kinds of Load](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/#two-kinds-of-load)
- [Find the Right Page](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/#find-the-right-page)
- [Where to Start](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/#where-to-start)

---

## In This Section

- [Performance Best Practices](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/best-practices/llms.txt): Measured ways to speed up TX Text Control: the Core engine, Selection objects, the internal format, a late PDF, short requests and measuring your own workload.
- [Container Scaling](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/container-scaling/llms.txt): Size and scale containers for TX Text Control: memory per editing session, CPU for the backend, scaling processing on CPU or queue length and licenses.
- [Large Documents](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/large-documents/llms.txt): Handle documents with thousands of pages: viewer streaming, request size limits in Kestrel and IIS, long merges, text replacement in large DOCX and PDF size.
- [Memory Usage](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/memory-usage/llms.txt): Track memory in TX Text Control: ServerTextControl in your process, editing sessions in worker processes, spell check dictionaries and disposing instances.
- [Multiple Processes](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/multiple-processes/llms.txt): Merge large batches in several processes with ParallelMailMerge: why processes, the worker handoff, parallel jobs, ASP.NET Core, options and measurements.
- [Threading](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/threading/llms.txt): Use ServerTextControl and MailMerge on several threads: thread safety and critical sections, one instance per operation, parallel loops and background work.

---

## Nearby

- **Previous:** [Compliance](https://docs.textcontrol.com/tx-text-control-dotnet-server/security/compliance/llms.txt)
- **Next:** [Threading](https://docs.textcontrol.com/tx-text-control-dotnet-server/performance/threading/llms.txt)
