{"id":554477,"date":"2022-02-11T00:27:34","date_gmt":"2022-02-10T16:27:34","guid":{"rendered":"http:\/\/4563.org\/?p=554477"},"modified":"2022-02-11T00:27:34","modified_gmt":"2022-02-10T16:27:34","slug":"%e4%b8%8d%e5%90%8c%e5%ad%90%e7%b3%bb%e7%bb%9f%e9%97%b4%e5%a6%82%e4%bd%95%e4%bc%98%e9%9b%85%e5%9c%b0%e4%bc%a0%e9%80%92%e6%b6%88%e6%81%af-3","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=554477","title":{"rendered":"\u4e0d\u540c\u5b50\u7cfb\u7edf\u95f4\u5982\u4f55\u4f18\u96c5\u5730\u4f20\u9012\u6d88\u606f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1> \u4e0d\u540c\u5b50\u7cfb\u7edf\u95f4\u5982\u4f55\u4f18\u96c5\u5730\u4f20\u9012\u6d88\u606f <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chanlk <\/span>  <span><i><\/i> 30<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6709\u56db\u4e2a\u5b50\u7cfb\u7edf\uff0c\u6bcf\u4e2a\u5b50\u7cfb\u7edf\u7684\u7528\u7684\u6280\u672f\u90fd\u4e0d\u4e00\u6837<\/p>\n<ol>\n<li>\u4e00\u4e2a\u6709\u5341\u51e0\u4e2a dubbo \u5b50\u6a21\u5757\u7684\u4e1a\u52a1\u7cfb\u7edf\uff0c\u6a21\u5757\u95f4\u53ef\u4ee5\u76f8\u4e92\u8c03\u7528\uff1b<\/li>\n<li>\u7531\u4e94\u516d\u4e2a C++\u3001Go \u6d41\u5a92\u4f53\u6a21\u5757\u7ec4\u6210\u7684\u6d41\u5a92\u4f53\u7cfb\u7edf\uff1b<\/li>\n<li>\u4e00\u4e2a\u65b0\u7684 IOT \u7cfb\u7edf\uff0c\u5355\u4f53\u7684\uff0cjava \u5199\u7684\uff1b<\/li>\n<li>\u4e09\u56db\u4e2a\u4f20\u7edf java \u6a21\u5757\uff0c\u5355\u4f53\u7684\uff1b<\/li>\n<\/ol>\n<p>\u51e0\u4e2a\u7cfb\u7edf\u4e4b\u95f4\u7ecf\u5e38\u9700\u8981\u76f8\u4e92\u8c03\u7528\u6216\u8005\u4f20\u9012\u6d88\u606f\uff0c\u73b0\u5728\u662f\u901a\u8fc7 HTTP \u8c03\u7528\u7684\u65b9\u5f0f\uff0c\u5f88\u7b28\u91cd\uff0c\u5f00\u53d1\u6548\u7387\u4f4e\uff0c\u4e5f\u5bb9\u6613\u51fa BUG \uff1b \u6709\u4ec0\u4e48\u66f4\u597d\u7684\u65b9\u5f0f\u5417?<\/p>\n<p>\u73b0\u5728\u6bcf\u4e2a\u5b50\u7cfb\u7edf\u7684\u8d44\u6e90\u90fd\u662f\u9694\u79bb\u7684\uff0c\u5982\u6570\u636e\u5e93\uff0credis \uff0ces \u8fd9\u4e9b\u90fd\u662f\u6bcf\u4e2a\u5b50\u7cfb\u7edf\u72ec\u6709\u7684\uff0c\u4e0d\u80fd\u76f8\u4e92\u8bbf\u95ee\uff1b<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>18<\/span>) <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"7129988\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : thevita <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u9700\u8981\u89e3\u51b3 HTTP \u4e0d\u597d\u7ef4\u62a4\u7684\u95ee\u9898=rpc <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129989\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rekulas <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> rpc? <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129990\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Egfly <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> rpc+1 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129991\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ahhui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e2a\u4eba\u611f\u89c9\uff0c\u4ece\u6280\u672f\u4e0a\u8bf4\uff0chttp \u5e76\u4e0d\u662f\u4e0d\u5408\u9002\u7684\u9009\u62e9\uff0c\u4f60\u8fd9\u8bed\u8a00\u6a2a\u8de8\u5f88\u591a\u4e2a\u7cfb\u7edf\uff0c\u5fc5\u987b\u8981\u6709\u4e00\u4e2a\u901a\u7528\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u81f3\u4e8e\u642d\u8f7d\u7684\u8f7d\u4f53\uff0c\u53ef\u4ee5\u5ffd\u7565\u4e0d\u8bb0\u3002\u65e2\u7136\u5982\u6b64\uff0chttp \u5c31\u4e0d\u662f\u5173\u952e\u70b9\uff0c\u800c\u662f\u4f60\u4f7f\u7528\u7684\u8c03\u7528\u901a\u8baf\u534f\u8bae\u3002\u6bd4\u5982\uff0c\u5982\u679c\u662f\u4ee5 json \u4e3a\u6570\u636e\u4f20\u8f93\u8f7d\u4f53\uff0c\u5219\u4e0d\u4ec5 http \u53ef\u884c\uff0cpipe \uff08 win \u7cfb\u7edf\u4e0b\u7684\uff09\uff0cSharedMemory \uff08\u540c\u8ba1\u7b97\u673a\u4e0a\u7684\uff09\uff0c\u90fd\u53ef\u4ee5\u5b9e\u73b0\u3002\u4e0d\u540c\u7ec4\u4ef6\u4e4b\u95f4\u53ea\u5173\u5fc3 json \uff0c\u81f3\u4e8e\u600e\u4e48\u6536\u53d1\uff0c\u5219\u53ef\u4ee5\u662f\u53e6\u5916\u4e00\u5957\u63a5\u53e3\u6765\u5b8c\u6210\u4e86\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129992\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pi1ot <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6211\u542c\u8d77\u6765 HTTP \u5c31\u662f\u6bd4\u8f83\u6070\u5f53\u7684\u9009\u62e9 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129993\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lichao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u4e3a\u4ec0\u4e48\u4e0d\u7528 MQ ? <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129994\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : chanlk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7edf\u4e00\u56de\u590d rpc \u7684\u8001\u54e5\u4eec\uff1b<br \/>rpc \u5728\u5176\u4e2d\u7684\u4e00\u4e2a\u5b50\u6a21\u5757\u91cc\u7528\u5230\u4e86\uff0c\u91cc\u9762\u5341\u51e0\u4e2a\u6a21\u5757\u90fd\u53ef\u4ee5\u76f8\u4e92\u8c03\u7528\uff1b<br \/>\u4e0d\u540c\u8bed\u8a00\u95f4\u7684 rpc \u6211\u770b\u4e86\u4e0b\u4e0d\u592a\u597d\u5f04\uff1b<br \/>\u800c\u4e14\u5728\u4e4b\u524d\u7684\u67b6\u6784\u8bbe\u8ba1\u4e0a\u5c31\u628a\u8fd9\u51e0\u4e2a\u5b50\u7cfb\u7edf\u505a\u5f97\u5f88\u72ec\u7acb\uff0crpc \u4f1a\u8026\u5408\u8d77\u6765\uff08\u4e5f\u8bb8\u662f\u6211 rpc \u7528\u5f97\u4e0d\u592a\u5bf9\uff09\uff1b<br \/>\u56e0\u4e3a\u4e5f\u6709\u591a\u5730\u90e8\u7f72\u7684\u9700\u6c42\uff0c\u50cf\u6d41\u5a92\u4f53\u7cfb\u7edf\u8fd9\u79cd\uff1b <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129995\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fuchaofather <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> RPC + MQ <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129996\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : clf <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> RPC.<br \/>\u6216\u8005\u5f04\u4e2a MQ \u4f5c\u4e3a\u603b\u7ebf\u4e00\u6837\u7684\u5b58\u5728\uff0c\u901a\u8fc7\u76d1\u542c MQ \u6765\u5b9e\u73b0\u76f8\u4e92\u8c03\u7528\uff08\u8981\u5904\u7406\u91cd\u590d\u8c03\u7528\u3001\u5f02\u6b65\u3001\u6d88\u606f\u4e22\u5931\u7b49\u95ee\u9898\uff09 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129997\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iam286 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u7528 RabbitMQ <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129998\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : chanlk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u5176\u5b9e\u597d\u50cf\u4e5f\u4e0d\u662f\u4ec0\u4e48\u96be\u9898\uff0c\u7528 MQ \u5c31\u597d\uff0c\u96be\u7684\u662f\u63a8\u52a8\u5404\u4e2a\u6a21\u5757\u7684\u540c\u4e8b\u53bb\u4e00\u8d77\u505a <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7129999\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ipwx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> http \u5176\u5b9e\u633a\u9999\u7684\u3002<br \/>\u5176\u6b21\u5c31\u662f\u5927\u4e00\u70b9\u7684 mq \u9879\u76ee\uff0c\u4e0d\u8fc7\u90a3\u79cd\u9879\u76ee\u5176\u5b9e\u66f4\u770b\u91cd\u5e76\u53d1\uff0c\u5199\u8d77\u6765\u86cb\u75bc\u3002<br \/>\u7efc\u4e0a\u6240\u8ff0 http \u5176\u5b9e\u633a\u9999\u7684\u3002 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7130000\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : devswork <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u6211\u8fd9\u5404\u4e2a\u7cfb\u7edf\u4e4b\u95f4\u7528\u7684\u5c31\u662f http+RabbitMQ \u3002\u5404\u4e2a\u7cfb\u7edf\u90fd\u662f\u72ec\u7acb\u7684\uff0c\u8d44\u6e90\u4e5f\u662f\u72ec\u7acb\u7684\uff0c\u9700\u6c42\u5929\u5929\u6539\u5929\u5929\u53d8\uff0c\u5f00\u53d1\u4eba\u5458\u5c11\uff0c\u6240\u4ee5\u5199\u4e0d\u6210\u5fae\u670d\u52a1 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7130001\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ospider <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> swagger \u7528\u4e0a\u4e86\u4e48\uff1f <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7130002\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : chanlk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> @ospider \u7528\u4e86\uff0c\u63a5\u53e3\u591a\u4e86\u6ca1\u8fd9\u79cd\u4f1a\u75af\u7684 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7130003\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abcysn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div>  grpc \u4e0d\u633a\u597d\u7684\u5417\uff0c\u5404\u79cd\u8bed\u8a00\u90fd\u652f\u6301\uff0c\u5b9a\u4e49\u4e00\u5957 proto \u6587\u4ef6\uff0c\u6bd4 http \u4e25\u8c28\uff0c\u4e0d\u5bb9\u6613\u51fa\u9519\uff0c\u7f16\u8bd1\u578b\u8bed\u8a00\u54ea\u4e2a\u5b57\u6bb5\u6216\u4f20\u503c\u7c7b\u578b\u9519\u4e86\u7f16\u8bd1\u65f6\u5c31\u80fd\u62a5\u9519\uff0c\u8fd8\u80fd stream \u8c03\u7528 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7130004\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dayeye2006199 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> \u53ef\u4ee5\u4e0a proto+grpc<br \/>&gt; \u4e0d\u540c\u8bed\u8a00\u95f4\u7684 rpc \u6211\u770b\u4e86\u4e0b\u4e0d\u592a\u597d\u5f04\uff1b<br \/>\u8fd9\u4e2a\u662f proto \u5f3a\u9879\uff0c\u5b9a\u4e49\u6587\u4ef6\u7f16\u8bd1\u5404\u79cd\u8bed\u8a00<br \/>&gt; \u800c\u4e14\u5728\u4e4b\u524d\u7684\u67b6\u6784\u8bbe\u8ba1\u4e0a\u5c31\u628a\u8fd9\u51e0\u4e2a\u5b50\u7cfb\u7edf\u505a\u5f97\u5f88\u72ec\u7acb\uff0crpc \u4f1a\u8026\u5408\u8d77\u6765\uff08\u4e5f\u8bb8\u662f\u6211 rpc \u7528\u5f97\u4e0d\u592a\u5bf9\uff09\uff1b<br \/>\u9700\u8981\u628a\u4ea4\u6362\u7684\u6570\u636e\u683c\u5f0f\u548c\u66b4\u9732\u7684\u63a5\u53e3\u5b9a\u4e49\u51fa\u6765\uff1b\u5177\u4f53\u5b9e\u73b0\u5404\u4e2a\u7cfb\u7edf\u72ec\u7acb\uff0c\u4e0d\u4f1a\u8026\u5408<br \/>&gt; \u56e0\u4e3a\u4e5f\u6709\u591a\u5730\u90e8\u7f72\u7684\u9700\u6c42\uff0c\u50cf\u6d41\u5a92\u4f53\u7cfb\u7edf\u8fd9\u79cd\uff1b<br \/>grpc \u8fd8\u652f\u6301\u6d41\u5f0f\u4f20\u8f93\uff1b\u591a\u5730\u90e8\u7f72\u4f60\u9700\u8981\u914d\u5408\u670d\u52a1\u7f51\u683c\u6216\u8005 load balancer \u8fd9\u6837\u7684\u8bbe\u65bd\u4f7f\u7528 <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"7130005\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Itoktsnhc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>  <\/span> <\/div>\n<\/p><\/div>\n<div> emmm \u6211\u89c9\u5f97 rpc \u8fd8\u662f http \u8fd9\u4e2a\u53ef\u80fd\u4e0d\u662f\u91cd\u70b9\uff1f<br \/>&gt; \u5f88\u7b28\u91cd\uff0c\u5f00\u53d1\u6548\u7387\u4f4e\uff0c\u4e5f\u5bb9\u6613\u51fa BUG <br \/>rpc \u8fd8\u662f http \u65e0\u975e\u5c31\u662f\u534f\u8bae\uff0c\u611f\u89c9\u91cd\u70b9\u5e94\u8be5\u5728\u5404\u4e2a\u4e0d\u540c\u7cfb\u7edf\u4e4b\u95f4 payload \u7684\u5b9a\u4e49\u5982\u4f55\u7ba1\u7406\uff0c\u4fdd\u8bc1\u5404\u4e2a\u7cfb\u7edf\u90fd\u80fd\u9075\u5b88\u5bf9\u5e94 payload \u7684 scheme \uff1f <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0d\u540c\u5b50\u7cfb\u7edf\u95f4\u5982\u4f55\u4f18\u96c5\u5730\u4f20\u9012\u6d88\u606f \u8cc7&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554477"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=554477"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/554477\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=554477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=554477"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=554477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}