# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
