In order to build a system similar to WeChat voice intercom, the entrance is the mobile terminal plus the web, and the server uses pomelo plus node.js. At present, the initial assumption is that the mobile terminal uses long connection to push compressed voice segments to pomelo, and then stores the compressed voice segments to the server, and routes the address of the pushed voice to the corresponding web terminal. Whether this is feasible or not, you great gods give some opinions.
according toPomeloIt is possible to say:
Pomelo is also suitable for real-time web applications; its distributed architecture makes pomelo scale better than other real-time web frameworks.
However, the specific approach requires a lot of reading code.