awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Tencent avatar

Tencent/mars

0
View on GitHub↗
17,638 stars·3,692 forks·C++·6 vues

Mars

Mars is a cross-platform networking SDK and high-performance logging framework. It provides a network reliability layer for managing short and long-lived connections across different operating systems, alongside a diagnostic tool for recording system events to disk with minimal application overhead.

The project features a persistent connection manager that maintains bidirectional server links using heartbeats and sequence tracking. It includes a traffic control engine to prevent server request avalanches by limiting the frequency and volume of outgoing requests. To improve connectivity, it utilizes a reliability layer with DNS resolution and backup IP lists.

The system covers a broad range of capabilities including network request lifecycle coordination, application lifecycle state tracking to optimize connection behavior for mobile devices, and identity authentication through handshake processes. Its logging capabilities utilize memory-mapped files and asynchronous writing to record diagnostic data and system events.

Features

  • Cross-Platform Networking - Provides a unified networking interface for sending and receiving data across different operating systems.
  • Network Management - Provides a comprehensive SDK for creating and managing short and long-lived network connections across platforms.
  • Log Buffering - Implements a high-speed writing mechanism that separates log generation from disk I/O to minimize application overhead.
  • Log-Based Memory Mapping - Writes diagnostic data to disk using memory-mapped files to reduce the overhead of frequent system calls.
  • Network Primitives - Provides low-level network structures such as sockets and message queues for raw data transmission.
  • Connection Lifecycle Managers - Maintains long-term bidirectional links between a client and server with automatic heartbeats and reconnection handling.
  • Network Reliability - Improves connectivity through DNS resolution, backup IP lists, and adaptive connection retry strategies.
  • Persistent Network Connections - Maintains long-term bidirectional server links using heartbeats and sequence tracking.
  • Connection Heartbeats - Maintains bidirectional links and detects connection failure by exchanging periodic heartbeat signals.
  • High-Performance Logging - Provides a high-performance logging framework that records diagnostic data with minimal resource consumption.
  • Request Lifecycle Managers - Coordinates the flow of data tasks by serializing requests, transmitting data, and parsing responses via callbacks.
  • Request Sequencing - Manages the lifecycle of network tasks by serializing requests and routing responses through custom callbacks.
  • Connection Management - Improves connection success rates through DNS resolution backups and intelligent retry mechanisms.
  • Connection Management Strategies - Adjusts connection retry frequency based on the active application state to reduce battery and data usage.
  • DNS Failure Recovery - Converts domain names to IP addresses and utilizes backup IP lists to ensure reliable connection success.
  • Backup IP Lists - Improves connection reliability by utilizing backup IP lists when domain name resolution fails.
  • Mobile Connection Optimization - Reduces battery drain and data usage by adjusting connection strategies based on device state and network quality.
  • Application State Integration - Notifies the networking layer of background transitions and connectivity changes to optimize connection behavior.
  • Network Diagnostics - Runs diagnostic tests such as heartbeats and DNS lookups to assess and optimize connection health.
  • Connection Authentication Mechanisms - Verifies the identity of a persistent connection through a mandatory handshake process before data exchange.
  • Cryptographic Identity Verification - Ensures connection security by requiring a verification process before allowing the exchange of application data.
  • Request Throttling - Limits the flow and frequency of outgoing requests to protect servers from being overwhelmed by traffic spikes.
  • Network State Strategies - Adjusts retry frequency and network behavior based on application foreground and background state transitions.
  • Rate Limiting - Prevents server overload by controlling the frequency and volume of outgoing network requests.
  • Traffic Flow Control - Manages the flow of outgoing network requests to prevent server overload during traffic spikes.
  • Application Event Recording - Provides a diagnostic tool for recording system events to disk with minimal application overhead.

Historique des stars

Graphique de l'historique des stars pour tencent/marsGraphique de l'historique des stars pour tencent/mars

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Mars

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Mars.
  • dodyg/practical-aspnetcoreAvatar de dodyg

    dodyg/practical-aspnetcore

    10,382Voir sur GitHub↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    Voir sur GitHub↗10,382
  • nats-io/nats-serverAvatar de nats-io

    nats-io/nats-server

    20,076Voir sur GitHub↗

    NATS Server is a high-performance, lightweight messaging system designed for cloud-native applications, edge computing, and distributed microservices. It functions as a distributed publish-subscribe broker that routes messages using hierarchical, dot-separated subject strings, enabling decoupled communication between services without requiring centralized broker lookups. The system supports core messaging patterns including asynchronous publish-subscribe, request-reply, and load-balanced queue processing. The platform distinguishes itself through a decentralized architecture that eliminates t

    Gocloudcloud-computingcloud-native
    Voir sur GitHub↗20,076
  • netbirdio/netbirdAvatar de netbirdio

    netbirdio/netbird

    26,188Voir sur GitHub↗

    NetBird is a zero-trust networking platform that builds secure, encrypted peer-to-peer overlay networks using the WireGuard protocol. It functions as a software-defined perimeter, connecting distributed infrastructure across cloud environments and physical locations while hiding network resources from the public internet. By integrating with external identity providers, the platform enforces granular access control and identity-based segmentation for every user and device. The platform distinguishes itself through extensive automation and programmatic management capabilities. It provides a ce

    Gogolangmeshmesh-networks
    Voir sur GitHub↗26,188
  • project-chip/connectedhomeipAvatar de project-chip

    project-chip/connectedhomeip

    8,586Voir sur GitHub↗

    This project is an open-source software development kit and framework for implementing the Matter smart home standard. It provides a universal IPv6-based application layer and a cluster-based data model to ensure interoperability between diverse smart home devices and controllers. The system is distinguished by its multi-transport network abstraction, which maps Bluetooth LE, Thread, and Wi-Fi implementations to a common layer. It includes specialized tooling for secure device commissioning via QR codes and NFC, as well as a comprehensive over-the-air firmware update system for distributing s

    C++build-with-matterchipconnected-devices
    Voir sur GitHub↗8,586
Voir les 30 alternatives à Mars→

Questions fréquentes

Que fait tencent/mars ?

Mars is a cross-platform networking SDK and high-performance logging framework. It provides a network reliability layer for managing short and long-lived connections across different operating systems, alongside a diagnostic tool for recording system events to disk with minimal application overhead.

Quelles sont les fonctionnalités principales de tencent/mars ?

Les fonctionnalités principales de tencent/mars sont : Cross-Platform Networking, Network Management, Log Buffering, Log-Based Memory Mapping, Network Primitives, Connection Lifecycle Managers, Network Reliability, Persistent Network Connections.

Quelles sont les alternatives open-source à tencent/mars ?

Les alternatives open-source à tencent/mars incluent : dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… nats-io/nats-server — NATS Server is a high-performance, lightweight messaging system designed for cloud-native applications, edge… netbirdio/netbird — NetBird is a zero-trust networking platform that builds secure, encrypted peer-to-peer overlay networks using the… project-chip/connectedhomeip — This project is an open-source software development kit and framework for implementing the Matter smart home standard.… wemobiledev/article — This repository is a collection of technical knowledge and solutions focused on mobile application development,… idealvin/coost — Coost is a concurrent network framework and coroutine scheduler designed for building high-performance TCP, HTTP, and…