yuyu_web/docs/architecture.md

23 lines
1,007 B
Markdown
Raw Permalink Normal View History

2023-02-14 01:12:40 +07:00
## **Yuyu Architecture**
![yuyudiagram](assets/images/yuyudiagram.png)
---
## **Yuyu Components**
Yuyu have two components for running bellow :
### 1. Yuyu Server
Yuyu server provide ability to manage openstack billing by listening to every openstack event. Yuyu server is a required component to use Yuyu Dashboard. There are 3 main component in Yuyu server: API, Cron, Event Monitor. More detail about Yuyu server at [https://github.com/Yuyu-billing/yuyu](https://github.com/Yuyu-billing/yuyu)
2023-02-14 01:12:40 +07:00
- **Yuyu API** : Main component to communicate with Yuyu Dashboard.
- **Yuyu Cron** : Provide invoice calculation and rolling capabilities that needed to run every month.
- **Yuyu Event Monitor** : Monitor event from openstack to calculate billing spent.
### 2. Yuyu Dashboard
Yuyu dashboard is a panel at openstack dashboard that is used to manage your openstack bills. More detail about Yuyu server at [https://github.com/Yuyu-billing/yuyu_dashboard](https://github.com/Yuyu-billing/yuyu_dashboard)