Python tutorial - IT technology blog

Pytest-xdist: Running Tests in Parallel in Python, Speed Up Your Test Suite by 4x

A 300-test suite that takes 8 minutes on every push is something no developer wants to deal with. pytest-xdist targets the root cause: spawning multiple workers to run in parallel, putting all your CPU cores to work instead of waiting sequentially. This article covers installation, choosing the right --dist strategy, and practical tips to avoid common pitfalls when switching to parallel testing.
CentOS tutorial - IT technology blog

tuned-adm on CentOS Stream 9: Optimize Web Server, Database, and HPC Performance with the Right Profile

tuned-adm lets you optimize CentOS Stream 9 performance with a single command — pick the right profile for Web Server, Database, or HPC instead of spending hours on manual tuning. This article compares the throughput-performance, network-throughput, latency-performance, and hpc-compute profiles, with a guide to creating custom profiles and benchmarking your results.