即将举行的JS会议:
2020年JS音乐节-4月3-4日,乌克兰基辅
详细信息和门票:http://bit.ly/2EoHvQo
在乌克兰基辅举行的JS Fest会议上的演讲。
演示:https://www.slideshare.net/JSFestUA/js-fest-2018-martin-chaov-sse-vs-websockets-vs-long-polling
FB:https://www.facebook.com/JSFestua/
网站:http://jsfest.com.ua/
如果您有大量数据要快速传递,则可以尝试使用Web套接字来实现。但是,套接字很难维护和扩展,更不用说多重了。在本演示中,我将比较三种将数据传递到前端的方法。服务器发送的事件使您能够以较少的基础架构开销交付内容。在本演讲中,我将介绍SSE,长轮询和Web套接字的优缺点,包括技术演示。我们将稍微介绍一下无连接推送和移动网络的可用优化。 。
Thank for your video,
I read a book of SSE where the backend server' code use "while" to push the information from the server to the client , but others programmer don't recomment the use of "while" to send information from the server to the client, because it take a lot of resource of the server.
Can you tell me if that it is true?
This is a great talk! Funny and informative speaker. I learned a lot.
like a ring to the finger .thanks from Argentina.I wanna my t-shirt hahaha