# Websockets send text message **Lale websockets architecture**  ## Send message with (Matrix) `event_id`  1. Client A send payload to Websockets. 2. Websocket send the payload to MQ. 3. Command Handler listen to MQ. 4. Command Handler call matrix API. 5. Command handler response Websocket. 6. Websocket response to client. ## Send message without (Matrix) `event_id`  1. Client A send payload to Websockets. 2. Websocket send the payload to MQ. 3. Websocket response to client (with dummy event_id). 4. Command Handler listen to MQ. 5. Command Handler call matrix API. ## Send message 3  ## Verification data 1. Send message with (Matrix) `event_id` - Dev6 : Receive messages in 1-3 sec (almost 1 sec) - Formal : Receive messages in 3-20 sec 2. Send message without (Matrix) `event_id` - Dev6 : Receive messages in 1-3 sec (almost 1 sec) - Formal : Receive messages in 1-3 sec (almost 1 sec)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up