The GeekNarrator cover image

The GeekNarrator

VictoriaMetrics internals - Making monitoring simple and reliable at massive scale

Jan 20, 2024
Join the insightful discussion with creators Alex and Roman on VictoriaMetrics, a highly scalable monitoring solution and time series database. Explore its origins, evolution, unique architecture, data ingestion, and integration. Learn about the Vector Metric architecture, the role of object storage, and the importance of indexing. Discover the process of data ingestion and selection, and explore future plans for VictoriaMetrics.
01:03:00

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • The architecture of Victoria Metrics consists of ingestion nodes, storage nodes, and select nodes, which work together to handle data ingestion and query processing.
  • Data can be ingested into Victoria Metrics using a pull or push approach, with support for various ingestion protocols and a metrics collector called VM Agent.

Deep dives

Victoria Metrics architecture and scalability

The architecture of Victoria Metrics consists of ingestion nodes, storage nodes, and select nodes. Ingestion nodes use consistent hashing to determine which storage node to send the data to. Data is buffered for one second before being written to disk, and indexes are created for better data retrieval. Select nodes receive user queries and fan out the query to all storage nodes. Data is retrieved from storage nodes and processed to form a JSON response. Victoria Metrics can be scaled horizontally by adding more storage and select nodes. The system is designed to be robust and can handle failures of individual nodes without disrupting data ingestion or query processing.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner