장비 증설 없이 VictoriaMetrics의 리소스 최적화 전략을 다룬 글입니다.
이 글에서는 VictoriaMetrics 클러스터에서 장비를 증설하지 않고도 리소스 문제를 해결하기 위한 소프트웨어적 최적화 과정을 설명합니다. 주로 조회, 저장, 수집 레이어에서 최적화 작업을 진행했고, 이를 통해 OOM 문제를 해결했습니다. 특히 vmselect에 대한 Slow Query 문제와 데이터 기반의 RetentionPeriod 정책 재설계 방법을 중점적으로 다루고 있습니다.
This article discusses resource optimization strategies for VictoriaMetrics without hardware expansion.
The article describes how to solve resource issues in a VictoriaMetrics cluster without expanding hardware through software optimizations. It focuses on optimizing three layers: query, storage, and collection, addressing problems like OOM in vmselect due to slow queries. It also discusses the redesign of the RetentionPeriod policy based on data analysis.