]> Entropealabs - wampex.git/commitdiff
add note about PubSub
authorChristopher <chris@entropealabs.com>
Tue, 18 Feb 2020 15:17:36 +0000 (09:17 -0600)
committerChristopher <chris@entropealabs.com>
Tue, 18 Feb 2020 15:17:36 +0000 (09:17 -0600)
README.md

index 0334ed37bae555a7ceab3c968acb9ff7a0623dbe..3d1ab1f35a9cad67bc44caba938a5deb897c732a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -70,10 +70,12 @@ Wampex.start_link(name: Connection, session: session)
 
 The protocol uses a registered [WebSocket subprotocol](https://wamp-proto.org/_static/gen/wamp_latest.html#websocket-transport), there are several values available. You need to ensure that the [Router](https://wamp-proto.org/_static/gen/wamp_latest.html#peers-and-roles) that you connect to also supports the subprotocol.
 
-### Details
+### ImplementationDetails
 
 WAMPex currently maps each session to a seperate transport connection. This means there is a new conection per instance of WAMPex.
 
+Internally WAMPex uses [Registry](https://hexdocs.pm/elixir/Registry.html#module-using-as-a-pubsub) for local PubSub. Subscriptions and Callees are registrerd with separate Registry instances, partitioned over the available system CPU cores.
+
 The Session management is handled by a state machine, written using [StatesLanguage](https://github.com/citybaseinc/states_language). The JSON looks like this.
 
 ```json