R
R
Roman Gor2014-07-28 11:22:56
Node.js
Roman Gor, 2014-07-28 11:22:56

Why is socket.io breaking?

In general, we have a problem:
c7c13213789bcbeecdb27b2f6773205d.png

Socket.io config:

io: {
        port: 8085,
        enable: [
            'browser client minification',
            'browser client etag',
            'browser client gzip'
        ],
        log: 1,
        transports: [
            'websocket',
            'flashsocket',
            'htmlfile',
            'xhr-polling',
            'jsonp-polling'
        ]
    }


The frequency of connection breakage is absolutely chaotic.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
namit, 2014-08-10
@namit

Have you scaled the project horizontally?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question