GenServer

Noun · Development

Definitions

  1. A generic server behavior module in Erlang/OTP and Elixir that abstracts the common client-server interaction pattern, handling synchronous and asynchronous messages with built-in supervision and state management.

    In plain English: A ready-made blueprint in Elixir for building a process that holds state and responds to messages, like a worker that listens for requests and remembers things between calls.

    Example: "Every stateful process in our Elixir app is a GenServer — the chat rooms, the rate limiters, even the cache."

Related Terms