rabbitChat icon indicating copy to clipboard operation
rabbitChat copied to clipboard

Benmark with websocket connect and close

Open binhvq opened this issue 7 years ago • 0 comments

i have writing one program for benmark your program.

import websocket
import time

ws = websocket.WebSocket()
def send():
    for i in range(1000):
        ws.connect('ws://127.0.0.1:9093/chat/788/j7f9q_iw/websocket')
        ws.close()


if __name__ == '__main__':
    send()

Rabbitchat will die in 1-2k open and close connection. reason has maybe many connection to rabbitmq, rabbitmq response 500 and server unavaiable.

binhvq avatar Sep 19 '17 03:09 binhvq