Parallel Processing Framework
by genin IT http://www.geninit.cn , 亘盈信息技术 http://www.geninit.cn , jeffery <jeffery9@gmail.com> http://www.geninit.cn$ 99.74
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 787 |
Technical Name |
parallel_processing |
License | OPL-1 |
Website | http://www.geninit.cn |
Parallel Processing Framework / 并行处理框架
Universal parallel processing framework for Odoo with real-time progress monitoring / 通用的 Odoo 并行处理框架,支持实时进度监控
Core Features / 核心功能
-
Automatic Data Segmentation / 自动数据分段Intelligently splits large datasets into manageable chunks for optimal parallel processing / 智能地将大型数据集分割成可管理的数据块,实现最优并行处理
-
Decorator-based Integration / 装饰器集成Easy-to-use @parallel_process decorator for seamless integration with existing business methods / 易于使用的 @parallel_process 装饰器,与现有业务方法无缝集成
-
Real-time Progress Monitoring / 实时进度监控Live progress updates with task and chunk status tracking through web interface / 通过 Web 界面实时更新进度,跟踪任务和数据块状态
-
HTTP API Endpoints / HTTP API 端点RESTful APIs for distributed processing with independent database connections / 用于分布式处理的 RESTful API,具有独立的数据库连接
-
Comprehensive Error Handling / 全面错误处理Detailed error reporting with failed record IDs and automatic fallback to serial processing / 详细的错误报告,包含失败记录 ID,自动降级到串行处理
Advanced Features / 高级功能
Processing & Performance / 处理与性能
- Configurable chunk sizes and worker counts / 可配置的数据块大小和工作进程数
- Multiprocessing with HTTP API architecture / 基于 HTTP API 架构的多进程处理
- Independent database connections per chunk / 每个数据块独立的数据库连接
- Automatic performance optimization / 自动性能优化
Monitoring & Integration / 监控与集成
- Owl component-based progress visualization / 基于 Owl 组件的进度可视化
- Task and chunk-level status tracking / 任务和数据块级别的状态跟踪
- Mixin classes for easy model integration / 用于简化模型集成的 Mixin 类
- Client actions for progress monitoring / 用于进度监控的客户端动作
Technical Requirements / 技术要求
Odoo Configuration / Odoo 配置
Requires Odoo 17.0+ with sufficient workers (--workers=8 recommended) for optimal parallel processing performance / 需要 Odoo 17.0+ 并配置足够的工作进程(推荐 --workers=8)以获得最佳并行处理性能
Database Setup / 数据库设置
PostgreSQL with adequate connection pool size to support concurrent processing. Monitor connection limits during parallel operations / PostgreSQL 需要足够的连接池大小以支持并发处理。在并行操作期间监控连接限制
Python Dependencies / Python 依赖
Requires Python requests library for HTTP API communication. All other dependencies are included with standard Odoo installation / 需要 Python requests 库用于 HTTP API 通信。其他依赖项包含在标准 Odoo 安装中
Technical Support / 技术支持
For custom development or technical support, please contact us at info@geninit.cn / 如需定制开发或技术支持,请联系我们 info@geninit.cn
Official Website / 官方网站 Technical Support / 技术支持
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module