I have a node.js application server running on port 80, and I recently added real-time messaging through Primus websockets transformer on port 9001.
This works well in one instance. I deployed messaging to Beanstalk with the following configuration.
AWS Elastic Beanstalk Platform version v2.0.0 Nodejs version v0.12.6 Primus version v4.0.5
. - primus websockets AWS ELB? , , - Beanstalk.
websockets (https://github.com/websockets/ws), 80 8080 ELB . -.
:
ELB
EC2 " " "" . "Idle timeout", - "600" ( 10 ).
WS ping 5 ( , ELB). primus API, .
Source: https://habr.com/ru/post/1531927/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1531922/required-files-to-run-scrapy-in-mac-os-x-1075-using-python-273-iepdfree-32-bit&usg=ALkJrhgLkc8emLeRoT6IiFZuIMZv7JQJhQHow to select only one row, prevent unselecting an element in singleleselect mode - vaadinFind a subset of size k so that the minimum distance between the values โโis maximum - cAccessing memory under the stack on linux - chorizontal scrollbar of fixed position - javascriptlight table paredit surround with parens - clojureRegarding synchronized methods in Java - javaHow to find the end of a pipe - haskellRandom Picker Using UIScrollView with SpriteKit - iosFix scroll bar to bottom - javascriptAll Articles