OpenStack Marconi and Zaqar is a multi-tenant cloud messaging service. It has semantics to support event broadcasting and has RESTful API. Previously, we talked about Rackspace Cloud Queue, PUSH Technology and practical example of Push with unrelated service – OpenShift Hosted AeroGear. Here is a basic guide to OpenStack Marconi, which possibly will help some starters.
OpenStack Marconi : Basic Guide For Cloud Queue
Zaqar is a multi-tenant cloud messaging service for web developers and Official documentation can be found on OpenStack’s Wiki and Git :
1 2 | https://wiki.openstack.org/wiki/Zaqar https://github.com/openstack/zaqar |
Official Rackspace Cloud’s announcement with common usage can be read here :
---
1 | http://www.rackspace.com/blog/openstack-marconi-api/ |
The importance of Openstack Marconi as a Queue Backend is that, we basically can use the function for even common web applications written in PHP, like WordPress, Drupal, Joomla etc. for common services like Feeds, Notifications etc. We can offload the work on MySQL database on WordPress if we add the feature of OpenStack Marconi.
Possibly we are first to highlight the possibility of integrating OpenStack Marconi with WordPress. Drupal has module :
1 | https://www.drupal.org/node/2142465 |
These OpenStack Marconi, Cloud Queue are related to Internet of Things and it is suggested to read the Protocols related to Internet of Things. You will frequently face AMQP (Advanced Message Queuing Protocol) in many projects related to these concepts and practical application. Whatever the usage is, for PHP, you’ll need OpenStack PHP Library :
1 | https://github.com/rackspace/php-opencloud |
RPC calls, RPC cast in supported on Openstack. Obviously, you needed to know about OpenStack Nova Agent for server side usage instead of usage via PHP :
1 | http://docs.openstack.org/developer/nova/devref/rpc.html |
This is practically like Rackspace Cloud Monitoring Tool.
OpenStack Marconi : Too Much Theories?
Number of examples with is limited. But you can check these official guides written by Rackspace :
1 2 | http://www.rackspace.com/knowledge_center/article/cloud-queues-curl-cookbook http://www.rackspace.com/knowledge_center/article/setting-up-a-pub-sub-model-in-cloud-queues |
When you are able to use cURL, you’ll able to use a programming language like PHP to use the cURL function and use PHP’s logical works. As a developer, you can start with a basic PHP script. From Rackspace Dashboard, there is not much functions, at this moment. You can use a library or plugin which is intended for other usage and modify it :
1 | http://plugins.svn.wordpress.org/pushbullet-notification/tags/1.3.6/pushbullet-notifications.php |
Tagged With marconi openstack