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

Redash architecture

Redash is a single-page web app, with JS frontend and backend.

Originally having the frontend written in AngularJS, since V5, it's in transition to React:

 

Redash itself is written in Python.

The UI (frontend) is AngularJS, which is responsible for all the visualizations, dashboards, and the query editor. The regular user interacts with this the most.

The server (backend) is a Flask App, which uses the Celery Distributed Task Queue as its task worker engine (Celery workers are responsible for query execution).

The server handles the actual query execution requests on various Data Sources, such as dashboard refresh requests, both from the frontend and from API calls (for example, slack bots, advanced user's webhooks, and so on).

The PostgreSQL database is used to store all the necessary application metadata and configurations (users/groups/datasource definitions/queries/dashboards).

Redis in the memory datastore serves as both the Celery Message Broker (Celery requires a message broker service to send and receive messages).

主站蜘蛛池模板: 即墨市| 仙游县| 石阡县| 丰城市| 循化| 保定市| 蕲春县| 禹州市| 萨迦县| 赫章县| 潜山县| 瑞丽市| 阿图什市| 彰化市| 库伦旗| 宣汉县| 二手房| 怀仁县| 株洲市| 漠河县| 泗洪县| 通城县| 沙田区| 河北区| 芦山县| 南溪县| 兴安盟| 武川县| 边坝县| 南安市| 北碚区| 玛纳斯县| 延庆县| 朝阳市| 涟源市| 东兴市| 信阳市| 金湖县| 石景山区| 三江| 台中市|