Link: http://blog.csdn.net/shagoo/article/details/6077686
As the business volume of Internet enterprises continues to expand, enterprise information network systems become more complex, and performance problems become increasingly prominent. Serial
Friendship Tip: Other versions, the same way, we can leaf out.First download PHP extension php_stomp.dll file, search the official website of PHP "Stomp", after searching, such asIf you click "Installation"Click Installation to enter the following
Apollo originates from ACTIVEMQ and is known for its fast and reliable support for multi-protocol: STOMP, AMQP, Mqtt, Openwire, SSL, and WebSockets, described below for STOMP, AMQP, MQTT clients.The following is an introduction to the Apollo 1.7.11,
When using the stomp package (such as PHP Python Ruby) in some language environments, the following problems may occur:
Unexpected ack received ed for message-ID
This may be caused by two reasons.
1. No Ack is sent in order, which leads
ACTIVEMQ This open source messaging server provides multi-lingual support, in addition to the General Java client, you can also use the C + +, PHP, Python, JavaScript (Ajax) and other languages to develop the client. Recently, because of project
20135 record 1: PHPPHP: Stomp? (Zheng yu Note 1, this time-out setting is unacceptable in the production environment. Generally 2 ~ 3 seconds timeout .) PHP: Stomp? Before an exception is thrown, the default number of attempts to connect to
PHP uses ActiveMQ instances and phpactivemq instances
Use Point-To-Point models
Point-to-Point model features:
Only one consumer can receive messages.
Repeated consumption is not allowed.
Producer. php code:
username = 'test'; $ obj->
A list of asynchronous programming resources in PHP.
Concepts
Asynchronous
asynchronous I/O-Wikipedia
Async PHP by Christopher Pitt/assertchris
Blocking
Blocking (computing)-Wikipedia
Concurrency
Concurrency
We've learned how to deploy ACTIVEMQ in the front,We know that the task queue can be viewed through a management background in ACTIVEMQ.TodayUsing PHP to manipulate ACTIVEMQ, we can use a third-party extension.Download:require fusesource/stomp-php:2.
AMQP Protocol Introduction
AMQP, Advanced message Queuing Protocol, is an open standard for application-layer protocols designed for message-oriented middleware.
The main features of AMQP are message-oriented, queue, routing (including
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.