Athento performance depends on the load borne by the service resources (nodes, hardware —CPU and RAM—, database, ElasticSearch, repositories, application server, bandwidth, latencies, cache, etc.). This load may come from multiple sources:
- User requests from the interface.
- Requests through the API.
- Queries and searches (queues, searches, exports).
- Mass uploads and downloads.
- Processes and workflows.
- Integrations.
- Operations or automations that run on documents.
- Programmatic tasks and other bulk processes.
- Document generation.
- Format conversion.
- Text extraction.
Athento plans are designed and tested to deliver performance in line with the plan limits. However, there are characteristics of your implementation configuration that can directly impact service performance. The goal of this article is to help you keep the platform organized and configured to preserve its health and facilitate its growth.
IMPORTANT: Athento cannot guarantee adequate service performance when the customer does not comply with the limits and recommendations set.
Limits and recommendations for volumes and configurations are indicated below. If your Athento installation has performance issues, carefully review each of the following points.
Number of documents or records
As a general rule, the applicable limit is the one indicated in your plan. Athento has performance benchmarks on instances with 600 million documents.
Distribution of documents/records
|
Level |
Maximum recommended limit |
|
At environment level |
Up to 300 million |
|
Team |
Up to 30 million |
|
At space or series level |
Up to 10 million per space |
|
Number of spaces per team |
Up to 500 |
|
Number of forms per team |
Up to 250 |
What can I do to stay within the limits?
- Define Retention Policies and apply document archiving.
- Distribute documents across different teams.
- Within a team, distribute content across different spaces.
- If you exceed 50M documents, it is necessary to use ElasticSearch.
Number of field values
Athento has benchmarks of 1 trillion field values.
Field-level limits
|
Level |
Maximum recommended limit |
|
Number of forms |
Up to 1000 |
|
Number of fields per form |
Up to 200 |
|
Number of templates per form |
Up to 300 |
|
Number of categories per form |
Up to 50 |
|
Number of display rules per category in a form (category automations) |
Up to 1 |
|
Number of display rules per field in a form (field automations) |
Up to 1 |
What can I do to stay within the limits?
- Split the fields into multiple forms. Use a main form and auxiliary forms to store data, so that no form grows excessively.
- Within a form, distribute the fields into categories and, if possible, avoid preloading them.
- Whenever possible, use display rules by categories instead of by individual fields.
- When you have many categories, mark them as not loaded.
- Use Dictionaries instead of Choice Default fields.
- Enable OnlineSearch when the options in a dropdown exceed 50 items.
Queues or trays
|
Level |
Maximum recommended limit |
|
Trays published per dashboard |
Up to 30 |
|
Items per tray or queue |
Up to 500 |
|
Columns per queue |
Up to 15 |
What can I do to keep trays optimal?
- Publish on the dashboard only the trays that require user intervention.
- Use saved searches instead of trays.
- Avoid the use of complex masks and, if they are essential, request the use of Redis.
Searches
To ensure search performance in instances with volumes greater than 50 million documents, it is recommended to:
- Narrow searches by space and/or by form.
- Avoid unbounded full-text searches.
- Verify that the queries are optimized.
- Use PostgreSQL and ElasticSearch indexes.
Operations, automations and commands
As a general rule, the automation limit is the limit of Automation Units in your plan.
|
Level |
Maximum recommended limit |
|
At space level |
Up to 50 |
|
At document level |
Up to 30 |
|
Execution time per operation |
Up to 5 seconds |
What can I do to avoid affecting performance with automations?
- Do not abuse on-load operations, as they increase document load times.
- Ensure the quality and efficiency of custom operations. You can use the QualityChecker from the operations library.
- Monitor the execution times of your custom operations.
- Whenever possible, run commands and programmatic tasks outside business hours.
- Keep in mind that some document generation or format conversion automations consume many resources.
- If you work with large volumes, consider the possibility of parallelizing or running automations in the background.
- Develop unit tests for your custom operations.
- Whenever you can, use product functionality instead of an automation.
See also Best practices for the development of custom software in Athento
Exports, imports, migrations and other bulk taks
|
Level |
Maximum recommended limit |
|
Exports that occur every 60 minutes or less |
Max. 1,000 records |
|
Exports that occur once a day |
Max. 50,000 records |
What can I do to avoid affecting performance with bulk tasks?
- If you use a BI system, perform incremental exports. Follow the recommendations in How to configure the export of a report for integration with a BI system?
- Perform bulk tasks outside business hours.
- Use native SQL export functions.
- Split uploads/downloads into smaller packages.
- Export only the columns you need.
User requests from the product interface
By default, the user limit is the one established by your plan. The users in your plan are named users, concurrent.
Requests via API
By default, the request limit is the limit of API calls included in your plan. What are the API calls included in my plan?
|
Level |
Maximum recommended limit |
|
Calls per day |
5% of the monthly capacity. |
|
Calls per second |
3 requests per second per user. |
What can I do to avoid affecting performance with API calls?
- Optimize your queries.
- Distribute requests over time.
- Use other mechanisms for migrations and, if not possible, perform the uploads outside business hours.