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
sylar-yin avatar

sylar-yin/sylar

0
View on GitHub↗
4,661 stars·1,036 forks·C++·21 viewswww.sylar.top↗

Sylar

Sylar is a high-performance C++ asynchronous server framework and event-driven network library. It functions as a coroutine scheduler and HTTP server implementation designed to build network services using non-blocking I/O.

The project distinguishes itself through a system call interceptor that hooks blocking socket and sleep APIs, transforming synchronous operations into non-blocking asynchronous events. It employs a user-space threading system to distribute lightweight tasks across a worker thread pool to maximize CPU utilization.

The framework covers a broad range of networking and system capabilities, including state-machine based HTTP protocol parsing, fuzzy-matching URI routing, and a unified socket interface for various address types. It also provides tools for concurrent resource synchronization, structured application logging, binary data serialization, and runtime configuration management.

Features

  • Network and Server Frameworks - Provides a high-performance C++ framework for building network services with integrated logging and configuration management.
  • C++ HTTP Server Libraries - Implements a high-performance C++ HTTP server library with built-in URI routing and asynchronous request-response pipelines.
  • C++ Networking Libraries - Provides a comprehensive C++ networking library that wraps socket APIs and integrates an event loop for asynchronous communication.
  • High-Performance Networking - Builds custom TCP and HTTP servers using asynchronous IO and coroutines to handle high concurrency.
  • HTTP Request Routing - Implements URI mapping with precise and fuzzy matching to dispatch web requests to handler functions.
  • Async API Hooking - Intercepts blocking socket and sleep APIs to convert synchronous operations into non-blocking asynchronous events.
  • System-Call Interception - Intercepts blocking socket and sleep APIs to transform synchronous calls into non-blocking asynchronous operations.
  • User-Mode Thread Schedulers - Manages lightweight threads and task distribution across a worker pool in user space to minimize context-switching overhead.
  • Coroutine Implementations - Implements high-performance execution of user-space threads to simplify asynchronous operation implementation.
  • Asynchronous Frameworks - Implements a comprehensive framework for managing concurrent execution and non-blocking I/O in C++.
  • Coroutine Task Schedulers - Provides a user-space threading system that distributes lightweight tasks across a worker thread pool.
  • Worker Pool Schedulers - Distributes lightweight user-space threads across a worker thread pool to maximize CPU utilization.
  • Socket Event Loops - Provides a centralized event loop that monitors socket read and write events to trigger coroutine execution.
  • Protocol Parsing - Employs finite state machine based parsing of HTTP protocols and URIs to handle requests and responses.
  • Thread Concurrency Mechanisms - Coordinates shared resources using mutexes, read-write locks, semaphores, and spinlocks to prevent data races.
  • Fuzzy URI Routing - Ships a flexible URI router that maps incoming web requests to handlers using precise and fuzzy pattern matching.
  • TCP Server Implementations - Provides the infrastructure to build custom TCP servers that listen on ports and process raw socket streams.
  • Application Configuration - Loads application settings from files with a notification system for updating values at runtime.
  • Event Logging - Includes utilities for tracking and recording application events with customizable levels and formats.
  • Finite State Machine Engines - Utilizes a finite-state-machine engine to predictably process HTTP protocols and URIs.
  • Shared Resource Synchronization - Prevents race conditions in multi-threaded environments using synchronization primitives like locks and semaphores.
  • Severity-Level Log Writers - Routes system events to different files based on customizable severity levels and formatting layouts.
  • Structured Logging - Records system events with structured layouts and severity levels to enable efficient debugging and analysis.
  • System Logging and Debugging - Provides high-performance event recording with customizable levels to separate logs into multiple files.
  • DevOps & Infrastructure - High-performance distributed server framework
  • Server Frameworks - High-performance distributed C++ server framework.

Star history

Star history chart for sylar-yin/sylarStar history chart for sylar-yin/sylar

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. 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

Projects sharing features with Sylar

