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 ...
随机推荐
- CSS设计指南之CSS三种机制:继承、层叠和特指
一.继承 CSS中的祖先元素也会向后代传递一样东西:CSS属性的值.body元素是所有元素的祖先,所有标签都是它的后代,比如为body元素设置一种字体,那么文档中的所有元素,无论它在层次结构中多么靠下 ...
- ::before和::after 常见的用法
.lizi:after{ content: "I'M after"; /*插入字符串*/ content: "attr(id)"; /*插入当前元素属性*/ ...
- Lucene笔记二
lucene 的排序 package cn.itcast.lucene; import java.io.IOException; import org.apache.lucene.document.D ...
- Properties 的list方法 直接将内容放到文本中
Properties 的list方法 直接将内容放到文本中
- mac终端命令-----常规操作
OSX 的文件系统 OSX 采用的Unix文件系统,所有文件都挂在跟目录 / 下面,所以不在要有Windows 下的盘符概念. 你在桌面上看到的硬盘都挂在 /Volumes 下. 比如接上个叫做 US ...
- [洛谷P4174][NOI2006]最大获利
题目大意:同Petya and Graph,数据范围改成$n\leqslant5\times10^3,m\leqslant5\times10^4$ 题解:同上 卡点:无 C++ Code: #incl ...
- BZOJ4753:[JSOI2016]最佳团体——题解
https://www.lydsy.com/JudgeOnline/problem.php?id=4753 JSOI信息学代表队一共有N名候选人,这些候选人从1到N编号.方便起见,JYY的编号是0号. ...
- HDU2089:不要62——题解
http://acm.hdu.edu.cn/showproblem.php?pid=2089 Problem Description 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer). 杭州交通管 ...
- mysql 主从同步 M-S 搭建
主机: [root@ygy130 ~]# mysql -usystem -p123456 mysql> create database HA; mysql> use HA; mysql&g ...
- 如何在Linux上安装QQ
我一直无法解决Ubuntu QQ问题,而最近我重装ubuntu之后在网络上找到与QQ相关的内容,网上有大神开发出了新版的wineQQ,解决了我们对QQ的需求.经过尝试,完成了QQ安装 如图 安装的是 ...