Change log entry 64648 | |
---|---|
Processed by: | ycandau (2017-11-21 19:45:23 GMT) |
Comment: |
<< review queue entry 61068 - submitted by 'sl89' >> 推送技术 Push technology https://en.wikipedia.org/wiki/Push_technology https://zh.wikipedia.org/wiki/%E6%8E%A8%E9%80%81%E6%8A%80%E6%9C%AF 推送和拉取方式 Push and Pull Media https://baike.baidu.com/item/%E6%8E%A8%E9%80%81%E5%92%8C%E6%8B%89%E5%8F%96%E6%96%B9%E5%BC%8F 【百度知道】什么是信息的拉取与推送 拉取”一般是指用户从网站上“拖下”数据,譬如使用超文本传送协议(http)。“推送”一般是指因特网内容提供者定期向预订用户“推送”数据,来减少用于网络上搜索的时间。 https://zhidao.baidu.com/question/503432131.html 应用可以订阅推送通知。 Applications can subscribe to push notifications. 对于服务器推送来说,需要由服务器发起通信,并向客户端发送数据。 For a server push, I want the server to start the communication and send the data to the client. 现在,新提交直接推送给应用程序,实际没有了延迟。 Now, new submissions are pushed to the app, resulting in virtually no delay. 但是,推送会带来一些扩展性问题;服务器应用程序CPU使用率是拉取方式 的7倍。 However, push brings some scalability issues; the server application CPU usage is 7 times higher as in pull. 理想 地,拉取的时间间隔应该等于服务器状态改变的速度。 Ideally, the pulling interval should be equal to the rate at which the server state changes. HTTP拉取方式:在这种传统的方法中,客户端以用户可定义的时间间隔去检查服务器上的最新数据。 HTTP Pull: In this traditional approach , the client checks with the server for latest data at regular user definable intervals . |
Diff: |
# + 推送 推送 [tui1 song4] /push (computing)/ # + 拉取 拉取 [la1 qu3] /pull (computing)/ + 推送 推送 [tui1 song4] /server push (computing)/ + 拉取 拉取 [la1 qu3] /client pull (computing)/ |