These projects share indexed features with Sylar. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • aws-powertools/powertools-lambda-pythonaws-powertools avatar

    aws-powertools/powertools-lambda-python

    3,267View on GitHub↗

    AWS Powertools for Python is a utility framework designed for building production-ready Python functions on AWS Lambda. It provides a comprehensive suite of tools for observability, event parsing, routing, and idempotency management to streamline the development of serverless applications. The project distinguishes itself through specialized capabilities for event-driven architectures and AI agent orchestration. It enables the implementation of AI agents by exposing functions as tools via OpenAPI schemas and managing conversation states. Additionally, it features an idempotency library that p

    Pythonawsaws-lambdalambda
    View on GitHub↗3,267
  • geektutu/high-performance-gogeektutu avatar

    geektutu/high-performance-go

    3,888View on GitHub↗

    This project is a comprehensive performance programming guide and reference for the Go language, focusing on runtime efficiency and memory optimization. It provides a collection of patterns and techniques designed to increase execution speed by reducing garbage collection overhead and optimizing memory usage. The resource distinguishes itself through detailed reference implementations for memory optimization, such as escape analysis, object pooling, and structure memory alignment. It offers specific strategies for reducing binary size and improving CPU cache efficiency through structure memor

    Goeffective-golanggogolang
    View on GitHub↗3,888
  • qihoo360/evppQihoo360 avatar

    Qihoo360/evpp

    3,767View on GitHub↗

    evpp is a C++ network library and framework designed for building high-performance network services using TCP, UDP, and HTTP protocols. It provides an asynchronous event loop to manage nonblocking I/O operations and concurrent network connections across multiple threads. The framework includes specialized tools for asynchronous DNS resolution and a system for asynchronous task scheduling using a managed thread pool. It also features a nonblocking HTTP server and client with integrated connection pooling. The project covers low-level transport layer connectivity for TCP and UDP, as well as hi

    C++
    View on GitHub↗3,767
  • yuesong-feng/30daymakecppserveryuesong-feng avatar

    yuesong-feng/30dayMakeCppServer

    7,040View on GitHub↗

    This project is a C++ TCP server framework and educational socket programming guide. It provides a high-performance network library focused on event-driven architecture, implementing a reactor pattern to handle thousands of simultaneous client connections. The framework is distinguished by its multi-threaded event loop, which utilizes a main-sub reactor coordination model to distribute network events across a worker thread pool. It includes an abstraction layer for non-blocking socket I/O and event multiplexing via the epoll system call, decoupling network transport from application business

    C++cppcppserverepoll
    View on GitHub↗7,040
Compare all 30 related projects→

Frequently asked questions

What does sylar-yin/sylar do?

Sylar is a high-performance C++ asynchronous server framework and event-driven network library. It functions as a coroutine scheduler and HTTP server implementation designed to build network services using non-blocking I/O.

What are the main features of sylar-yin/sylar?

The main features of sylar-yin/sylar are: Network and Server Frameworks, C++ HTTP Server Libraries, C++ Networking Libraries, High-Performance Networking, HTTP Request Routing, Async API Hooking, System-Call Interception, User-Mode Thread Schedulers.

Which projects share features with sylar-yin/sylar?

Projects with overlapping indexed features include: aws-powertools/powertools-lambda-python — AWS Powertools for Python is a utility framework designed for building production-ready Python functions on AWS… geektutu/high-performance-go — This project is a comprehensive performance programming guide and reference for the Go language, focusing on runtime… yuesong-feng/30daymakecppserver — This project is a C++ TCP server framework and educational socket programming guide. It provides a high-performance… qihoo360/evpp — evpp is a C++ network library and framework designed for building high-performance network services using TCP, UDP,… yedf2/handy — Handy is a C++11 network server framework and event-driven networking engine designed for building high-performance… websockets-rs/rust-websocket — This project is a library for establishing bidirectional, real-time communication channels between clients and servers…