seitime-frappe/frappe/docs/user/zh/bench/resources/background-services.md
Loocor c43d1fac59 frappe chinese document translation plan (#4689)
* [add] Chinese documents init.

* Videos chinese document translated

* Bench chinese documents translated half

* Bench chinese documents translated

* Fixed several mistakes for bench guides

* Frappé Tutorial chinese version in translation
2018-01-23 14:50:46 +05:30

868 B
Executable file

后台服务

外部服务

* MariaDB (Frappe 数据库)
* Redis (Frappe 后台执行单元(Workers)和缓存查询)
* nginx (用于生产环境部署)
* supervisor (用于生产环境部署)

Frappé 进程

  • WSGI 服务

    • 该 WSGI 服务负责相应对 frappe 的 HTTP 请求。在开发场景下 (bench servebench start) 为 Werkzeug WSGI 服务,生产场景下则使用 gunicorn (由 supervisor 自动配置)。
  • Redis 执行单元(Workers)进程

    • 该 Celery 执行单元进程在 Frappé 系统里运行后台任务。当 supervisor 配置为生产环境时,这些进程在运行 bench start 时会自动启动。
  • 计划任务进程

    • 计划任务进程在 Frappé 系统里运行规划的任务。当 supervisor 配置为生产环境时,该进程在运行 bench start 时会自动启动。