Difference between revisions of "Zaqar/old-home"
(→Marconi: Old Home Page)
Latest revision as of 18:42, 7 August 2014
- 1 Marconi: Old Home Page
- 2 Design
- 3 Architecture
- 4 Use Cases
- 5 Etherpads
- 6 Presentations
- 7 Articles
- 8 FAQ
- 9 Resources
Marconi: Old Home Page
Visit the new home page: Marconi
To produce a web-friendly OpenStack messaging API and service for web and mobile application developers that affords common distributed application messaging patterns in an efficient, scalable and highly-available manner, and to create and maintain associated Python libraries and documentation.
Marconi provides an HTTP messaging platform, supporting publish-subcribe, producer-consumer, point-to-point, and hyrbrid communication patterns. The project provides a pragmatic, easy-to-use API designed according to direct feedback from users. Operators may choose from a variety of options for backend storage, allowing them to tailor the performance, durability, and scalability of their offerings to achieve a best-fit messaging solution for both themselves and their users.
In order to support more complex web applications running on OpenStack, a messaging service was needed. To fill this need, the Marconi project was proposed at the Grizzly design summit. Requirements were discussed with the community and used to form the basis for the project's charter. Implementation began in February 2013, and we have been fortunate to receive regular contributions from Red Hat, Rackspace, IBM, and others since that time.
Marconi's overarching goal is to provide web-scale, highly-available messaging to web applications that run on OpenStack. Marconi runs on Nova servers, behind OpenStack load balancers and uses Keystone authentication middleware. The Marconi implementation makes use of Oslo, and follows the standard OpenStack hacking guidelines.
Marconi provides an interface for posting messages, and later claiming those messages for processing. It also provides an interface to clients for listing messages without needing to claim them (ala RSS and Atom), in order to support pub-sub and passive auditing of producer-consumer workflows. The service guarantees first in, first out (FIFO) order for single producer models, best-effort ordering otherwise.
The Marconi architecture is pluggable in terms of both transport and storage. Reference drivers for HTTP (WSGI), SQLAlchemy, and MongoDB will be provided in the initial release (Icehouse), along with a SQLite driver to facilitate development and testing. Other transport and storage drivers have been proposed, and are currently under discussion. Marconi deployments will support HA, and will be able to scale horizontally in the transport and storage layers to enable large deployments. A routing proxy and migration service is also under development, to provide further horizontal scaling across multiple independent Marconi partitions, for use in extremely large deployments.
The Marconi v1.0 API defines the following operations:
- Get JSON home document
- Check node health
- Create a queue
- List queues
- Set queue metadata
- Get queue metadata
- Get queue stats
- Delete a queue
- Post one or more messages
- List messages
- Get a message
- Delete a message
- Get multiple messages
- Delete multiple messages
- Claim messages
- Query a claim
- Update a claim
- Release a claim
Kurt Griffiths (kgriffs) is the current PTL, and is joined by the following core team members who have demonstrated solid mentoring skills and good judgment while contributing to the program.
- Flavio Percoco (flaper87)
- Alejandro Cabrera (cpp-cabrera)
- Fei Long Wang (flwang)
- Malini Kamalambal (malini)
- [your name could be here!]
- Oslo Integration: Flavio Percoco (flaper87)
- Application Security: Malini Kamalambal (malini), Jamie Painter (painterjd), and Kurt Griffiths (kgriffs)
Marconi aims to be pragmatic, building upon the real-world experiences of teams who have solid track records running and supporting web-scale message queueing systems. The project's overarching design philosophy is derived from Donald A. Norman:
The value of a well-designed object is when it has such a rich set of affordances that the people who use it can do things with it that the designer never imagined.
Goals related to the above:
- Emergent functionality, utility
- Modular, pluggable code base
- REST architectural style
Principles to live by:
- Distribute tasks among multiple workers (transactional job queues)
- Forward events to data collectors (transactional event queues)
- Publish events to any number of subscribers (pub-sub)
- Send commands to one or more agents (point-to-point or pub-sub)
- Request an action or get information from an agent (RPC)
- Marconi Client Brainstorm #1
- Common Code Improvements
- ZMQ Brainstorm #1
- FIFO Etc.
- Tests Refactoring
- Placement Service
- Marconi Proxy Issues
- Alejandro Cabrera. Rackspace Atlanta. Introducing Openstack Marconi. July 17, 2013. Youtube Speaker Deck
- Flavio Percoco. EuroPython 2013. Marconi: Queuing and Notification Service for Openstack. July 2, 2013. YouTube
- Kurt Griffiths, Allan Metts. Openstack Summit April 2013. Project Overview: OpenStack Queuing and Notification Service ("Marconi""). April 2013. YouTube
- Kurt Griffiths, Flavio Percoco, Allan Metts. Openstack Summit November 2013. Openstack Queuing and Notification Service Marconi. November 2013. YouTube
- Oz Akan. Rackspace Devops Blog. July 25, 2013. Openstack Marconi API.
Will Marconi work with AMQP?
- Planned as a backend for v2 API
- Transport TBD
- Talk to us about use cases
- Need contributors
How does Marconi compare to AWS (SQS/SNS)?
- Targets similar workloads
- Marconi will provide a unified API to handle notifications and queuing
- Marconi is highly customizable
- FIFO and once-and-only-once guaranteed (depending on storage backend)
How does Marconi compare to oslo.messaging?
- oslo.messsaging is a library -- Marconi is a service over a HTTP API
- You can write a messaging layer with oslo.messaging
- You launch Marconi with a WSGI server
- Marconi is tenant-aware -- oslo.messaging is not
- Queues created using Marconi are segregated by project-id
- oslo.messaging delegates to other brokers -- Marconi delegates to backend storage
- oslo.messaging: kombu, rabbitmq, qpid, zeromq
- Marconi: mongodb, sqlalchemy
How mature is the project?
- Marconi is used in production: marconi_users
- Number of contributors is growing
What's next for marconi?
- Releasing API v1.1 for Icehouse
- Additional storage drivers
- Storage sharding: scaling horizontally and heterogeneous storage
- Message signing
- Additional ops features
- Reference client library
See also the Icehouse Roadmap.
How easy is it to contribute/get up and running?
- You don't need devstack
- You decide what you want to work on: storage, transport, client-side, docs, tests
- Very decoupled
- Easy: choose a bug and submit a patch
|IRC||#openstack-marconi on Freenode|
|Using Marconi in OpenStack||Marconi/collaborate|
|API Blueprint|| Marconi/specs/api/v1|
|Developer Docs|| Tips for Developers|
Python Client Bindings
|Client source code||https://github.com/openstack/python-marconiclient|