KordonBleu/enslavism
A framework to manage distributed WebRTC servers that communicate with browser clients
🌐 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
slaveauthvà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.
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...
A modbus library for Go, with unified client and server APIs. One implementation to rule them all.
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
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.
Interoperable by design. Governed by you. Open-source, secure platform for messaging, voice, video and governed AI, built for defense and government.