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

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
主站蜘蛛池模板: 武城县| 台南市| 海丰县| 措勤县| 汉沽区| 嘉荫县| 营口市| 九台市| 新巴尔虎左旗| 丹巴县| 青阳县| 松桃| 日照市| 辽中县| 禄丰县| 淮安市| 永登县| 运城市| 永登县| 威海市| 仲巴县| 黑河市| 炎陵县| 黄大仙区| 亳州市| 保山市| 公安县| 盘锦市| 仁化县| 祁连县| 托克逊县| 宁晋县| 沧源| 偏关县| 磐安县| 胶州市| 华池县| 山西省| 呼伦贝尔市| 诸城市| 西安市|