> For the complete documentation index, see [llms.txt](https://docs.seldon.ai/seldon-core-2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.seldon.ai/seldon-core-2/user-guide/performance-tuning/pipelines.md).

# Pipelines

This section covers various aspects of optimizing pipeline performance in Seldon Core 2, from testing methodologies to Core 2 configuration. Each subsection provides detailed guidance on different aspects of pipeline performance tuning:

## [Testing Pipelines](/seldon-core-2/user-guide/performance-tuning/pipelines/testing-pipelines.md)

Learn how to effectively test and optimize pipeline performance:

* Understanding pipeline latency components
* Identifying and reducing bottlenecks
* Balancing model replicas and resources

## [Core 2 Configuration](/seldon-core-2/user-guide/performance-tuning/pipelines/core-2-configuration.md)

Explore how to configure Core 2 components for optimal pipeline performance:

* Understanding Core 2 data processing components
* Optimizing Kafka integration
* Configuring Core 2 services

## [Scalability of Pipelines](/seldon-core-2/user-guide/performance-tuning/pipelines/scalability-pipelines.md)

Understand how Core 2 components scale with the number of deployed pipelines and models:

* Dynamic scaling of dataflow engine, model gateway, and pipeline gateway
* Loading and unloading of models and pipelines
* Assignment of pipelines and models to replicas

Each of these aspects plays a crucial role in achieving optimal pipeline performance. We recommend starting with testing individual models in your pipeline, then using those insights to inform your Core 2 configuration and overall pipeline optimization strategies.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.seldon.ai/seldon-core-2/user-guide/performance-tuning/pipelines.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
