Feng Lee 10 лет назад
Родитель
Сommit
5d9159cfc9

+ 0 - 30
doc/acl.md

@@ -1,30 +0,0 @@
-
-# ACL
-
-## Protocol
-
-Authentication of users and devices
-
-Authorization of access to Server resources
-
-An implementation may restrict access to Server resources based on information provided by the Client such as User Name, Client Identifier, the hostname/IP address of the Client, or the outcome of authentication mechanisms.
-
-Identify a MQTT User: Peername, ClientId, Username
-
-
-## Access Rule
-
-allow | deny Who subscribe | publish Topic | all
-
-allow {clientid, {regexp, "abcd"}} subscribe "anna"
-deny  {clientid, "xxxx"} publish "#"
-allow {clientid, "abcd"} publish "#"
-allow {peername, "127.0.0.1"} subscribe "$SYS/#"
-allow {peername, "127.0.0.1"} subscribe all
-allow {clientid, "clientid"} subscribe  "#"
-allow {clientid, {regexp, "abcd"}} publish "anna"
-allow all subscribe all
-deny  all subscribe all
-allow all
-deny all
-

+ 0 - 34
doc/broker.md

@@ -1,34 +0,0 @@
-# Broker Topics
-
-## Version
-
-$SYS/broker/version
-
-## Uptime
-
-$SYS/broker/uptime
-
-## Recevied and Sent
-
-$SYS/broker/bytes/received
-$SYS/broker/bytes/sent
-
-$SYS/broker/packets/received
-$SYS/broker/packets/sent
-
-$SYS/broker/messages/received
-$SYS/broker/messages/sent
-$SYS/broker/messages/retained
-$SYS/broker/messages/stored
-$SYS/broker/messages/dropped
-
-## Client Presence
-
-$SYS/broker/clients/connected
-$SYS/broker/clients/disconnected
-
-$SYS/broker/clients/${clientId}/presences/online
-$SYS/broker/clients/${clientId}presences/offline
-
-
-

+ 0 - 25
doc/cluster.md

@@ -1,25 +0,0 @@
-
-            zookeeper
-                |
-    eMQTT1  eMQTT2  eMQTT3
-
-
-Bridge
-
-
-    eMQTT1 --> eMQTT2
-
-
-Cluster
- 
-    eMQTT1 <--> eMQTT2
-
-
-Cluster and Bridge
-
-    eMQTT1      eMQTT3
-          ----> 
-    eMQTT2      eMQTT4
-
-Mnesia Cluster
-

doc/Architecture.png → doc/design/Architecture.png


doc/Cluster.graphml → doc/design/Design_Cluster.graphml


doc/Cluster.png → doc/design/Design_Cluster.png


doc/Standalone.graphml → doc/design/Design_Standalone.graphml


doc/Standalone.png → doc/design/Design_Standalone.png


BIN
doc/design/PubSub_CleanSess_0.png


BIN
doc/design/PubSub_CleanSess_1.png


+ 0 - 40
doc/pubsub.md

@@ -1,40 +0,0 @@
-# PubSub
-
-## Qos 
-
-PubQos | SubQos | In Message | Out Message
--------|--------|------------|-------------
-   0   |   0    |   -        | - 
-   0   |   1    |   -        | - 
-   0   |   2    |   -        | - 
-   1   |   0    |   -        | - 
-   1   |   1    |   -        | - 
-   1   |   2    |   -        | - 
-   2   |   0    |   -        | - 
-   2   |   1    |   -        | - 
-   2   |   2    |   -        | - 
-
-
-## Publish
-
-
-## Performance
-
-Mac Air(11): 
-
-Function     | Time(microseconds)
--------------|--------------------
-match        | 6.25086
-triples      | 13.86881
-words        | 3.41177
-binary:split | 3.03776
-
-iMac:
-
-Function     | Time(microseconds)
--------------|--------------------
-match        | 3.2348
-triples      | 6.93524
-words        | 1.89616
-binary:split | 1.65243
-