16 个仓库
Mechanisms for defining, enforcing, and handling request deadlines to prevent resource exhaustion.
Explore 16 awesome GitHub repositories matching networking & communication · Request Timeout Management. Refine with filters or upvote what's useful.
The Model Context Protocol is a standardized communication framework designed to connect language models to external data sources, functional tools, and interactive user interfaces. It provides a vendor-neutral interface layer that enables AI hosts to discover and execute capabilities across heterogeneous service environments, using a JSON-RPC based messaging standard to facilitate bidirectional communication between clients and servers. The protocol distinguishes itself through a robust capability-based handshake that negotiates feature sets during session initialization, ensuring compatibil
Defines request deadlines and cancellation notifications to prevent resource exhaustion from hung or unresponsive connections.
This project is a comprehensive Java backend engineering guide and technical reference focused on high-concurrency design, distributed systems, and microservices architecture. It provides detailed strategies for decomposing monolithic applications, managing service discovery, and implementing the architectural patterns required for scalable backend environments. The repository distinguishes itself through an extensive collection of big data algorithmic references and database scaling strategies. It covers memory-efficient techniques for analyzing massive datasets, such as Top-K element extrac
Enforces request deadlines and triggers fallbacks to prevent resource exhaustion during failures.
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
The framework allows callers to define a maximum duration for remote procedure calls using context-based cancellation to prevent hanging operations.
This project provides a TypeScript software development kit for the Model Context Protocol, a standard designed to facilitate bidirectional communication between AI applications and external data sources or tools. It serves as a foundational framework for building both clients and servers, enabling language models to interact with external systems through a unified, decoupled interface. The SDK distinguishes itself by implementing a transport-agnostic connection layer that supports both local standard input-output streams and remote HTTP endpoints. It utilizes a JSON-RPC message bus to manage
Enforces time limits on pending requests to prevent resource exhaustion from hung connections.
The inspector is a diagnostic and validation tool for the Model Context Protocol. It provides an interactive interface and a transport proxy to discover, inspect, and execute the tools, prompts, and resources provided by an MCP server. The project serves as a debugger and compliance tester to verify that server implementations adhere to the protocol specification and JSON-RPC standards. It allows for real-time monitoring of message exchanges and logs between clients and servers across various transport layers, such as standard input/output and Server-Sent Events. The tool covers a broad rang
Sets deadlines for outgoing requests and issues cancellation notices to preserve server resources.
Model Context Protocol is a standardized framework for connecting large language models to external data sources and executable tools. It enables the creation of a universal interface where servers expose tools, resources, and prompts that can be discovered and utilized by various AI clients. The protocol utilizes a JSON-RPC message system that is transport-agnostic, supporting both standard input/output for local processes and HTTP with server-sent events for remote connections. It emphasizes security and control by delegating model sampling to the client to keep API keys secure from servers
Model Context Protocol set time limits on outgoing requests to prevent resource exhaustion from unresponsive peers.
This is a high-performance C++ HTTP web server designed for delivering static content. It operates as an asynchronous event loop server that combines IO multiplexing with worker thread pools to handle concurrent requests without blocking. The server specializes in TCP connection management, featuring keep-alive sessions, request pipelining, and timer-based timeout tracking for idle sockets. To ensure high throughput, it utilizes double-buffered asynchronous logging and background threads to prevent disk I/O latency from impacting network traffic. The system covers broad capability areas incl
Implements request timeout management to automatically close inactive connections and reclaim system resources.
This project is a comprehensive educational resource and curriculum focused on site reliability engineering, distributed systems, and infrastructure operations. It provides technical guides, a systems engineering course, and instructional manuals designed to teach the principles of managing large-scale computing environments. The curriculum covers high-level architectural design for scalability and resilience, including fault-tolerant infrastructure, high-availability patterns, and microservices decomposition. It emphasizes the practical application of site reliability engineering through the
Covers the definition and enforcement of request deadlines to prevent resource exhaustion.
BAML is a prompt engineering framework and LLM client generator that defines AI prompts as type-safe functions. It serves as a structured data extraction tool and workflow orchestrator, transforming unstructured model responses into strongly typed objects using a custom schema language and alignment algorithms. The project distinguishes itself by using a compiler to generate language-specific boilerplate code for API communication and output parsing. It features a dedicated environment for designing complex prompt templates with conditional logic and reusable snippets, and employs genetic alg
Implements strict limits on connection time and token delivery gaps to prevent hanging API calls.
This project is a learning guide and collection of study notes designed to teach Node.js backend development. It provides a comprehensive core API reference and practical demonstrations for implementing server-side logic, network programming, and system APIs. The guide specifically covers advanced technical domains including process management for scaling applications via clusters and child processes, as well as network programming for building TCP, UDP, and HTTP services. It also includes detailed instructional material on security implementation, focusing on cryptographic hashing and encryp
Implements mechanisms for defining and enforcing request deadlines to prevent resource exhaustion.
Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a distributed service broker, task orchestrator, and service mesh framework, enabling a decentralized architecture with built-in service discovery and load balancing. The project differentiates itself through a pluggable transport layer supporting protocols such as NATS, Redis, TCP, and Kafka, as well as a dedicated microservices API gateway that maps external HTTP and WebSocket requests to internal service actions. It includes built-in fault tolerance mechanisms, including circuit breake
Limits the duration a service call can run and propagates the remaining time across nested distributed calls.
该项目是一个集成框架,用于在 Spring Boot 应用中引导 Apache Dubbo 远程过程调用(RPC)服务。它作为一个微服务通信框架,通过自动化配置实现 RPC 服务、服务发现和分布式治理。 该项目的独特之处在于提供了一个跨语言 RPC 桥接,允许使用不同语言编写的服务通过 gRPC 和 Protobuf 等标准进行通信。它还支持使用 Triple 协议将后端微服务暴露为 REST 端点,以便从 Web 浏览器和第三方客户端直接访问。 该框架涵盖了广泛的功能,包括用于流量路由和限流的分布式服务治理、集中式配置管理,以及用于请求追踪和健康监控的微服务可观测性。它还支持多种传输层以及 Redis 和 Memcached 的存储集成。 该项目提供 Starter 和配置,以自动化 Spring Boot 环境中 RPC 基础设施的引导。
Establishes global default time limits for service calls to prevent resource exhaustion from hanging requests.
This is a Ruby HTTP client designed for REST API integration, resource modeling, and automated network communication. It provides a set of tools for managing headers, cookies, and SSL configurations, along with a dedicated command-line interface for executing one-off HTTP commands and managing interactive API testing sessions. The project differentiates itself through its resource modeling capabilities, which allow for the definition of persistent base URLs and credentials to construct nested subresource endpoints. It also features a multipart request handler that detects MIME types to upload
Enforces global or per-request connection and read timeouts to prevent requests from hanging indefinitely.
Typhoeus is a Ruby wrapper for libcurl that functions as a session-based HTTP client. It provides an interface for making both synchronous and asynchronous network requests. The project acts as a parallel request manager, using a managed queue to execute multiple network requests concurrently. It further distinguishes itself as a mocking tool for stubbing requests with predefined responses and as a caching layer that stores responses to avoid redundant network calls. The library covers a broad range of capabilities including session cookie management, response body streaming for large files,
Sets time limits for connections and total request durations to prevent application hangs.
Tower is a modular service abstraction layer for the Rust programming language, providing a framework for building asynchronous request-response pipelines. It serves as a set of core components for managing backpressure, balancing loads, and abstracting service discovery. The project distinguishes itself through a layer-based middleware composition model, allowing services to be wrapped in recursive chains of decorators. This enables the declarative application of cross-cutting concerns, such as timeouts, rate limiting, and retries, in a protocol-agnostic manner. The library covers a broad r
Terminates requests that do not complete within a specified timeframe to prevent resource exhaustion.
Contour 是一个 Kubernetes Ingress 控制器,通过编排 Envoy 代理实例来管理外部 HTTP 和 TCP 流量。它作为一个控制平面,将声明式 Kubernetes API 对象转换为动态代理配置,从而实现实时流量管理,而无需重启基础设施。 该系统通过专注于多租户集群网络和委托配置而脱颖而出。通过允许路由规则跨命名空间分区,它使多个团队能够在共享集群内安全地管理自己的流量策略。它通过将身份验证和访问控制决策卸载到外部服务,并提供对虚拟主机和凭据的细粒度控制,进一步支持复杂环境。 除了核心路由外,该项目还提供了一套全面的流量管理和安全功能。这包括高级负载均衡、断路器、速率限制和 TLS 终止,以及强大的可观测性功能,如分布式请求跟踪、结构化访问日志记录和主动后端健康监控。该控制器通过领导者选举协调确保高可用性,并在初始化期间验证配置对象以防止运行时错误。
Enforces response deadlines and idle connection limits to prevent resource exhaustion during slow service responses.