awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 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++·24 views

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.

Star history

Star history chart for tencent/marsStar history chart for tencent/mars

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does tencent/mars do?

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.

What are the main features of tencent/mars?

The main features of tencent/mars are: Cross-Platform Networking, Network Management, Log Buffering, Log-Based Memory Mapping, Network Primitives, Connection Lifecycle Managers, Network Reliability, Persistent Network Connections.

What are some open-source alternatives to tencent/mars?

Open-source alternatives to tencent/mars include: 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…

Open-source alternatives to Mars

Similar open-source projects, ranked by how many features they share with Mars.
  • dodyg/practical-aspnetcoredodyg avatar

    dodyg/practical-aspnetcore

    10,382View on 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
    View on GitHub↗10,382
  • nats-io/nats-servernats-io avatar

    nats-io/nats-server

    20,076View on 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
    View on GitHub↗20,076
  • netbirdio/netbirdnetbirdio avatar

    netbirdio/netbird

    26,188View on 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
    View on GitHub↗26,188
  • project-chip/connectedhomeipproject-chip avatar

    project-chip/connectedhomeip

    8,586View on 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
    View on GitHub↗8,586
  • See all 30 alternatives to Mars→