RepositoryJavaScript
KordonBleu

KordonBleu/enslavism

A framework to manage distributed WebRTC servers that communicate with browser clients

144sao
4fork
0issue
3lượt xem

🌐 Enslavism: Framework quản lý máy chủ WebRTC phân tản

Một giải pháp truyền dữ liệu thời gian thực qua WebRTC giữa trình duyệt và máy chủ Node.js, không cần SSL.

Enslavism là một framework Node.js dùng để quản lý các máy chủ WebRTC phân tản giao tiếp với máy khách trình duyệt. Được phát triển để sử dụng cho dự án JumpSuit, framework này đặc biệt phù hợp cho các trò chơi web, nhưng cũng có thể áp dụng cho nhiều mục đích khác.

✨ Điểm nổi bật

  • Kiến trúc Master-Slave: Master đồng bộ danh sách slave cho tất cả client; slave xử lý logic nền.
  • Truyền dữ liệu mã hoá: Không cần đăng ký chứng chỉ SSL như WebSocket bảo mật.
  • Cấu hình độ tin cậy: Hỗ trợ truyền không đáng tin cậy (unreliable) để tốc độ nhanh.
  • Cấu hình thứ tự giao hàng: Hỗ trợ giao thứ tự không đặt (unordered) để tăng tốc.
  • Chọn server linh hoạt: Client có thể kết nối trực tiếp đến bất kỳ slave nào trong danh sách.
  • API cho trình duyệt và Node.js: Hỗ trợ cả client-side (MasterConnection, SlaveConnection) lẫn server-side (Master, Slave).
  • Xác thực slave và client: Cung cấp sự kiện slaveauth và clientauth để kiểm soát kết nối.

💡 Vì sao đáng chú ý

Enslavism khác biệt so với các giải pháp truyền thống như WebSocket bảo mật ở chỗ nó sử dụng WebRTC DataChannel, cho phép truyền dữ liệu mã hoá mà không cần thiết lập chứng chứng SSL phức tạp. Đặc biệt, khả năng cấu hình độ tin cậy và thứ tự giao hàng giúp tối ưu hiệu suất cho các ứng dụng thời gian thực nhạy bén như game.


#WebRTC #Distributed #NodeJS #DataChannel #MasterSlave #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.

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
157.6M
Jun 1, 2026
RepositoryGo
xiegeo/modbusone

A modbus library for Go, with unified client and server APIs. One implementation to rule them all.

65
Jul 24, 2026
RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.9k
Dec 1, 2026
RepositoryJavaScript
trekhleb/javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

196.8k
Jul 26, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryJavaScript
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.6k
Nov 27, 2026
RepositoryTypeScript
RocketChat/Rocket.Chat

Interoperable by design. Governed by you. Open-source, secure platform for messaging, voice, video and governed AI, built for defense and government.

46.6k
Dec 1, 2026
RepositoryPython
public-apis/public-apis

A collective list of free APIs

502.6k
Nov 30, 2026