# Serving

## Gateway

![](/files/-MKstMip0pHT8HFU6A17)

Gateway is a service responsible for routing requests to/from or between Servables and Applications and validating these requests for matching a Model's/Application signature.

The Gateway maps a model’s name to a corresponding container. Whenever it receives a request via HTTP API, GRPC, or Kafka Streams, it communicates with that container via the gRPC protocol.

![Gateway enables data flow between different stages in an Application Pipeline](/files/-MKstMj1mCQj-lj9-oJ6)

## Manager

![](/files/-MKstMj28Xj9I0vX4IW_)

Manager is responsible for:

* Building a Docker Image from your ML model for future deployment
* Storing these images inside a Docker Registry deployed alongside with

  manager service
* Versioning these images as Model Versions
* Creating running instances of these Model Versions called Servables

  inside Kubernetes cluster
* Combining multiple Model Versions into a linear graph with a single

  endpoint called Application


---

# 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.hydrosphere.io/release-2.4.1/about/services/serving.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.
