Skip to content

Memory usage explained #2711

Answered by hengfeiyang
ancoron asked this question in Q&A
Feb 17, 2024 · 6 comments · 11 replies
Discussion options

You must be logged in to vote

@ancoron thank your for the test, actually the memory usage is a very complex question. let me try to explain it.

OpenObserve is a big binary includes some components:

  • Ingester
  • Querier
  • Compactor
  • Router
  • UI

It is an all-in-one server when you run it as a single instance. All-in-one means it will run everything inside an instance.

Okay, What will be in memory?

  • Runtime: process HTTP / gRPC request, especially ingest data.
  • Ingester cache: store recently data in memory table
  • Querier cache: store latest query data in memory cache.
  • Query engine: we are using a memory data model to analyze and compute the query.
  • Compacter: merge small files into big files.

Let me make more details about this.

R…

Replies: 6 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@prabhatsharma
Comment options

@ancoron
Comment options

Comment options

You must be logged in to vote
8 replies
@hengfeiyang
Comment options

@TessaIO
Comment options

@TessaIO
Comment options

@hengfeiyang
Comment options

@TessaIO
Comment options

Answer selected by ancoron
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hengfeiyang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants