程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Planning and naming of Python full stack series 183 metadata

編輯:Python

Description

If the name is not correct, the words will not go well;

The naming itself is very important and will not be discussed further; in short, the most urgent task at present is to establish a naming system, so that concepts can have suitable logical bearing points.

Content

1 Transaction

Essentially all metadata

What a human can do is metadata.I have summarized the types of metadata I need to deal with at the moment:

1.1 Basic Services.

I complete related functions through a microservice system, which includes databases, agents, portals and various functional services.Some are long-running basic services that should be started on any host.

**Sometimes the machine will be migrated, how to restore all the microservices with one click after installation?**Imagine, there should be a place to record all microservices, and then a program can start these specified microservices.

Another case is automatic dependency satisfaction. A microservice can automatically ensure that related microservices are running when it starts up.

1.2 Specific Services (workers)

These specific services can generally be thought of as various "workers", performing a variety of tasks to accomplish all of the day-to-day business needs.I divide them into three categories:

  • 1 GTask: Generic tasks to handle the most personalized needs
  • 2 FGTask: Unlike GTask, FGTask does not depend on the task table, and usually executes general-purpose, high-stability tasks
  • 3 STask: Periodic task, executed every minute.

These kinds


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved