AI engineering glossary · MLOps, LLMOps cloud

What is stateless service?

Stateless service: A service that keeps no user-specific data in its own memory between requests, so any instance can answer any request. This makes it easy to add, remove and replace copies, which is why state is kept in databases or caches.

Level: intermediateTopic: MLOps, LLMOps cloud

Stateless service: an example

Any of the ten API replicas can handle a user's next message because the conversation history lives in a shared database.

Related terms

More MLOps, LLMOps cloud terms

Where you learn it

Stateless service is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.