搜索

pdf文档 BAETYL 1.0.0 Documentation

9.31 MB 145 页 0 下载 89 浏览 0 评论 0 收藏
语言 格式 评分
英语
.pdf
3
摘要
Baetyl is an edge computing platform designed for managing and deploying services at the edge. It consists of a master component responsible for service instance management, including start/stop/supervise operations, and supports both native process and Docker container modes. The platform includes multiple official modules such as baetyl-agent for cloud communication, baetyl-hub for MQTT-based messaging, baetyl-remote-mqtt for bridging MQTT servers, and baetyl-function-manager for function services. The documentation covers installation, configuration, development, and module contributions, with detailed instructions on setting up services, message routing, and integrating third-party libraries. It also highlights improvements in build scripts, testing, and CI/CD processes.
AI总结
# BAETYL 1.0.0 文档总结 ## 1. 什么是 Baetyl - **Baetyl** 是一个边缘计算平台,支持多种硬件(如 X86、ARM)和操作系统(如 Linux、Darwin)。 - **优势**: - 提供底层服务管理功能。 - 支持原生进程模式和 Docker 容器模式运行服务。 - 提供丰富的功能模块和灵活的扩展性。 ## 2. Baetyl 设计 - **核心组件**: - **Baetyl Master**:负责服务实例的管理(启动、停止、监控),支持原生进程和 Docker 模式。 - **官方模块**: - `baetyl-agent`:用于与云端通信,支持应用交付和设备信息上报,采用证书认证确保传输安全。 - `baetyl-hub`:基于 MQTT 协议的消息订阅和发布服务,支持 TCP、SSL、WS、WSS 四种接入方式。 - `baetyl-remote-mqtt`:用于桥接两个 MQTT 服务,支持多条消息路由规则。 - `baetyl-function-manager`:提供基于 MQTT 消息机制的计算能力,支持动态启动 Python 和 Node.js 函数运行时。 - `baetyl-function-python{27/36}`:基于 Python 2.7/3.6 的函数运行时。 - `baetyl-function-node85`:基于 Node.js 8.5 的函数运行时。 - `baetyl-video-infer`:提供视频采集和 AI 模型推理功能。 - SDK(Golang):用于开发自定义模块。 ## 3. 安装与配置 - **快速安装**: - 安装 Docker。 - 下载并安装 Baetyl。 - 启动 Baetyl 并验证安装。 - **从源码安装**: - 下载源码。 - 构建 Baetyl 及其模块。 - **配置**: - **Master 配置**:管理服务实例和资源。 - **应用配置**:定义服务和模块的运行参数。 - **模块配置**:针对不同模块的详细配置,如 MQTT 参数、函数运行时设置等。 ## 4. 更新日志 - **新功能**: - 优化 MQTT 远程模块,支持多实例和消息路由。 - 添加订阅配置验证功能。 - 支持视频推理服务 `baetyl-video-infer`。 - 支持自定义运行时模块和 Docker 网络配置。 - **修复**: - 隔离模块目录以解决 Docker 模式下的问题。 - 修复旧 Docker 版本兼容性问题。 - **其他改进**: - 优化构建、测试和发布流程。 - 更新文档和工具链(如将 Shell 转换为 Makefile)。 - 引入 Travis CI。 ## 5. 开发与扩展 - **功能开发**: - 支持通过 SDK 开发自定义模块。 - 提供 Python 和 Node.js 函数运行时,支持动态加载脚本。 - 支持导入第三方库(如 requests、PyTorch、Lodash 等)。 - **测试与验证**: - 提供详细的测试流程和验证方法。 ## 6. 总结 Baetyl 是一个功能完善的边缘计算平台,支持多种硬件和操作系统,提供丰富的模块和灵活的配置。其核心功能包括服务管理、消息路由、函数计算和视频推理等,适用于 IoT、AI 推理等多种场景。文档详细介绍了安装、配置、开发和测试等内容,适合开发者快速上手和深入使用。
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 133 页请下载阅读 -
文档评分
请文明评论,理性发言.