10 dépôts
Utilities for managing the lifecycle and persistence of request-scoped data during asynchronous operations.
Distinguishing note: No existing candidates provided; this category captures lifecycle control for request contexts.
Explore 10 awesome GitHub repositories matching web development · Request Context Management. Refine with filters or upvote what's useful.
Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing. The framework distinguishes itself through its multi-process architecture, which supports prefork socket reuse to distribute incoming traffic across all available CPU cores. It offers a modular approach to application development, feat
The framework prevents automatic resource recycling during long-running asynchronous tasks by marking request contexts as abandoned, ensuring data remains available throughout the operation.
This project is an educational framework designed to teach the fundamentals of building core distributed systems and web services from scratch in Go. It provides a collection of modular implementations that demonstrate how to construct essential infrastructure components, including web servers, remote procedure call systems, distributed caches, and database abstraction layers. The framework distinguishes itself by focusing on the internal mechanics of these systems rather than providing a high-level abstraction for production use. It covers the implementation of complex architectural patterns
Wraps raw HTTP request and response objects into a unified structure that persists throughout the request lifecycle.
LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code. The project provides specialized guides and samples covering several key domains. These include asynchronous network programming with event loops and coroutines, data visualization using numerical datasets for 2D and 3D plots, and web scraping for fetching content and automating login flows. It also features instructions on
Demonstrates the management of request-scoped data and session information using global application objects.
Buffalo est un framework web MVC complet et une chaîne d'outils full-stack pour construire des applications web en Go. Il fournit un environnement de développement structuré qui sépare les modèles, les vues et les contrôleurs, intégrant un framework web avec un wrapper d'ORM (Object-Relational Mapper) dédié pour la gestion des schémas de base de données et des enregistrements. Le projet se distingue par un ensemble d'utilitaires de développement pour amorcer les structures de projet, gérer les actifs et construire des conteneurs prêts pour la production. Il dispose d'un système de routage sophistiqué qui prend en charge la génération de ressources RESTful basée sur des conventions, l'hébergement virtuel basé sur le domaine et la création d'helpers de route pour un liage interne cohérent. Le framework couvre un large éventail de capacités web fondamentales, notamment les pipelines de requêtes basés sur des middlewares, le rendu de modèles dynamiques et la gestion d'état limitée à la requête. Il inclut également une prise en charge intégrée du traitement des tâches en arrière-plan, de la gestion des sessions, de l'envoi d'e-mails et de l'arrêt gracieux du serveur.
Manages the lifecycle and persistence of request-scoped data and session state across handlers.
This project is a Go client library and API wrapper for interacting with Elasticsearch clusters. It serves as a programmatic interface for managing documents, indices, and cluster health, allowing Go applications to perform search and indexing operations via the REST API. The library functions as a distributed search orchestrator, providing specialized tools for high-throughput data ingestion and cluster administration. It features a buffered bulk processor with exponential backoff retries for optimizing write performance and supports automated index lifecycle transitions and historical data
Integrates Go contexts into the HTTP transport layer to manage API call timeouts and cancellations.
Hyperf is a high-performance PHP coroutine framework designed for building microservices and middleware. It utilizes non-blocking coroutines to handle high concurrency and low-latency request processing, providing a foundation for scalable distributed systems. The framework is distinguished by an aspect-oriented programming based dependency injector that enables pluggable components and meta-programming. It includes a coroutine-optimized object-relational mapper with integrated model caching and an orchestration toolkit for microservice governance, featuring service discovery, circuit breaker
Applies different validation rules to requests based on the current execution context scene.
express-graphql est une implémentation de serveur API GraphQL et un middleware HTTP qui connecte un schéma GraphQL à un serveur HTTP. Il fournit un analyseur de requêtes pour extraire les requêtes et variables depuis divers types de contenu, ainsi qu'un fournisseur de contexte pour injecter les données de requête HTTP et l'état de session dans les fonctions de résolution (resolvers). La bibliothèque inclut un IDE interactif basé sur le navigateur qui détecte les requêtes GET pour servir une interface HTML permettant de tester les requêtes et d'inspecter les réponses. Elle prend également en charge un pipeline d'exécution personnalisé, permettant de remplacer les fonctions par défaut d'analyse, de validation, d'exécution et de formatage d'erreurs. Le projet couvre l'intégration d'API via middleware et l'analyse des paramètres de requête, ainsi qu'une architecture pour la validation de requêtes basée sur l'AST et l'exécution basée sur le schéma. Il fournit en outre des mécanismes pour l'extension des métadonnées de réponse et l'application de règles de validation pour restreindre des champs ou opérations spécifiques.
Manages the passing of user session data and authentication tokens from HTTP requests into resolvers.
CppGuide is a curated collection of educational resources and practical guides focused on C++ server development, Linux kernel internals, concurrent programming, network protocols, and security exploitation. It provides structured learning paths for backend developers, covering everything from interview preparation to building high-performance network servers and understanding operating system fundamentals. The guide distinguishes itself by offering in-depth, hands-on tutorials that walk through real-world implementations, including building a Redis-like server from scratch, designing custom
Explains passing request-scoped data, cancellation signals, and deadlines through a context tree.
This is a dependency injection framework and inversion of control container for Python. It decouples object creation from business logic by managing how services and their dependencies are assembled, delivered, and linked within an application. The framework is distinguished by its ability to perform automated component wiring, using import hooks and decorators to inject dependencies into functions and classes across different modules. It supports non-blocking flows through an asynchronous dependency resolver and manages the initialization and shutdown sequences of shared external resources a
Creates singletons scoped to specific execution contexts to ensure separate instances for each request.
Quart is an asynchronous Python web framework that implements the ASGI specification. It is used to build high-performance HTTP and WebSocket services, JSON REST APIs, and web applications using async and await syntax for non-blocking request handling. The framework supports persistent bidirectional communication via WebSocket API servers and enables the proactive delivery of assets through HTTP server push. It also includes a template engine for rendering dynamic HTML web pages and supports incremental request and response streaming to manage large payloads. General capabilities cover reque
Provides utilities for managing the lifecycle and persistence of request-scoped data during asynchronous operations.