{"rsdb":{"rid":"156002","subhead":"","postdate":"0","aid":"117109","fid":"54","uid":"1","topic":"1","content":"

\u6982\u8ff0\uff1a<\/p>

\u3000\u3000\u6211\u82b1\u4e86\u4e00\u4e9b\u65f6\u95f4\u89e3\u5256\u5404\u79cd\u5e93\u6267\u884c\u5206\u5e03\u5f0f\u6d88\u606f\u3002\u5728\u8fd9\u4e2a\u5206\u6790\u4e2d\uff0c\u6211\u770b\u4e86\u51e0\u4e2a\u4e0d\u540c\u7684\u65b9\u9762\uff0c\u5305\u62ecAPI\u7279\u6027\uff0c\u6613\u4e8e\u90e8\u7f72\u548c\u7ef4\u62a4\uff0c\u4ee5\u53ca\u6027\u80fd\u8d28\u91cf.\u3002\u6d88\u606f\u961f\u5217\u5df2\u7ecf\u88ab\u5206\u4e3a\u4e24\u7ec4\uff1abrokerless\u548cbrokered\u3002<\/p>

\u3000\u3000brokerless\u6d88\u606f\u961f\u5217\u662f\u5bf9\u7b49\u7684\uff0c\u6ca1\u6709\u4e2d\u95f4\u5546\u53c2\u4e0e\u4fe1\u606f\u7684\u4f20\u9012\uff0c\u800cbrokered\u961f\u5217\u6709\u4e00\u4e9b\u670d\u52a1\u5668\u7aef\u70b9\u4e4b\u95f4\u3002<\/p>

\u6027\u80fd\u5206\u6790\u7684\u4e00\u4e9b\u7cfb\u7edf\uff1a<\/strong><\/span>\u3000\u3000<\/strong><\/span><\/p>

\u3000\u3000Brokerless<\/strong>
\u3000\u3000\u3000\u3000nanomsg
\u3000\u3000\u3000\u3000ZeroMQ<\/p>

\u3000\u3000Brokered<\/strong>
\u3000\u3000\u3000\u3000ActiveMQ
\u3000\u3000\u3000\u3000NATS
\u3000\u3000\u3000\u3000Kafka
\u3000\u3000\u3000\u3000Kestrel
\u3000\u3000\u3000\u3000NSQ
\u3000\u3000\u3000\u3000RabbitMQ
\u3000\u3000\u3000\u3000Redis
\u3000\u3000\u3000\u3000ruby-nats<\/p>

\u6d4b\u8bd5\u73af\u5883\uff1a<\/strong><\/span><\/p>

\u3000\u3000\u9996\u5148\uff0c\u8ba9\u6211\u4eec\u6765\u770b\u770b\u6027\u80fd\u6307\u6807\uff0c\u56e0\u4e3a\u8fd9\u53ef\u4ee5\u8bf4\u662f\u4eba\u4eec\u6700\u5173\u5fc3\u7684\u3002\u6211\u5df2\u7ecf\u6d4b\u91cf\u4e86\u4e24\u4e2a\u5173\u952e\u6307\u6807\uff1a\u541e\u5410\u91cf<\/span>\u548c\u5ef6\u8fdf<\/span>\u3002<\/p>

\u3000\u3000\u6240\u6709\u7684\u6d4b\u8bd5\u90fd\u8fd0\u884c\u5728\u4e00\u53f0MacBook Pro 2.6 GHz\u7684i7\u5904\u7406\u5668\uff0c16GB\u5185\u5b58\u3002\u8fd9\u4e9b\u6d4b\u8bd5\u662f\u8bc4\u4f30\u4e00\u4e2a\u5355\u4e00\u7684\u751f\u4ea7\u8005\u548c\u5355\u4e00\u6d88\u8d39\u8005\u7684\u53d1\u5e03\u8ba2\u9605\u62d3\u6251\u7ed3\u6784\u3002\u8fd9\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5f88\u597d\u7684\u57fa\u7ebf\u3002\u8fd9\u5c06\u662f\u6709\u8da3\u7684\u57fa\u51c6\u7f29\u653e\u62d3\u6251\u7ed3\u6784\uff0c\u4f46\u9700\u8981\u66f4\u591a\u7684\u4eea\u5668\u3002<\/p>

\u3000\u3000<\/p>

\u3000\u3000\u3000\u3000\u541e\u5410\u91cf\u57fa\u51c6\u662f\u6307\u7cfb\u7edf\u6bcf\u79d2\u80fd\u591f\u5904\u7406\u6d88\u606f\u7684\u6570\u91cf\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u961f\u5217\u4e2d\u53ef\u80fd\u6709\u6ca1\u6709\u5355\u4e00\u7684\u201c\u541e\u5410\u91cf\u201d\u3002\u6211\u4eec\u5728\u4e24\u4e2a\u4e0d\u540c\u7684\u7aef\u70b9\u4e4b\u95f4\u53d1\u9001\u6d88\u606f\uff0c\u6240\u4ee5\u6211\u4eec\u89c2\u5bdf\u5230\u7684\u662f\u4e00\u4e2a\u201c\u53d1\u9001\u65b9\u201d\u541e\u5410\u91cf\u548c\u4e00\u4e2a\u201c\u63a5\u6536\u65b9\u201d\u541e\u5410\u91cf\uff0c\u5373\u6bcf\u79d2\u53ef\u4ee5\u53d1\u9001\u7684\u6d88\u606f\u6570\u548c\u6bcf\u79d2\u53ef\u4ee5\u63a5\u6536\u7684\u6d88\u606f\u6570.\u3002<\/span><\/span><\/p>

\u3000\u3000\u3000\u3000 \u6211\u4eec\u8fd9\u6b21\u6d4b\u8bd5\u901a\u8fc7\u53d1\u90011\uff0c000,000 \u4e2a1kb \u7684\u6d88\u606f\u5e76\u4e14\u8ba1\u7b97\u4e24\u8fb9\u53d1\u9001\u548c\u63a5\u6536\u6d88\u606f\u7684\u65f6\u95f4\uff0c\u8fd9\u91cc\u9762\u9009\u62e91kb\u7684\u6570\u636e\u662f\u56e0\u4e3a\u8fd9\u79cd\u6570\u636e\u66f4\u52a0\u8d34\u8fd1\u6211\u4eec\u65e5\u5e38\u5f00\u53d1\u4e2d\u9047\u5230\u7684\u6d88\u606f\u8bf7\u6c42\uff0c\u8bb8\u591a\u6027\u80fd\u6d4b\u8bd5\u503e\u5411\u4e8e\u5728100\u5230500\u5b57\u8282\u7684\u8303\u56f4\u5185\u4f7f\u7528\u8f83\u5c0f\u7684\u6d88\u606f.\uff0c\u5c3d\u7ba1\u6bcf\u4e2a\u7cfb\u7edf\u90fd\u662f\u5404\u4e0d\u76f8\u540c\u7684\uff0c\u6211\u4eec\u53ea\u80fd\u591f\u9009\u53d6\u5927\u4f53\u4e0a\u76f8\u4f3c\u7684\u6d4b\u8bd5\u6570\u636e\u6765\u8fdb\u884c\u6d4b\u8bd5\u3002\u5bf9\u4e8e\u9762\u5411\u6d88\u606f\u7684\u4e2d\u95f4\u4ef6\u7cfb\u7edf\uff0c\u53ea\u4f7f\u7528\u4e00\u4e2a\u4ee3\u7406\u3002<\/span><\/span><\/p>

\u3000\u3000Brokeless\uff1a<\/strong><\/span><\/span><\/p>

\u3000\u3000\"\"<\/span><\/span><\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u4ece\u56fe\u7247\u6211\u4eec\u53ef\u4ee5\u770b\u51fa\uff0c\u5728\u53d1\u9001\u6d4b\u6709\u5f88\u9ad8\u7684\u541e\u5410\u91cf\uff0c\u7136\u800c\u6709\u8da3\u7684\u662f\uff0c\u53d1\u9001\u8005\u4e0e\u63a5\u6536\u8005\u7684\u6bd4\u7387\u5dee\u8ddd\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000ZeroMQ\u80fd\u591f\u53d1\u9001\u8d85\u8fc7\u6bcf\u79d25000000\u6761\u6d88\u606f\/\u6bcf\u79d2\u4f46\u53ea\u80fd\u6536\u5230\u7ea6600000 \/\u79d2\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u76f8\u53cd\uff0cnanomsg\u53d1\u51fa\u5bb3\u7f9e\u76843000000\u5e27\/\u79d2\u53ef\u63a5\u5f85\u8fd12000000\u3002<\/p>

\u3000\u3000\u3000Brokered\uff1a<\/strong><\/p>

\u3000\u3000\"\"<\/strong><\/p>

\u3000\u3000\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u5f88\u76f4\u89c2\u7684\u89c2\u5bdf\u5230\uff0cBrokered \u6d88\u606f\u961f\u5217\u6bd4Brokerless \u5c11\u4e86\u81f3\u5c11\u4e24\u4e2a\u6570\u91cf\u7ea7\u4ee5\u4e0a\u7684\u541e\u5410\u91cf\u3002\u6709\u4e00\u534a\u7684Brokered \u6d88\u606f\u961f\u5217\u541e\u5410\u91cf\u5c11\u4e8e25000\u6761\u6d88\u606f\u6bcf\u79d2\u3002\u5bf9\u4e8eRedis\u7684\u541e\u5410\u91cf\u6216\u8bb8\u6709\u4e00\u5b9a\u7684\u8bef\u5bfc\uff0c\u5c3d\u7ba1Redis \u63d0\u4f9b \u53d1\u5e03\/\u8ba2\u9605 \u529f\u80fd\uff0c\u5b83\u5e76\u4e0d\u662f\u771f\u6b63\u8bbe\u8ba1\u4e3a\u4e00\u4e2a\u5f3a\u5927\u7684\u6d88\u606f\u961f\u5217\u3002\u4ee5\u7c7b\u4f3c\u7684\u65b9\u5f0f\u4f7f\u7528ZeroMq\uff0cRedis\u5207\u65ad\u4e86\u6162\u7528\u6237\uff0c\u91cd\u8981\u7684\u662f\u8981\u6307\u51fa\uff0c\u8fd9\u4e0d\u662f\u80fd\u591f\u53ef\u9760\u5730\u5904\u7406\u8fd9\u79cd\u4f53\u79ef\u7684\u6d88\u606f\u3002\u6211\u4eec\u53ef\u4ee5\u5c06\u4ed6\u770b\u6210\u4e00\u4e2a\u7279\u6b8a\u70b9\u3002<\/span><\/span>Kafla \u548c ruby-nats \u548cRedis \u6709\u76f8\u4f3c\u7684\u7279\u70b9\uff0c\u4f46\u662f\u80fd\u591f\u53ef\u9760\u7684\u5904\u7406\u95f4\u6b47\u6027\u6545\u969c\u4fe1\u606f\u3002NATs \u5728\u8fd9\u65b9\u9762\u6709\u7740\u4f18\u8d8a\u7684\u541e\u5410\u91cf<\/p>

\u3000\u3000\u3000\u3000\u901a\u8fc7\u4e0a\u8ff0\u7684\u56fe\u793a\u5206\u6790\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0cBrokered \u961f\u5217\u5728\u53d1\u9001\u548c\u63a5\u6536\u4e24\u65b9\u9762\u6709\u7740\u4e00\u81f4\u7684\u541e\u5410\u91cf\uff0c\u800c\u4e0d\u50cfBrokerless \u90a3\u6837\uff0c\u53d1\u9001\u65b9\u4e0e\u63a5\u6536\u65b9\u7684\u541e\u5410\u91cf\u6709\u7740\u8f83\u5927\u7684\u5dee\u5f02\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u7b2c\u4e8c\u4e2a\u5173\u952e\u6027\u80fd\u6307\u6807\u662f\u6d88\u606f\u5ef6\u8fdf\uff0c\u8fd9\u5c31\u6d4b\u91cf\u4e86\u5728\u7aef\u70b9\u4e4b\u95f4\u4f20\u8f93\u6d88\u606f\u9700\u8981\u591a\u957f\u65f6\u95f4\u3002\u76f4\u89c9\u53ef\u80fd\u544a\u8bc9\u6211\u4eec\uff0c\u8fd9\u4ec5\u4ec5\u662f\u541e\u5410\u91cf\u7684\u9006\uff0c\u5373\u5982\u679c\u541e\u5410\u91cf\u662f\u6d88\u606f\/\u79d2\uff0c\u5ef6\u8fdf\u662f\u79d2\/\u6d88\u606f\u3002\u7136\u800c\uff0c\u4ed4\u7ec6\u770b\u4eceZeroMQ\u767d\u76ae\u4e66\u501f\u8fd9\u4e2a\u5f62\u8c61\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e0d\u662f\u4e2a\u6848\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\"\"<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u73b0\u5b9e\u60c5\u51b5\u662f\uff0c\u6bcf\u4e2a\u6d88\u606f\u53d1\u9001\u7684\u5ef6\u8fdf\u7ebf\u662f\u4e0d\u7edf\u4e00\u7684\uff0c\u5b83\u53ef\u4ee5\u4e3a\u6bcf\u4e00\u4e2a\u4e0d\u540c\u7684\u3002\u4e8b\u5b9e\u4e0a\uff0c\u5ef6\u8fdf\u548c\u541e\u5410\u91cf\u4e4b\u95f4\u7684\u5173\u7cfb\u662f\u6709\u70b9\u6d89\u53ca\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u4e0e\u541e\u5410\u91cf\u4e0d\u540c\u7684\u662f\uff0c\u5ef6\u8fdf\u7684\u6d4b\u91cf\u5e76\u4e0d\u533a\u5206\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\uff0c\u800c\u662f\u4f5c\u4e3a\u4e00\u4e2a\u6574\u4f53\u3002\u4f46\u662f\uff0c\u7531\u4e8e\u6bcf\u4e2a\u6d88\u606f\u90fd\u6709\u81ea\u5df1\u7684\u5ef6\u8fdf\uff0c\u6211\u4eec\u5c06\u770b\u770b\u4ed6\u4eec\u7684\u5e73\u5747\u503c\u3002\u8fdb\u4e00\u6b65\uff0c\u6211\u4eec\u5c06\u770b\u5230\u5e73\u5747\u6d88\u606f\u5ef6\u8fdf\u4e0e\u53d1\u9001\u7684\u6d88\u606f\u6570\u6709\u5173.\u3002\u76f4\u89c9\u544a\u8bc9\u6211\u4eec\uff0c\u66f4\u591a\u7684\u4fe1\u606f\u610f\u5473\u7740\u66f4\u591a\u7684\u6392\u961f\uff0c\u8fd9\u610f\u5473\u7740\u66f4\u9ad8\u7684\u5ef6\u8fdf\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u4e0b\u56fe\u4e2d\uff1a<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u84dd\u8272\uff1ananomsg<\/span><\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u7ea2\u8272\uff1aZeroMq<\/span><\/p>

\u3000\u3000\u3000\u3000\u3000\u3000<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\"\"<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u5728\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u7684\u5047\u8bbe\u8bc1\u660e\u6b63\u786e\u7684\uff0c\u56e0\u4e3a\u66f4\u591a\u7684\u6d88\u606f\u88ab\u53d1\u9001\u5230\u7cfb\u7edf\u4e2d\uff0c\u6bcf\u4e2a\u6d88\u606f\u7684\u5ef6\u8fdf\u589e\u52a0\u3002\u6709\u8da3\u7684\u662f\uff0c\u5f53\u6211\u4eec\u63a5\u8fd11000000\u6761\u6d88\u606f\u65f6\uff0c\u5ef6\u8fdf\u51fa\u73b0\u7684\u901f\u5ea6\u53d8\u6162\u4e86500000\u70b9.\u3002\u53e6\u4e00\u4e2a\u6709\u8da3\u7684\u89c2\u5bdf\u662f\u57281000\u548c5000\u4e4b\u95f4\u7684\u6d88\u606f\u5ef6\u8fdf\u7684\u521d\u59cb\u5cf0\u503c\uff0c\u8fd9\u662f\u66f4\u52a0\u663e\u7740nanomsg\u3002\u8fd9\u5f88\u96be\u786e\u5b9a\u56e0\u679c\u5173\u7cfb\uff0c\u4f46\u662f\u8fd9\u4e9b\u53d8\u5316\u53ef\u80fd\u53cd\u6620\u4e86\u5982\u4f55\u5728\u6bcf\u4e2a\u5e93\u4e2d\u5b9e\u73b0\u6d88\u606f\u6279\u5904\u7406\u548c\u5176\u4ed6\u7f51\u7edc\u5806\u6808\u904d\u5386\u4f18\u5316.\u3002\u66f4\u591a\u7684\u6570\u636e\u70b9\u53ef\u4ee5\u63d0\u4f9b\u66f4\u597d\u7684\u53ef\u89c6\u6027\u3002<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u6211\u4eec\u770b\u4e00\u4e0bBrokered\u961f\u5217\u548c\u4e00\u4e9b\u6709\u8da3\u7684\u65b0\u7684\u7c7b\u4f3c\u7684\u6a21\u5f0f\u3002\u3000\u3000\u3000\u3000\u3000\u3000<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000ActiveMq<\/span><\/p>

\u3000\u3000\u3000\u3000\u3000\u3000Kafka<\/span><\/p>

\u3000\u3000\u3000\u3000\u3000\u3000RabbitMq<\/span>\u3000\u3000\u3000\u3000<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\"\"<\/p>

\u3000\u3000\u3000\u3000\u4ed6\u4eec\u7684\u5ef6\u8fdf\u6570\u91cf\u7ea7\u9ad8\u4e8e\u5176\u4ed6\u7684Brokered \u5ef6\u8fdf\uff0c\u56e0\u6b64\u4ed6\u4eecACtiveMq\u4e0eRabbitMq\u5206\u6210\u4e86\u81ea\u5df1AMQP\u8303\u7574\u3002<\/p>

\u3000\u3000\u3000\u3000\u73b0\u5728\uff0c\u6211\u4eec\u5df2\u7ecf\u770b\u5230\u4e86\u4e00\u4e9b\u5173\u4e8e\u8fd9\u4e9b\u4e0d\u540c\u7684\u5e93\u5982\u4f55\u6267\u884c\u7684\u7ecf\u9a8c\u6570\u636e\uff0c\u6211\u5c06\u770b\u770b\u4ed6\u4eec\u5982\u4f55\u4ece\u52a1\u5b9e\u7684\u89d2\u5ea6\u6765\u770b\u5de5\u4f5c\u3002\u6d88\u606f\u541e\u5410\u91cf\u548c\u901f\u5ea6\u662f\u5f88\u91cd\u8981\u7684\uff0c\u4f46\u5982\u679c\u5e93\u5f88\u96be\u4f7f\u7528\u3001\u90e8\u7f72\u6216\u7ef4\u62a4\uff0c\u5219\u4e0d\u592a\u5b9e\u7528.\u3002<\/p>

\u3000\u3000\u3000\u3000\u4ece\u6280\u672f\u4e0a\u8bb2\uff0cnanomsg\u4e0d\u662f\u4e00\u4e2a\u6d88\u606f\u961f\u5217\uff0c\u800c\u662f\u4e00\u4e2a\u6267\u884csocket\u98ce\u683c\u7684\u56fe\u4e66\u9986\u5206\u5e03\u5f0f\u6d88\u606f\u901a\u8fc7\u5404\u79cd\u4fbf\u6377\u7684\u65b9\u5f0f\u3002\u56e0\u6b64\uff0c\u9664\u4e86\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5d4c\u5165\u5e93\u672c\u8eab\u4e4b\u5916\uff0c\u6ca1\u6709\u4ec0\u4e48\u53ef\u4ee5\u90e8\u7f72\u7684.\u3002\u8fd9\u4f7f\u5f97\u90e8\u7f72\u4e00\u4e2a\u975e\u95ee\u9898\u3002<\/p>

\u3000\u3000\u3000\u3000Nanomsg\u662f\u4e00\u4e2a\u7531ZeroMQ\u7684\u4f5c\u8005\u5199\u7684\uff0c\u548c\u6211\u8ba8\u8bba\u8fc7\uff0c\u5728\u5bf9\u5e93\u7684\u5de5\u4f5c\u4ee5\u4e00\u4e2a\u975e\u5e38\u7c7b\u4f3c\u7684\u65b9\u5f0f\u3002\u4ece\u53d1\u5c55\u7684\u89d2\u5ea6\u6765\u770b\uff0cnanomsg\u63d0\u4f9b\u5168\u9762\u6e05\u6d01\u7684API\u3002\u4e0eZeroMQ\u4e0d\u540c\uff0c\u8ba4\u4e3a\u4e0d\u5b58\u5728\u4e00\u4e2a\u4e0a\u4e0b\u6587\u4e2d\uff0c\u5957\u63a5\u5b57\u7ed1\u5b9a\u5230\u3002\u6b64\u5916\uff0cnanomsg\u63d0\u4f9b\u53ef\u63d2\u62d4\u7684\u8fd0\u8f93\u548c\u901a\u8baf\u534f\u8bae\uff0c\u4f7f\u5176\u66f4\u52a0\u5f00\u653e\u7684\u5ef6\u4f38\u3002\u5176\u989d\u5916\u7684\u5185\u7f6e\u53ef\u6269\u5c55\u6027\u534f\u8bae\u4e5f\u4f7f\u5b83\u76f8\u5f53\u6709\u5438\u5f15\u529b\u3002<\/p>

\u3000\u3000\u3000\u3000\u50cfZeroMQ\u4e00\u6837\uff0c\u5b83\u4fdd\u8bc1\u6d88\u606f\u5c06\u88ab\u539f\u5b50\u6027\u5730\u4f20\u9012\u5b8c\u6574\u548c\u6709\u5e8f\uff0c\u4f46\u4e0d\u4fdd\u8bc1\u5b83\u4eec\u7684\u4ea4\u4ed8\u3002\u5c40\u90e8\u7684\u6d88\u606f\u5c06\u65e0\u6cd5\u4ea4\u4ed8\uff0c\u5e76\u4e14\u90e8\u5206\u6d88\u606f\u53ef\u80fd\u65e0\u6cd5\u88ab\u4ea4\u4ed8\u3002<\/p>

\u3000\u3000\u3000\u3000ZeroMq \u7684\u7814\u53d1\u8005 Martin Sustrik<\/strong>\uff1a\u5f88\u6e05\u695a\u7684\u6307\u51fa\uff1a<\/p>

\u3000\u3000\u3000\u3000\u3000\u3000Guaranteed delivery is a myth. Nothing is 100% guaranteed. That\u2019s the nature of the world we live in. What we should do instead is to build an internet-like system that is resilient in face of failures and routes around damage.\uff08\u4fdd\u8bc1\u4ea4\u4ed8\u662f\u4e00\u4e2a\u795e\u8bdd\u3002\u6ca1\u6709100\uff05\u4fdd\u8bc1\u3002\u8fd9\u5c31\u662f\u6211\u4eec\u751f\u6d3b\u7684\u4e16\u754c\u7684\u6027\u8d28\u3002\u6211\u4eec\u5e94\u8be5\u505a\u7684\u662f\u5efa\u7acb\u4e00\u4e2a\u4e92\u8054\u7f51\u822c\u7684\u7cfb\u7edf\uff0c\u9762\u5bf9\u5931\u8d25\u548c\u8def\u7ebf\u635f\u574f\u65f6\u5f39\u6027\u3002\uff09<\/p>

\u3000\u3000\u3000\u3000ActiveMQ \u548c RabbitMQ \u90fd\u662fAMQP \u7684\u4e00\u79cd\u5177\u4f53\u5b9e\u73b0\u3002\u4ed6\u4eec\u626e\u6f14\u7740\u4e00\u4e2a\u4fdd\u8bc1\u5c0f\u5fc3\u80fd\u591f\u6b63\u5e38\u4ea4\u4ed8\u7684\u89d2\u8272\u3002AcitveMQ \u548c RabbitMQ \u90fd\u652f\u6301 \u6301\u4e45\u6027\u6216\u975e\u6301\u4e45\u6027\u7684\u4fe1\u606f\u4ea4\u4ed8\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6d88\u606f\u4f1a\u5b58\u50a8\u5230\u78c1\u76d8\u4e2d\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u6d88\u606f\u961f\u5217\u91cd\u542f\u65f6\u6570\u636e\u7684\u4e00\u81f4\uff0c\u907f\u514d\u6d88\u606f\u7684\u4e22\u5931\u3002\u5b83\u4eec\u8fd8\u652f\u6301\u540c\u6b65\u548c\u5f02\u6b65\u53d1\u9001\u6d88\u606f\uff0c\u524d\u8005\u5bf9\u5ef6\u8fdf\u6709\u5b9e\u8d28\u6027\u5f71\u54cd\u3002\u4e3a\u4e86\u4fdd\u8bc1\u4ea4\u4ed8\uff0c\u8fd9\u4e9b\u4ee3\u7406\u4f7f\u7528\u6d88\u606f\u786e\u8ba4\uff0c\u8fd9\u4e5f\u5bfc\u81f4\u5de8\u5927\u7684\u5ef6\u8fdf\u4ee3\u4ef7\u3002<\/p>

\u3000\u3000\u3000\u3000\u5c31\u53ef\u7528\u6027\u548c\u5bb9\u9519\u6027\u800c\u8a00\uff0c\u8fd9\u4e9b\u4ee3\u7406\u901a\u8fc7\u5171\u4eab\u5b58\u50a8\u6216\u65e0\u5171\u4eab\u652f\u6301\u96c6\u7fa4\u3002\u961f\u5217\u53ef\u4ee5\u8de8\u96c6\u7fa4\u8282\u70b9\u8fdb\u884c\u590d\u5236\uff0c\u56e0\u6b64\u6ca1\u6709\u5355\u70b9\u6545\u969c\u6216\u6d88\u606f\u4e22\u5931\u3002<\/p>

\u3000\u3000\u3000\u3000AMQP\u662f\u4e00\u4e2a\u975e\u5e73\u51e1\u7684\u534f\u8bae\uff0c\u5176\u521b\u4f5c\u8005\u58f0\u79f0\u8fc7\u5ea6\u8bbe\u8ba1\u3002\u8fd9\u4e9b\u989d\u5916\u7684\u4fdd\u8bc1\u662f\u4ee5\u727a\u7272\u4e3b\u8981\u590d\u6742\u6027\u548c\u6027\u80fd\u6298\u8877\u4e3a\u4ee3\u4ef7\u7684\u3002\u4ece\u6839\u672c\u4e0a\u8bf4\uff0c\u5ba2\u6237\u66f4\u96be\u5b9e\u73b0\u548c\u4f7f\u7528\u3002<\/p>

\u3000\u3000\u3000\u3000\u7531\u4e8e\u5b83\u4eec\u662f\u6d88\u606f\u4ee3\u7406\uff0cActiveMQ\u548cRabbitMQ\u662f\u9700\u8981\u5728\u5206\u5e03\u5f0f\u7cfb\u7edf\u4e2d\u7ba1\u7406\u7684\u989d\u5916\u79fb\u52a8\u90e8\u4ef6\uff0c\u8fd9\u4f1a\u5e26\u6765\u90e8\u7f72\u548c\u7ef4\u62a4\u6210\u672c\u3002<\/p>

\u3000\u3000\u6700\u540e\u662fRedis\u3002\u867d\u7136Redis\u662f\u8f7b\u91cf\u7ea7\u6d88\u606f\u548c\u4e34\u65f6\u5b58\u50a8\u7684\u7406\u60f3\u9009\u62e9\uff0c\u4f46\u6211\u4e0d\u80fd\u4e3b\u5f20\u5c06\u5176\u7528\u4f5c\u5206\u5e03\u5f0f\u6d88\u606f\u4f20\u9012\u7cfb\u7edf\u7684\u4e3b\u5e72\u3002\u5b83\u7684pub \/ sub\u5f88\u5feb\uff0c\u4f46\u5b83\u7684\u529f\u80fd\u6709\u9650\u3002\u5b83\u9700\u8981\u5927\u91cf\u7684\u5de5\u4f5c\u6765\u5efa\u7acb\u4e00\u4e2a\u5065\u58ee\u7684\u7cfb\u7edf\u3002\u5b58\u5728\u66f4\u597d\u5730\u9002\u5408\u4e8e\u8be5\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8bf8\u5982\u4e0a\u9762\u63cf\u8ff0\u7684\u90a3\u4e9b\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u4e14\u8fd8\u5b58\u5728\u4e00\u4e9b\u7f29\u653e\u95ee\u9898\u3002<\/p>

\u3000\u3000\u9664\u6b64\u4e4b\u5916\uff0cRedis\u6613\u4e8e\u4f7f\u7528\uff0c\u6613\u4e8e\u90e8\u7f72\u548c","orderid":"0","title":"\u6d88\u606f\u961f\u5217\u6027\u80fd\u5bf9\u6bd4\u2014\u2014ActiveMQ\u3001RabbitMQ\u4e0eZeroMQ(\u4e00)","smalltitle":"","mid":"0","fname":"linux\u7f16\u7a0b\u57fa\u7840","special_id":"0","bak_id":"0","info":"0","hits":"323","pages":"2","comments":"0","posttime":"2017-01-02 08:15:19","list":"1483316119","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"http:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"\u6d88\u606f<\/A> \u961f\u5217<\/A> \u6027\u80fd<\/A> \u5bf9\u6bd4<\/A> ActiveMQ<\/A> RabbitMQ<\/A> ZeroMQ<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"14.17.22.31","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"\u6d88\u606f\u961f\u5217\u6027\u80fd\u5bf9\u6bd4\u2014\u2014ActiveMQ\u3001RabbitMQ\u4e0eZeroMQ","lastview":"1500632200","digg_num":"0","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}