# userver-framework/userver

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/userver-framework-userver).**

2,811 stars · 365 forks · C++ · apache-2.0

## Links

- GitHub: https://github.com/userver-framework/userver
- Homepage: https://userver.tech
- awesome-repositories: https://awesome-repositories.com/repository/userver-framework-userver.md

## Topics

`async` `asynchronous` `coroutines` `cplusplus` `cplusplus-17` `cpp17` `database-access` `framework` `grpc` `high-availability` `http` `http-client` `http-server` `microservices` `mongo` `postgres` `postgresql` `redis` `server` `web`

## Description

userver is a comprehensive C++ backend application platform and asynchronous framework designed for building scalable microservices. It provides a high-performance execution environment for deploying services that communicate via gRPC and HTTP using a middleware-based request pipeline.

The platform distinguishes itself through a distributed service orchestration toolset that manages shared state, distributed locking, and dynamic configuration updates without requiring process restarts. It utilizes a coroutine-based asynchronous execution model and event-loop network I/O to handle high-concurrency tasks while minimizing operating system thread blocks.

The framework includes a broad suite of capabilities covering non-blocking database drivers for SQL and NoSQL stores, message broker integration, and local data caching. It further provides observability and reliability tools, including cloud-native service monitoring, production profiling, and chaos testing support to verify fault tolerance.

Development is supported by schema-driven code generation that produces strongly typed C++ structures from JSON and SQL definitions.

## Tags

### Web Development

