{"id":130,"date":"2016-09-23T22:43:38","date_gmt":"2016-09-23T14:43:38","guid":{"rendered":"http:\/\/xlight.me\/blog\/?p=130"},"modified":"2016-12-29T21:44:54","modified_gmt":"2016-12-29T13:44:54","slug":"android%e6%89%8b%e6%9c%bapush%e9%80%9a%e7%9f%a5%e6%8a%80%e6%9c%af%e5%af%b9%e6%af%94","status":"publish","type":"post","link":"https:\/\/xlight.me\/blog\/2016\/09\/android%e6%89%8b%e6%9c%bapush%e9%80%9a%e7%9f%a5%e6%8a%80%e6%9c%af%e5%af%b9%e6%af%94\/","title":{"rendered":"android\u624b\u673apush\u901a\u77e5\u6280\u672f\u5bf9\u6bd4"},"content":{"rendered":"<h4>\u76ee\u6807<\/h4>\n<ul>\n<li>server\u9700\u8981\u80fd\u627f\u8f7d\u767e\u4e07\u7ea7\u522b\u8fde\u63a5\u6570<\/li>\n<li>client\u7aef\u8017\u7535\u91cf\u8981\u4f4e<\/li>\n<li>client\u7aef\u5185\u5b58\u5360\u7528\u8981\u4f4e<\/li>\n<\/ul>\n<h4><a name=\"Androidpush-\u5404\u4e2a\u6280\u672f\u7684\u5bf9\u6bd4\"><\/a>\u5404\u4e2a\u6280\u672f\u7684\u5bf9\u6bd4<\/h4>\n<table>\n<tbody>\n<tr>\n<th><\/th>\n<th>MQTT<\/th>\n<th>socket.io(node.js)<\/th>\n<th>websocket<\/th>\n<th>xmpp(openfire)<\/th>\n<th>comet<\/th>\n<th>http\u5b9a\u65f6<\/th>\n<\/tr>\n<tr>\n<th>\u5355\u670d\u52a1\u5668\u5e76\u53d1\u8fde\u63a5<\/th>\n<td><a href=\"http:\/\/stackoverflow.com\/questions\/7094774\/how-many-users-and-push-messages-can-mqtt-handle-or-rsmb-can-handle\" rel=\"nofollow\">10w<sup><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.okooo.net\/images\/icons\/linkext7.gif\" alt=\"\" width=\"7\" height=\"7\" align=\"absmiddle\" border=\"0\" \/><\/sup><\/a><\/td>\n<td>3000<\/td>\n<td>10w<\/td>\n<td>30w<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<th>\u8017\u7535<\/th>\n<td><a href=\"http:\/\/stephendnicholas.com\/archives\/1217\" rel=\"nofollow\">link1<sup><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.okooo.net\/images\/icons\/linkext7.gif\" alt=\"\" width=\"7\" height=\"7\" align=\"absmiddle\" border=\"0\" \/><\/sup><\/a><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\u9ad8<a href=\"http:\/\/stephendnicholas.com\/archives\/1217\" rel=\"nofollow\">link1<sup><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.okooo.net\/images\/icons\/linkext7.gif\" alt=\"\" width=\"7\" height=\"7\" align=\"absmiddle\" border=\"0\" \/><\/sup><\/a><\/td>\n<td>\u4f4e\uff0c\u53ef\u63a7<\/td>\n<\/tr>\n<tr>\n<th>client\u7aef\u8d44\u6e90\u5360\u7528<\/th>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td>\u8f83\u9ad8<\/td>\n<td><\/td>\n<td>\u5f88\u4f4e<\/td>\n<\/tr>\n<tr>\n<th>\u5b9e\u65f6\u6027<\/th>\n<td>\u9ad8<\/td>\n<td>\u9ad8<\/td>\n<td>\u9ad8<\/td>\n<td>\u9ad8<\/td>\n<td>\u8f83\u9ad8<\/td>\n<td>\u8f83\u4f4e*<\/td>\n<\/tr>\n<tr>\n<th>\u9879\u76ee\u6d3b\u8dc3\u5ea6<\/th>\n<td>mosquitto 1.0.2 &#8211; 20120819<\/td>\n<td><\/td>\n<td>TooTallNate \/ Java-WebSocket github\u4e0d\u65ad\u66f4\u65b0\u4e2d<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u6807 server\u9700\u8981\u80fd\u627f\u8f7d\u767e\u4e07\u7ea7\u522b\u8fde\u63a5\u6570 client\u7aef\u8017\u7535\u91cf\u8981\u4f4e client\u7aef\u5185\u5b58\u5360\u7528\u8981\u4f4e \u5404\u4e2a\u6280\u672f\u7684\u5bf9\u6bd4 MQTT socket.io(node.js) websocket xmpp(openfire) comet http\u5b9a\u65f6 \u5355\u670d\u52a1\u5668\u5e76\u53d1\u8fde\u63a5 10w 3000 10w 30w \u8017\u7535 link1 \u9ad8link1 \u4f4e\uff0c\u53ef\u63a7 client\u7aef\u8d44\u6e90\u5360\u7528 \u8f83\u9ad8 \u5f88\u4f4e \u5b9e\u65f6\u6027 \u9ad8 \u9ad8 \u9ad8 \u9ad8 \u8f83\u9ad8 \u8f83\u4f4e* \u9879\u76ee\u6d3b\u8dc3\u5ea6 mosquitto 1.0.2 &#8211; 20120819 TooTallNate \/ Java-WebSocket github\u4e0d\u65ad\u66f4\u65b0\u4e2d<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":3,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":195,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/posts\/130\/revisions\/195"}],"wp:attachment":[{"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/media?parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/categories?post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xlight.me\/blog\/wp-json\/wp\/v2\/tags?post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}