官术网_书友最值得收藏!

OpenStack daemon communication

Now that we've discussed the various ways in which an OpenStack operator interacts with OpenStack via the API, let's discuss internal communication among the core OpenStack services. In Figure 1.7, you can see the color code in the top left that shows the service and daemon. The service is simply the name of the OpenStack service, while the daemon represents the program that is actually running to bring the service to life.

To avoid tight coupling, communication amongst the daemons within a specific service is achieved via an Advanced Message Queueing Protocol (AMQP). In a typical OpenStack environment, this can be software such as RabbitMQ or Qpid.

Recall the cloudy development methodology that we discussed in the history portion of this chapter. While OpenStack encourages its software developers to follow this methodology when deploying applications on it, the actual OpenStack infrastructure follows the exact same principles: highly available, scalable, and loosely coupled.

For example, when a user sends a request to nova-api to boot a server, nova-api will publish this message on the AMQP bus. This message will then be read by nova-scheduler. Now let's visualize an OpenStack cloud that often receives hundreds of requests to boot instances. To solve this problem you would deploy more servers in the infrastructure, install more nova-scheduler daemons, and simply point them to the OpenStack environment's AMQP server. That's Horizontal scaling in action!

Figure 1.7: OpenStack daemons within a specific service use the AMQP bus to communicate among themselves
主站蜘蛛池模板: 榆中县| 长丰县| 栖霞市| 德惠市| 临夏市| 河曲县| 郑州市| 比如县| 集安市| 泉州市| 集贤县| 望城县| 枝江市| 沾益县| 黎平县| 中西区| 富平县| 赫章县| 华蓥市| 娄底市| 宁海县| 耿马| 寻甸| 威海市| 承德市| 合水县| 湘乡市| 财经| 札达县| 双城市| 景泰县| 禹州市| 珠海市| 新和县| 上栗县| 洪雅县| 彩票| 虞城县| 化州市| 申扎县| 栾城县|