Skip to Content

Documenting, learning, sharing, communicating, collaborating, and growing 

Welcome to my blog, where I share insights from software development, coding practice, and product thinking. Solving problems, sharing knowledge, connecting the world — I look forward to growing together with you.


View All Posts

EDI 对接方案

记录了第一次接触 EDI 并成功实施的方案:

基于业务需求,我们需要实现:

  • EDI 报文处理
  • EDI 通信传输
  • 对接 ERP 系统

涉及技术:

Bots-Edi(报文处理)

django-pyAS2(数据传输)

Odoo ERP(对接、业务流程管理)

Nginx(反向代理、SSL)

...

Odoo 学习笔记

Odoo 内建服务器

包括 HTTP、定时、live-chat 服务,支持多线程与多进程

每个 HTTP 请求创建线程,守护进程也创建线程,存在 GIL 问题

默认使用多线程服务器(--worker=0)

设置 --worker 且非0,则使用多进程服务器,仅限 Linux

多进程服务器启动时创建进程池,HTTP 请求由 OS 排队等待 worker 处理

支持事件驱动、定时任务、进程回收等机制....

Looking forward to communicating with you. 

Welcome any communication, inquiries, and suggestions.

I’m happy to share experiences, exchange ideas, and assist in solving any problems.

Contact Me