N2o

⭕ N2O: Distributed WebSocket Application Server ISO 20922
Alternatives To N2o
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Workerman10,3605571667 days ago112September 23, 202256mitPHP
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
Mongoose9,291
2 days ago1February 27, 20187otherC
Embedded Web Server
Hp Socket5,053112 months ago1September 25, 201724otherC
High Performance TCP/UDP/HTTP Communication Component
Mobileimsdk4,602
2 months ago11apache-2.0Objective-C
一个原创移动端IM通信层框架,轻量级、高度提炼,历经8年、久经考验。可能是市面上唯一同时支持UDP+TCP+WebSocket三种协议的同类开源框架,支持iOS、Android、Java、H5,服务端基于Netty。
Cellnet3,87873 months ago3June 12, 20198mitGo
High performance, simple, extensible golang open source network library
Laravel S3,690988 days ago224September 07, 202262mitPHP
LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
Jetlinks Community3,688
a day ago2apache-2.0Java
JetLinks 基于Java8,Spring Boot 2.x ,WebFlux,Netty,Vert.x,Reactor等开发, 是一个全响应式的企业级物联网平台。支持统一物模型管理,多种设备,多种厂家,统一管理。统一设备连接管理,多协议适配(TCP,MQTT,UDP,CoAP,HTTP等),屏蔽网络编程复杂性,灵活接入不同厂家不同协议等设备。实时数据处理,设备告警,消息通知,数据转发。地理位置,数据可视化等。能帮助你快速建立物联网相关业务系统。
Sish3,2651a month ago34November 12, 20217mitGo
HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
Aleph2,467
521a day ago117February 21, 201919mitClojure
Asynchronous communication for Clojure
Actionhero2,3551876511 days ago295September 23, 20228apache-2.0TypeScript
Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks
Alternatives To N2o
Select To Compare


Alternative Project Comparisons
Readme

N2O: TCP MQTT WebSocket

Actions Status Build Status Hex pm

N2O is an embeddable message protocol loop library for WebSocket, HTTP, MQTT and TCP servers. It provides basic features, such as process management, virtual nodes ring for request processing, sessions, frame encoding, and unified API for external mq and caching services.

Core Features

  • Purpose: High performance protocol relay
  • Endpoints: WebSockets, MQTT, TCP
  • Codebase: 700 LOC (Erlang), 500 LOC (JavaScript)
  • Dialyzer: REBAR, REBAR3, MAD, MIX
  • Hosts: COWBOY, EMQ, MOCHIWEB, RING, TCP, UDP
  • PubSub: GPROC, SYN, PG2
  • Formatters: JSON, BERT, ASN.1

Protocol Extensions

  • Templates: DTL, NITRO
  • Abstract Database Layer KVS: FS, MNESIA, ROCKSDB, RIAK, REDIS
  • Business Processes: BPE (BPMN 2.0), SCM, ERP, CRM
  • HTTP API: REST (proplist/JSON)
  • ACTIVE Reloading: GNU/Linux, Windows, macOS

Basic Samples

Enterprise Samples

  • Online Client Bank: BANK (8041)
  • Instant Messaging: CHAT (8042)
  • Product Lifecycle Management: PLM (8043)

Motivation

N2O was created to bring clarity and sanity to software development. The distribution model is per file basis with ISC license.

Kernel

The core modules provide OTP start and N2O entry point.

MQTT

MQTT version is implemented as RPC over MQ pattern. N2O service worker started as ring of virtual nodes each runs N2O loop.

mad app zero review
cd review
mad dep com pla rep
open http://127.0.0.1:8000

WebSocket

N2O Loop is directly connected and ran inside context of WebSocket handler. Usually in Erlang we use syn or gproc OTP message buses. As such buses are optional in MQTT setup we include bus drivers in WebSocket package.

mad app nitro sample
cd sample
mad dep com pla rep
open https://127.0.0.1:8001/app/index.htm

Protocols

N2O ships with 3 optional protocols.

Services

Formatters, Sessions, etc. Optional.

JavaScript

Literature

  • "N2O: no bullshit sane framework for wild web" PDF (versions 0.11—4.4)
  • "N2O BOOK Vol.2 Green Book" HTML (versions 4.5—9.11)
Popular Websocket Projects
Popular Tcp Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Websocket
Tcp
Erlang
Mqtt
Udp
Decoder
Encoder
Ring