RepositoryRustFRPháp
TO

Totodore/socketioxide

A socket.io server implementation in Rust that integrates with the Tower ecosystem and the Tokio stack.

1.6ksao
84fork
18issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: tower

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: socket-io

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: tokio

#1 Repository của tháng

🚀 Socket.IO server bằng Rust, tích hợp Tower & Tokio

Socketioxide là server Socket.IO bằng Rust hỗ trợ toàn bộ giao thức Socket.IO v4/v5, tích hợp sẵn với Tower ecosystem và Tokio stack.

Socketioxide là một phần mở rộng server Socket.IO được cài đặt trong ngôn ngữ Rust, tích hợp liền mạch với các framework dựa trên Tower như Axum, Warp, Hyper, Salvo, Viz. Dự án hỗ trợ đầy đủ tính năng như namespace, room, ack, binary packets, polling & websocket transports, đồng thời cung cấp các adapter mở rộng hỗ trợ scaling ngang với Redis/Valkey, MongoDB, PostgreSQL.

✨ Điểm nổi bật

  • Tích hợp framework: Hỗ trợ Axum, Warp, Hyper, Salvo, Viz với ví dụ echo đi kèm.
  • Middleware Tower: Dùng bất kỳ middleware nào dựa trên Tower như CORS, nén, xác thực.
  • Scaling ngang: Hỗ trợ adapter Redis/Valkey, MongoDB, PostgreSQL để mở rộng cụm.
  • Giao tiếp cụm: Dùng Socketioxide-emitter để giao tiếp giữa các node từ xa.
  • Namespace & Room: Hỗ trợ namespace cố định và động cùng các phòng chat.
  • Ack & Binary: Hỗ trợ emit kèm ack và truyền gói tin nhị phân.
  • Parser linh hoạt: Chọn parser JSON mặc định hoặc Msgpack.
  • API trực quan: API giống Axum với extractor để xử lý sự kiện linh hoạt.

💡 Vì sao đáng chú ý

Socketioxide khác biệt so với các server Socket.IO khác ở chỗ nó được thiết kế để tích hợp sâu với Tower và Tokio, cho phép dùng mọẵng middleware hiện có của Tower mà không cần viết lại. Điều này giúp phát triển nhanh tính năng phức tạp như xác thực, nén, hoặc rate limiting chỉ bằng cấu hình. Nhờ kiến trúc adapter mở rộng, Socketioxide dễ dàng mở rộng sang nhiều node và cơ sở dữ liệu khi dự án lớn lên.


#Rust #SocketIO #Tower #Tokio #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryRust
Dominux/Pentaract

Unlimited file cloud storage based on using Telegram API

1.9k
Jan 5, 2025
RepositoryRust
felipenoris/hyper-reverse-proxy

A simple reverse proxy for use with Hyper and Tokio

201
Feb 20, 2025
RepositoryRust
rust-dd/tako

Multi-transport Rust web framework: HTTP/1.1, HTTP/2, HTTP/3, WebSocket, SSE, gRPC, TCP/UDP and Unix sockets behind one router, on Tokio or Compio.

185
Nov 13, 2026
RepositoryRust
el7cosmos/pasir

PHP Application Server in Rust

137
Jul 6, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
156.6M
Jun 1, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

159.0k
Dec 3, 2026
RepositoryRust
rustdesk/rustdesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

133.0k
Dec 3, 2026
RepositoryRust
rust-lang/rust

Empowering everyone to build reliable and efficient software.

122.7k
Nov 30, 2026
RepositoryRust
tauri-apps/tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

113.4k
Dec 1, 2026