Project implementation: briefly how and what works in DVT
Each launch is a separate task. One worker performs one task at a time; Multiple workers allow you to carry out multiple projects at the same time.
Partitions — parts of data; threads are the executors of these parts inside the worker. The number of workers determines the parallelism of projects, the number of threads determines the parallelism of data processing within the project.
When processing by partitions, the current parts of the data are in memory. Sorting, grouping, pivot, some join, saving to Excel and converting to JSON may require the entire data set. There is no upper limit on memory size; the task depends on the available resources and protection settings.
Where to start setting up: leave automatic partitioning, select an indexed segmentation column and select the number of threads based on execution time, memory and database load. For small tables, the number of partitions can be set manually.
Details:
Cache and restarts. A complete analysis with the features of service requests, different result nodes and the cache is in the article “How DVT carries out a project”.