{"id":69346,"date":"2020-02-18T14:44:04","date_gmt":"2020-02-18T11:44:04","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/rabbitmq-chast-1-introduction-erlang-amqp"},"modified":"2020-03-03T16:14:59","modified_gmt":"2020-03-03T13:14:59","slug":"rabbitmq-chast-1-introduction-erlang-amqp","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/rabbitmq-chast-1-introduction-erlang-amqp","title":{"rendered":"Az els\u0151 weboldalaimat a 90-es \u00e9vek v\u00e9g\u00e9n \u00edrtam. Akkoriban nagyon egyszer\u0171 volt m\u0171k\u00f6d\u00e9sbe \u00e1ll\u00edtani \u0151ket.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u00dcdv\u00f6zlet, Habr! Szeretn\u00e9m megosztani egy tud\u00e1s \u00fatmutat\u00f3 k\u00f6nyvet, amelyet siker\u00fclt \u00f6sszegy\u0171jtenem <code>RabbitMQ<\/code> \u00e9s \u00f6sszegezni r\u00f6vid aj\u00e1nl\u00e1sokban \u00e9s k\u00f6vetkeztet\u00e9sekben. <\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3 id=\"oglavlenie\">Tartalomjegyz\u00e9k<\/h3>\n<p><\/p>\n<ul>\n<li>RabbitMQ. 1. r\u00e9sz. Bevezet\u00e9s. Erlang, AMQP \u00e9s RPC<\/li>\n<li>RabbitMQ. 2. r\u00e9sz. Az Exchanges r\u00e9szletez\u00e9se<\/li>\n<li>RabbitMQ. 3. r\u00e9sz. Queues \u00e9s Bindings meg\u00e9rt\u00e9se<\/li>\n<li>RabbitMQ. 4. r\u00e9sz. Mi a helyzet a \u00fczenetekkel \u00e9s keretekkel<\/li>\n<li>RabbitMQ. 5. r\u00e9sz. Az \u00fczenetek k\u00f6zz\u00e9t\u00e9teli \u00e9s fogyaszt\u00e1si teljes\u00edtm\u00e9nye<\/li>\n<li>RabbitMQ. 6. r\u00e9sz. A Federation \u00e9s Shovel modulok \u00e1ttekint\u00e9se<\/li>\n<li>RabbitMQ. 7. r\u00e9sz. R\u00e9szletesen a Kapcsolatr\u00f3l \u00e9s csatorn\u00e1r\u00f3l<\/li>\n<li>RabbitMQ. 8. r\u00e9sz. RabbitMQ .NET k\u00f6rnyezetben<\/li>\n<li>RabbitMQ. 9. r\u00e9sz. Monitoring<\/li>\n<\/ul>\n<p><\/p>\n<h3 id=\"kratko-pro-amqp\">R\u00f6viden az AMQP-r\u00f3l<\/h3>\n<p><\/p>\n<blockquote><p>Az AMQP (Advanced Message Queuing Protocol) egy ny\u00edlt protokoll az \u00fczenetek rendszerkomponensek k\u00f6z\u00f6tti tov\u00e1bb\u00edt\u00e1s\u00e1ra. A f\u0151 elk\u00e9pzel\u00e9s az, hogy a k\u00fcl\u00f6nb\u00f6z\u0151 alrendszerek (vagy f\u00fcggetlen alkalmaz\u00e1sok) szabadon tudjanak \u00fczeneteket cser\u00e9lni egy AMQP br\u00f3keren kereszt\u00fcl, amely biztos\u00edtja az \u00fatv\u00e1laszt\u00e1st, esetleg garant\u00e1lja a k\u00e9zbes\u00edt\u00e9st, az adatfolyamok eloszt\u00e1s\u00e1t, \u00e9s lehet\u0151s\u00e9get ad bizonyos t\u00edpus\u00fa \u00fczenetekre val\u00f3 feliratkoz\u00e1sra.<\/p><\/blockquote>\n<p>Protokoll <code>AMQP<\/code> h\u00e1rom fogalmat vezet be:<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Az els\u0151 weboldalaimat a 90-es \u00e9vek v\u00e9g\u00e9n \u00edrtam. Akkoriban nagyon egyszer\u0171 volt m\u0171k\u00f6d\u00e9sbe \u00e1ll\u00edtani \u0151ket.\" src=\"\/wp-content\/uploads\/2020\/02\/bb523c277776ca1ae13fcb9eb10788df.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<ul>\n<li><code>exchange<\/code> (cserehely) \u2013 ahov\u00e1 az \u00fczeneteket k\u00fcldik. A cserehely <strong>elosztja az \u00fczenetet<\/strong> egy vagy t\u00f6bb sorba. \u0150 <strong>ir\u00e1ny\u00edtja az \u00fczeneteket a sorba<\/strong> a l\u00e9trehozott kapcsolatok (<code>binding<\/code>) alapj\u00e1n az \u0151 \u00e9s a sor k\u00f6z\u00f6tt<\/li>\n<li><code>queue<\/code> (sor) \u2013 egy adatstrukt\u00fara, amely a lemezen vagy a mem\u00f3ri\u00e1ban t\u00e1rolja az \u00fczenetekre mutat\u00f3 hivatkoz\u00e1sokat, \u00e9s \u00e1tadja az \u00fczenetek m\u00e1solatait <strong>a fogyaszt\u00f3knak <code>consumers<\/code><\/strong> (fogyaszt\u00f3knak)<\/li>\n<li><code>binding<\/code> (lek\u00f6t\u00e9s) \u2013 egy szab\u00e1ly, amely <strong>megjelen\u00edti a cserehelynek, hogy ezek az \u00fczenetek melyik sorba ker\u00fcljenek<\/strong><\/li>\n<\/ul>\n<p><\/p>\n<p>A protokoll a <noindex><a rel=\"nofollow\" href=\"https:\/\/www.amqp.org\/product\/architecture\">TCP\/IP<\/a><\/noindex>.<\/p>\n<p><\/p>\n<h3 id=\"kratko-pro-erlang\">rendszer tetej\u00e9n m\u0171k\u00f6dik.<\/h3>\n<p><\/p>\n<p>R\u00f6viden az Erlangr\u00f3l <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rabbitmq\">GitHub<\/a><\/noindex>A projekt forr\u00e1sk\u00f3dja a k\u00f6vetkez\u0151 t\u00e1rol\u00f3ban tal\u00e1lhat\u00f3 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/rabbitmq\/rabbitmq-server\">. Az architekt\u00fara<\/a><\/noindex> RabbitMQ-server <noindex><a rel=\"nofollow\" href=\"https:\/\/www.erlang.org\/\">Erlang<\/a><\/noindex> \u00e9s BEAM.<\/p>\n<p><\/p>\n<blockquote><p><code>Erlang<\/code> A rendszert <code>Ericsson<\/code> fejlesztette ki az 1980-as \u00e9vek k\u00f6zep\u00e9n, mint egy elosztott, hibat\u0171r\u0151, val\u00f3s idej\u0171 rendszert az alkalmaz\u00e1sok sz\u00e1m\u00e1ra, amelyek 99,999% megb\u00edzhat\u00f3s\u00e1got ig\u00e9nyelnek. <code>Erlang<\/code> K\u00fcl\u00f6nb\u00f6z\u0151 ipar\u00e1gakban \u00e9s modern alkalmaz\u00e1sokban haszn\u00e1lj\u00e1k, p\u00e9ld\u00e1ul a <code>WhatsApp<\/code>. Tov\u00e1bbi r\u00e9szleteket olvashat a <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/276951\/\">WhatsApp architekt\u00far\u00e1j\u00e1r\u00f3l, amelyet a Facebook 19 milli\u00e1rd doll\u00e1r\u00e9rt v\u00e1s\u00e1rolt meg<\/a><\/noindex><\/p><\/blockquote>\n<p><\/p>\n<h3 id=\"kratko-pro-rabbitmq\">R\u00f6viden a RabbitMQ-r\u00f3l<\/h3>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/www.rabbitmq.com\/\">RabbitMQ<\/a><\/noindex> \u2013 egy ny\u00edlt forr\u00e1sk\u00f3d\u00fa \u00fczenetbr\u00f3ker, amely \u00fczeneteket ir\u00e1ny\u00edt az \u00f6sszes alapvet\u0151 protokollel <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/AMQP\">AMQP<\/a><\/noindex> az al\u00e1bbiakban le\u00edrt <noindex><a rel=\"nofollow\" href=\"http:\/\/www.amqp.org\/resources\/download\">specifik\u00e1ci\u00f3<\/a><\/noindex>. <code>RabbitMQ<\/code> megval\u00f3s\u00edtja \u00e9s kieg\u00e9sz\u00edti a protokollt. <code>AMQP<\/code>.<\/p>\n<p><\/p>\n<p>Az \u00fczenetv\u00e1lt\u00e1s modellj\u00e9nek alapgondolata az, hogy <code>RabbitMQ<\/code> producer <code>producer<\/code> (a kiad\u00f3) nem k\u00fcld k\u00f6zvetlen \u00fczeneteket a sorba. Val\u00f3j\u00e1ban gyakran a kiad\u00f3 m\u00e9g csak azt sem tudja, hogy az \u00fczenet egy\u00e1ltal\u00e1n el lesz-e juttatva valamilyen sorba. <\/p>\n<p><\/p>\n<p>Ehelyett a kiad\u00f3 csak a cser\u00e9re k\u00fcldhet \u00fczeneteket. Egyr\u00e9szt a csere fogadja az \u00fczeneteket a kiad\u00f3kt\u00f3l, m\u00e1sr\u00e9szt pedig tov\u00e1bb\u00edtja azokat a sorokba. A cser\u00e9nek pontosan tudnia kell, mit kell tenni a megkapott \u00fczenettel. Hozz\u00e1 kell-e adni egy konkr\u00e9t sorhoz? Hozz\u00e1 kell-e adni t\u00f6bb sorhoz? Vagy az \u00fczenetet figyelmen k\u00edv\u00fcl kell hagyni?<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Az els\u0151 weboldalaimat a 90-es \u00e9vek v\u00e9g\u00e9n \u00edrtam. Akkoriban nagyon egyszer\u0171 volt m\u0171k\u00f6d\u00e9sbe \u00e1ll\u00edtani \u0151ket.\" src=\"\/wp-content\/uploads\/2020\/02\/1deaebddebde216b8f706953ddf2d3c6.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>A munka r\u00f6viden \u00edgy le\u00edrhat\u00f3: <code>RabbitMQ<\/code> A kiad\u00f3 \u00fczenetet k\u00fcld egy meghat\u00e1rozott cser\u00e9re.<\/p>\n<p><\/p>\n<ol>\n<li>A csere, miut\u00e1n megkapta az \u00fczenetet, az \u00fczenetet az \u00e1ltala \u00e9s a sor k\u00f6z\u00f6tt l\u00e9v\u0151 k\u00f6t\u00e9si szab\u00e1lyok szerint egy vagy t\u00f6bb sorba ir\u00e1ny\u00edtja.<\/li>\n<li>A sor t\u00e1rol egy hivatkoz\u00e1st erre az \u00fczenetre. Mag\u00e1t az \u00fczenetet mem\u00f3ri\u00e1ban vagy lemezen t\u00e1rolj\u00e1k.<\/li>\n<li>Amint a fogyaszt\u00f3 k\u00e9szen \u00e1ll arra, hogy az \u00fczenetet a sorb\u00f3l megkapja, a szerver l\u00e9trehoz egy m\u00e1solatot az \u00fczenetr\u0151l a hivatkoz\u00e1s alapj\u00e1n, \u00e9s elk\u00fcldi.<\/li>\n<li>A fogyaszt\u00f3 megkapja az \u00fczenetet, \u00e9s visszaigazol\u00e1st k\u00fcld a br\u00f3kernek.<\/li>\n<li>A br\u00f3ker, miut\u00e1n megkapta a visszaigazol\u00e1st, t\u00f6rli az \u00fczenet m\u00e1solat\u00e1t a sorb\u00f3l. Ezut\u00e1n elt\u00e1vol\u00edtja a mem\u00f3ri\u00e1b\u00f3l \u00e9s a lemezr\u0151l.<\/li>\n<li>RPC (t\u00e1voli elj\u00e1r\u00e1s-h\u00edv\u00e1s)<\/li>\n<\/ol>\n<p><\/p>\n<h4 id=\"rpc\"><em>RPC<\/em><\/h4>\n<p><\/p>\n<p>Folyamat <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A3%D0%B4%D0%B0%D0%BB%D1%91%D0%BD%D0%BD%D1%8B%D0%B9_%D0%B2%D1%8B%D0%B7%D0%BE%D0%B2_%D0%BF%D1%80%D0%BE%D1%86%D0%B5%D0%B4%D1%83%D1%80\">gyakorlatilag minden k\u00f6lcs\u00f6nhat\u00e1s alapja a maggal.<\/a><\/noindex> . P\u00e9ld\u00e1ul a kliens felt\u00e9teleinek kezdeti megbesz\u00e9l\u00e9se <code>RabbitMQ<\/code>, bemutat egy adott folyamatot. <code>RabbitMQ<\/code>. Amint ez a sorozat befejez\u0151dik, <code>RPC<\/code>k\u00e9sz lesz k\u00e9rd\u00e9sek fogad\u00e1s\u00e1ra a klienst\u0151l: <code>RabbitMQ<\/code> A specifik\u00e1ci\u00f3ban is<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Az els\u0151 weboldalaimat a 90-es \u00e9vek v\u00e9g\u00e9n \u00edrtam. Akkoriban nagyon egyszer\u0171 volt m\u0171k\u00f6d\u00e9sbe \u00e1ll\u00edtani \u0151ket.\" src=\"\/wp-content\/uploads\/2020\/02\/059f37304f45a1f0ff625b671f6462ee.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>a kliens \u00e9s a szerver parancsokat h\u00edvhatnak meg. Ez azt jelenti, hogy a kliens v\u00e1rja a szerverrel val\u00f3 k\u00f6lcs\u00f6nhat\u00e1st. A parancsok oszt\u00e1lyok \u00e9s met\u00f3dusok. P\u00e9ld\u00e1ul, <code>AMQP<\/code> Connection.Start <code>\u2013 met\u00f3dus h\u00edv\u00e1sa.<\/code> Start <code>oszt\u00e1ly\u00e1nak<\/code> kapcsolat \u00e9s csatorn\u00e1k <code>Connection<\/code>.<\/p>\n<p><\/p>\n<h4 id=\"podklyuchenie-i-kanaly\"><em>Az ilyen inform\u00e1ci\u00f3csere sor\u00e1n a kliens \u00e9s a szerver k\u00f6z\u00f6tt<\/em><\/h4>\n<p><\/p>\n<p>csatorn\u00e1kat <strong>haszn\u00e1lnak. A csatorn\u00e1k egy adott kapcsolaton bel\u00fcl j\u00f6nnek l\u00e9tre.<\/strong>. Minden csatorna izol\u00e1lt a t\u00f6bbi csatorn\u00e1t\u00f3l. A szinkron eset\u00e9n nem lehet a k\u00f6vetkez\u0151 parancsot v\u00e9grehajtani, am\u00edg nem \u00e9rkezett v\u00e1lasz. <strong>Annak \u00e9rdek\u00e9ben, hogy lehet\u0151v\u00e9 v\u00e1ljon a parancsok p\u00e1rhuzamos k\u00fcld\u00e9se, t\u00f6bb csatorn\u00e1t kell megnyitni. Minden csatorna k\u00fcl\u00f6n<\/strong>folyamatot hoz l\u00e9tre. Egy kapcsolatnak t\u00f6bb csatorn\u00e1ja lehet ( <\/p>\n<p><\/p>\n<p>multiplexing <code>Erlang<\/code> multiplexing<noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9C%D1%83%D0%BB%D1%8C%D1%82%D0%B8%D0%BF%D0%BB%D0%B5%D0%BA%D1%81%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5\">multiplexel\u00e9s<\/a><\/noindex>). Minden csatorn\u00e1hoz l\u00e9teznek bizonyos strukt\u00far\u00e1k \u00e9s objektumok a mem\u00f3ri\u00e1ban. Teh\u00e1t min\u00e9l t\u00f6bb csatorna van egy kapcsolat keretein bel\u00fcl, ann\u00e1l <strong>t\u00f6bb mem\u00f3ri\u00e1t haszn\u00e1l a RabbitMQ<\/strong> ennek a kapcsolatnak a kezel\u00e9s\u00e9re.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Az els\u0151 weboldalaimat a 90-es \u00e9vek v\u00e9g\u00e9n \u00edrtam. Akkoriban nagyon egyszer\u0171 volt m\u0171k\u00f6d\u00e9sbe \u00e1ll\u00edtani \u0151ket.\" src=\"\/wp-content\/uploads\/2020\/02\/9bc388200f4f82eb8f98cb1dd1580675.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Egyszer\u0171 p\u00e9lda a kapcsolat \u00e9s csatorna l\u00e9trehoz\u00e1s\u00e1ra a <noindex><a rel=\"nofollow\" href=\"https:\/\/www.rabbitmq.com\/dotnet.html\">RabbitMQ.Client<\/a><\/noindex>:<\/p>\n<p><\/p>\n<pre><code class=\"cs\">\/\/ ...\nprivate void TryConnect()\n{\n    var factory = new ConnectionFactory() \n    {\n        HostName = &quot;host_name&quot;,\n        UserName = &quot;user_name&quot;,\n        Password = &quot;p@ssword&quot;,\n        \/\/ \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u043a\u043e\u0433\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\n        \/\/ \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u0441\u0431\u043e\u0435\u0432 \u0441\u0435\u0442\u0438 \n        AutomaticRecoveryEnabled = true\n    };\n    _connection = factory.CreateConnection();\n}\n\/\/ ...\npublic void CreateChanel()\n{\n    _channel = _connection.CreateModel();\n    \/\/ other options \n}<\/code><\/pre>\n<p><\/p>\n<p>Minden egyes m\u0171velethez \u00faj kapcsolat nyit\u00e1sa nem aj\u00e1nlott, mivel ez <strong>nagy k\u00f6lts\u00e9geket eredm\u00e9nyezne.<\/strong>A csatorn\u00e1knak is \u00e1lland\u00f3nak kell lenni\u00fck, de sok protokollhib\u00e1b\u00f3l ad\u00f3d\u00f3an a csatorn\u00e1t le kell z\u00e1rni, \u00edgy a csatorna \u00e9lettartama r\u00f6videbb lehet, mint a kapcsolat\u00e9.<\/p>\n<p><\/p>\n<h4 id=\"gde-ispolzuetsya-rabbitmq\"><em>Hol haszn\u00e1lj\u00e1k a RabbitMQ-t?<\/em><\/h4>\n<p><\/p>\n<p>A mikroszolg\u00e1ltat\u00e1sok kontextus\u00e1ban a protokollt <code>AMQP<\/code> \u00e9s annak megval\u00f3s\u00edt\u00e1s\u00e1t <code>RabbitMQ<\/code> gyakran haszn\u00e1lj\u00e1k <strong>aszinkron interakci\u00f3ra<\/strong> a szolg\u00e1ltat\u00e1sok k\u00f6z\u00f6tt.<\/p>\n<p><\/p>\n<p>A kontextusban <code>IIOT<\/code> protokoll <code>AMQP<\/code> \u00e9s annak megval\u00f3s\u00edt\u00e1s\u00e1t <code>RabbitMQ<\/code> az adatok cser\u00e9j\u00e9re haszn\u00e1lj\u00e1k szerverek k\u00f6z\u00f6tt (szerver-szerver). Emellett haszn\u00e1lj\u00e1k a <noindex><a rel=\"nofollow\" href=\"https:\/\/www.rabbitmq.com\/mqtt.html\">RabbitMQ MQTT plugin-t<\/a><\/noindex> ami a protokoll megval\u00f3s\u00edt\u00e1sa <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/MQTT\">MQTT<\/a><\/noindex> adatok tov\u00e1bb\u00edt\u00e1s\u00e1ra \u00e9rz\u00e9kel\u0151 \u00e9s szerver k\u00f6z\u00f6tt alacsony sebess\u00e9g\u0171, magas k\u00e9sleltet\u00e9s\u0171 k\u00f6rnyezetekben (a t\u00e1mogatott protokollok teljes list\u00e1j\u00e1t megtal\u00e1lja a <noindex><a rel=\"nofollow\" href=\"https:\/\/www.rabbitmq.com\/protocols.html\">a projekt weboldal\u00e1n<\/a><\/noindex>).<\/p>\n<p><\/p>\n<p>A k\u00f6vetkez\u0151 cikkben r\u00e9szletesebben t\u00e1rgyaljuk az Exchanges-t.<\/p>\n<p><\/p>\n<h3 id=\"ssylki\">Hivatkoz\u00e1sok<\/h3>\n<p><\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.rabbitmq.com\/\">A RabbitMQ projekt oldala<\/a><\/noindex><\/li>\n<\/ul>\n<p>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/488654\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0443\u0447\u0435\u0431\u043d\u0438\u043a\u043e\u043c-\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0437\u043d\u0430\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043e RabbitMQ \u0438 \u0441\u0436\u0430\u0442\u044c \u0432 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u0432\u044b\u0432\u043e\u0434\u044b. \u041e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435 RabbitMQ. \u0427\u0430\u0441\u0442\u044c 1. Introduction. Erlang, AMQP \u0438 RPC RabbitMQ. \u0427\u0430\u0441\u0442\u044c 2. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 Exchanges RabbitMQ. \u0427\u0430\u0441\u0442\u044c 3. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 Queues \u0438 Bindings RabbitMQ. \u0427\u0430\u0441\u0442\u044c 4. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e-\u0442\u0430\u043a\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438 \u0444\u0440\u0435\u0439\u043c\u044b RabbitMQ. \u0427\u0430\u0441\u0442\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":69347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-69346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0443\u0447\u0435\u0431\u043d\u0438\u043a\u043e\u043c-\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0437\u043d\u0430\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043e RabbitMQ \u0438 \u0441\u0436\u0430\u0442\u044c \u0432 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u0432\u044b\u0432\u043e\u0434\u044b.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/rabbitmq-chast-1-introduction-erlang-amqp\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47RabbitMQ. \u0427\u0430\u0441\u0442\u044c 1. Introduction. Erlang, AMQP | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0443\u0447\u0435\u0431\u043d\u0438\u043a\u043e\u043c-\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0437\u043d\u0430\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043e RabbitMQ \u0438 \u0441\u0436\u0430\u0442\u044c \u0432 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u0432\u044b\u0432\u043e\u0434\u044b.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/rabbitmq-chast-1-introduction-erlang-amqp\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-18T11:44:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-03T13:14:59+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47RabbitMQ. 1. r\u00e9sz. Bevezet\u00e9s. Erlang, AMQP | ProHoster","description":"J\u00f3 napot, Habr! Meg szeretn\u00e9m osztani a RabbitMQ-val kapcsolatos tud\u00e1sanyag referencia k\u00f6nyvemet, amelyet r\u00f6vid aj\u00e1nl\u00e1sokba \u00e9s k\u00f6vetkeztet\u00e9sekbe s\u0171r\u00edtettem.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/rabbitmq-chast-1-introduction-erlang-amqp","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47RabbitMQ. \u0427\u0430\u0441\u0442\u044c 1. Introduction. Erlang, AMQP | ProHoster","og:description":"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0443\u0447\u0435\u0431\u043d\u0438\u043a\u043e\u043c-\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0437\u043d\u0430\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043e RabbitMQ \u0438 \u0441\u0436\u0430\u0442\u044c \u0432 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u0432\u044b\u0432\u043e\u0434\u044b.","og:url":"https:\/\/prohoster.info\/hu\/blog\/administrirovanie\/rabbitmq-chast-1-introduction-erlang-amqp","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-18T11:44:04+00:00","article:modified_time":"2020-03-03T13:14:59+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"69346","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:24:45","updated":"2022-10-05 05:26:04","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/69346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=69346"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/69346\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/69347"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=69346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=69346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=69346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}