RabbitMq related
RabbitMq related
Integration of message queuing tools with systems is the usual solution to handle high concurrency in web platforms, there are several queues to choose from, but most often used is an opensource tool written in ErLang.
ErLang is said to be a functional programming language which is created for handling concurrency, there are processing models in built. Like exception handling, each erLang function is a process, and each process throws exception to an exception pool, in this way, exception handling can be in general dealt with in the pool.
RabbitMq server provides a solution to queue messages and interact with client using client, consumer, producer, etc. So, concurrency is multiplied by several times as the queue goes.
Installation of RabbitMq
1. Erlang is the precondition of RabbitMq, so, first go to Erlang website, download and install ErLang on windows
2. Go to RabbitMq website and install RabbitMq server on windows
3. Open ErLang shell and start using shell commands
4. If prompted that ERLANG_HOME environmental variable not set correctly, go to system advanced config and add system environmental variable ERLANG_HOME pointing to erlang installation home folder. Remember to restart console after environmental variable is set.
5. Check rabbitmq status, go to RabbitMq installation folder subfolder sbin and run command "rabbitmqctl status", and see rabbitmq running status there in console including pid etc.
6. RabbitMq visualization, still in sbin folder, run command "rabbitmqplugins enable rabbitmq_management", and visit "http://127.0.0.1:15672/" with default username and password "guest" "guest".
7. Stop the service, using "rabbitmqctl stop", or "rabbitmq-server -detached" to restart and run in background.
8. Rabbitmq installation has been finished, now it is time to integrate with apps!
Conclusion from above is, this article talked about _"installtion of rabbitmq"_ which consists of _"installation of erlang; rabbitmq configuration and how to operate rabbitmq services with commands; visulation portal with default username and password guest"_
RabbitMq related的更多相关文章
- RabbitMQ配置文件
配置文件Config 在Web的可视化管理界面中可以看到一些文件的路径 比如 Config文件的地址 数据库存放的文件夹 log文件的地址 进入到这个文件夹会发现有这些文件,其中example是con ...
- [译]rabbitmq 2.5 Where’s my message? Durability and you
我对rabbitmq学习还不深入,这些翻译仅仅做资料保存,希望不要误导大家. There’s a dirty secret about creating queues and exchanges in ...
- rabbitmq.config配置文件
%% -*- mode: erlang -*-%% -------------------------------------------------------------------------- ...
- RabbitMQ in Action (2): Running and administering Rabbit
Server management the Erlang node and the Erlang application Starting nodes multiple Erlang applicat ...
- 【RabbitMQ】 RabbitMQ安装
MQ全称为Message Queue, 消息队列(MQ)是一种应用程序对应用程序的通信方法.应用程序通过读写出入队列的消息(针对应用程序的数据)来通信,而无需专用连接来链接它们.消息传递指的是程序之间 ...
- RabbitMQ脑裂问题解决方案调查
现象: RabbitMQ GUI上显示 Network partition detectedMnesia reports that this RabbitMQ cluster has experien ...
- RabbitMQ Network Partitions
Clustering and Network Partitions RabbitMQ clusters do not tolerate network partitions well. If you ...
- RabbitMQ脑裂
在RabbitMQ3.4.x中会出现脑裂的现象,本文通过实验验证此脑裂现象,愿小伙伴们少走弯路. Preview 网上有两篇帖子(需要FQ) https://groups.google.com/for ...
- AMQP 0-9-1 Model Explained Why does the queue memory grow and shrink when publishing/consuming? AMQP和AMQP Protocol的是整体和部分的关系 RabbitMQ speaks multiple protocols.
AMQP 0-9-1 Model Explained — RabbitMQ http://next.rabbitmq.com/tutorials/amqp-concepts.html AMQP 0-9 ...
随机推荐
- iOS音频播放概述
在iOS系统中apple对音频播放需要的操作进行了封装并提供了不同层次的接口 下面对其中的中高层接口进行功能说明: Audio File Services:读写音频数据,可以完成播放流程中的第2步: ...
- ZOJ 1666 G-Square Coins
https://vjudge.net/contest/67836#problem/G People in Silverland use square coins. Not only they have ...
- Node js MySQL简单操作
//win7环境下node要先安装MySQL的相关组件(非安装MySQL数据库),在cmd命令行进入node项目目录后执行以下语句 //npm install mysql var mysql = re ...
- 第三部分shell编程3(shell脚本2)
7. if 判断一些特殊用法 if [ -z $a ] 这个表示当变量a的值为空时会怎么样if grep -q '123' 1.txt; then 表示如果1.txt中含有'123'的行时会怎么样if ...
- 总结 java 学习
想着想把以前学的java学习笔记整理下发上来,慢慢整理吧.
- change object keys & UpperCase & LowerCase
change object keys & UpperCase & LowerCase .toLocaleUpperCase(); && .toLocaleLowerCa ...
- DELPHI enablecontrols,disablecontrols函数
DisableControls方法是在程序修改或后台有刷新记录的时候切断数据组件,如TTABLE.ADOQUERY等等与组件数据源的联系.如果没有切断,数据源中只要一有数据的改动,尤其是批量改动的话, ...
- BZOJ4784 ZJOI2017仙人掌(树形dp+dfs树)
首先考虑是棵树的话怎么做.可以发现相当于在树上选择一些长度>=2的路径使其没有交,同时也就相当于用一些没有交的路径覆盖整棵树. 那么设f[i]为覆盖i子树的方案数.转移时考虑包含根的路径.注意到 ...
- 122. Best Time to Buy and Sell Stock II (Array)
Say you have an array for which the ith element is the price of a given stock on day i. Design an al ...
- BZOJ5322:[JXOI2018]排序问题——题解
https://www.lydsy.com/JudgeOnline/problem.php?id=5322 https://loj.ac/problem/2543 <-可以看数据,要没有这数据我 ...