NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
# Components of Seafile Server Seafile server comprises of the following services. - **Ccnet daemon** (ccnet for client side or ccnet-server for server side):networking service daemon. In our initial design, Ccnet worked like a traffic bus. All the network traffic between client, server and internal traffic between different components would go through Ccnet. After further development we found that file transfer is improved by utilizing the Seafile daemon component directly. - **Seafile daemon**:data service daemon - **Seahub**:the website. Seafile server package contains a light-weight Python HTTP server `gunicorn` that serves the website. Seahub runs as an application within gunicorn. - **FileServer**: handles raw file upload/download functions for Seahub. Due to Gunicorn being poor at handling large files, so we wrote this "FileServer" in the C programming language to serve raw file upload/download. - **Controller**: monitors ccnet and Seafile daemons, restarts them if necessary. **The picture below shows how Seafile desktop client syncs files with Seafile server**: ![seafile-sync-arch](https://box.kancloud.cn/2015-08-16_55d04c438a6f9.png) **The picture below shows how Seafile mobile client interacts with Seafile server**: ![mobile-arch](https://box.kancloud.cn/2015-08-16_55d04c43976b8.png) **The picture below shows how Seafile mobile client interacts with Seafile server if the server is configured behind Nginx/Apache**: ![mobile-nginx-arch](https://box.kancloud.cn/2015-08-16_55d04c43a4a1a.png)