- [High-Performance Web Services](https://awesome-repositories.com/f/web-development/high-performance-web-services.md) — Offers a high-performance framework for building scalable microservices that maximize throughput using asynchronous I/O.
- [Asynchronous Server Support](https://awesome-repositories.com/f/web-development/asynchronous-server-support.md) — Provides a high-performance non-blocking execution environment optimized for asynchronous microservices. ([source](https://cdn.jsdelivr.net/gh/userver-framework/userver@develop/README.md))

### Data & Databases

- [Asynchronous Database Drivers](https://awesome-repositories.com/f/data-databases/asynchronous-database-drivers.md) — Ships a suite of non-blocking database drivers for high-throughput data exchange. ([source](https://cdn.jsdelivr.net/gh/userver-framework/userver@develop/README.md))
- [Non-Relational Data Storage](https://awesome-repositories.com/f/data-databases/non-relational-data-storage.md) — Provides non-blocking integration for interacting with NoSQL databases. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [Relational Database Drivers](https://awesome-repositories.com/f/data-databases/relational-database-drivers.md) — Implements drivers for executing queries and managing transactions across SQL-compatible databases. ([source](https://userver.tech/de/d6a/md_en_2index.html))

### DevOps & Infrastructure

- [Distributed Task Coordination](https://awesome-repositories.com/f/devops-infrastructure/distributed-lock-coordination/distributed-task-coordination.md) — Coordinates distributed tasks and shared state across multiple instances using locking primitives. ([source](https://userver.tech/))
- [Distributed Locks](https://awesome-repositories.com/f/devops-infrastructure/distributed-locks.md) — Provides distributed locking primitives to synchronize state and task execution across service instances.
- [Dynamic Configuration Management](https://awesome-repositories.com/f/devops-infrastructure/dynamic-configuration-management.md) — Enables updating service settings and runtime parameters dynamically without requiring process restarts. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [Service Health Monitoring](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/operational-observability-access/service-health-monitoring.md) — Collects performance metrics and inspects in-flight requests for export to external monitoring systems. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [Chaos Engineering Frameworks](https://awesome-repositories.com/f/devops-infrastructure/chaos-engineering-frameworks.md) — Ships tools for simulating unpredictable failures and network instabilities to verify system fault tolerance. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [Backend Resilience Toolsets](https://awesome-repositories.com/f/devops-infrastructure/resilient-infrastructure/backend-resilience-toolsets.md) — Includes dynamic configuration updates and chaos testing support to ensure high availability and fault tolerance.

### Networking & Communication

- [Distributed Coordination Services](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-systems-coordination/distributed-systems-infrastructure/distributed-coordination-services.md) — Provides primitives for distributed state management, locking, and coordination across multiple service instances.
- [gRPC Microservices Integration](https://awesome-repositories.com/f/networking-communication/grpc-microservices-integration.md) — Integrates gRPC as the primary communication layer with built-in support for timeouts and retries. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [HTTP Traffic Handling](https://awesome-repositories.com/f/networking-communication/http-traffic-handling.md) — Processes incoming HTTP, HTTPS, and WebSocket traffic through a programmable middleware pipeline. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [gRPC Service Implementations](https://awesome-repositories.com/f/networking-communication/polyglot-client-support/grpc-implementations/grpc-service-implementations.md) — Provides a framework for implementing gRPC services with built-in support for middleware, timeouts, and retries.

### Operating Systems & Systems Programming

- [Coroutine-Based Asynchronous I/O](https://awesome-repositories.com/f/operating-systems-systems-programming/asynchronous-i-o-libraries/coroutine-based-asynchronous-i-o.md) — Utilizes coroutines to manage high-concurrency I/O and avoid expensive operating system thread blocks.

### Software Engineering & Architecture

- [Asynchronous Frameworks](https://awesome-repositories.com/f/software-engineering-architecture/asynchronous-task-managers/c-task-engines/asynchronous-frameworks.md) — Implements a high-performance C++ framework utilizing coroutines and event-loop I/O for scalable asynchronous services.
- [Backend Application Platforms](https://awesome-repositories.com/f/software-engineering-architecture/backend-application-platforms.md) — Provides a full-featured toolkit for production-grade backend apps with integrated logging, metrics, and tracing.
- [Non-blocking IO Architectures](https://awesome-repositories.com/f/software-engineering-architecture/non-blocking-io-architectures.md) — Architects non-blocking drivers for network and database operations to maximize worker thread efficiency.
- [Asynchronous Task Managers](https://awesome-repositories.com/f/software-engineering-architecture/asynchronous-task-managers.md) — Manages the construction and cancellation of asynchronous tasks using low-level synchronization. ([source](https://cdn.jsdelivr.net/gh/userver-framework/userver@develop/README.md))
- [Background Task Schedulers](https://awesome-repositories.com/f/software-engineering-architecture/execution-control/background-task-schedulers.md) — Executes periodic background work using distributed locks to ensure data consistency. ([source](https://userver.tech/de/d6a/md_en_2index.html))
- [Dependency Injection](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/dependency-injection.md) — Organizes service logic into reusable components with managed lifecycles via dependency injection.
- [Request Interception Middleware](https://awesome-repositories.com/f/software-engineering-architecture/request-interception-middleware.md) — Implements a middleware-based request interception chain for authentication, logging, and tracing.

### System Administration & Monitoring

- [Event-Driven I/O](https://awesome-repositories.com/f/system-administration-monitoring/administrative-operations/linux-system-administration/networking/connection-lifecycle-management/parallel-network-i-o/event-driven-i-o.md) — Employs an event-loop based network I/O model to handle multiple simultaneous TCP connections.
- [Cloud Native Observability](https://awesome-repositories.com/f/system-administration-monitoring/cloud-native-observability.md) — Provides integrated metrics, tracing, and live profiling for monitoring health in cloud-native production environments.
- [Live Process Profilers](https://awesome-repositories.com/f/system-administration-monitoring/diagnostic-tools/diagnostics/memory-profilers/live-process-profilers.md) — Allows analysis of memory usage and debugging of running processes in a live production environment. ([source](https://userver.tech/))
- [Service Utility Components](https://awesome-repositories.com/f/system-administration-monitoring/service-utility-components.md) — Provides high-level utility tools for implementing local caches, distributed locking, and observability primitives. ([source](https://cdn.jsdelivr.net/gh/userver-framework/userver@develop/README.md))

### Development Tools & Productivity

- [gRPC Interceptor Libraries](https://awesome-repositories.com/f/development-tools-productivity/grpc-interceptor-libraries.md) — Implements gRPC client interceptors for shared logic including authentication, rate limiting, and tracing. ([source](https://userver.tech/de/d6a/md_en_2userver_2grpc_2client__middlewares.html))
- [Schema-Driven Code Generators](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/code-generation/schema-driven-code-generators.md) — Generates strongly typed C++ structures by parsing external JSON and SQL definitions.
- [Schema-Based Code Generators](https://awesome-repositories.com/f/development-tools-productivity/schema-based-code-generators.md) — Automatically creates C++ types and logic from JSON schemas and SQL files. ([source](https://userver.tech/de/d6a/md_en_2index.html))

### Part of an Awesome List

- [DevOps & Infrastructure](https://awesome-repositories.com/f/awesome-lists/devops/devops-infrastructure.md) — Production-ready asynchronous framework
- [Web Development](https://awesome-repositories.com/f/awesome-lists/devtools/web-development.md) — Asynchronous framework for microservices.
- [Web Frameworks](https://awesome-repositories.com/f/awesome-lists/devtools/web-frameworks.md) — Asynchronous framework for building efficient microservices and utilities.
