当前位置:网站首页>Modeling essays series 124 a simple coding method
Modeling essays series 124 a simple coding method
2022-07-02 01:26:00 【yukai08008】
explain
Make an extension based on the three bit coding method mentioned above , In this way, we can flat code in a relatively simple way .
Content
After constructing the processing and analysis system with microservices , Naturally, we will encounter the problem of differential naming . Now suppose we need to monitor all running microservices , Real time data usage redis Storage , Log data usage mongo Storage .
How to code so that we can quickly locate the corresponding variables , Instead of looking in the document ?
The three bit coding principle was mentioned before , That is to say, the passing depth is 3 The coding of can accurately distinguish and express the keys we want to find . But this definition needs to be expanded , If the service business is 「 Outside 」, Then our service is 「 Inside 」.
Coding is not just for internal , Also include outside . So it should be expanded to 2X3 In the form of .
for example : A business project A1, There is a sub business below A2 Of A3 Indicators are through internal projects B1 The following functions B2 Service , There is B3 Under the index , The value is Value.
Then the complete code is A1.A2.A3.B1.B2.B3:Value. Each of them A perhaps B They are all composed of alphanumeric and underlined . More information can be expressed by underlining , for example B3_int, Indicates that this indicator is an integer value .
As we go AB Test You can also quickly view different results through this coding method ,A1.A2.A3.*, It can be said that , This is a business level statistical observation .
边栏推荐
- Edge computing accelerates live video scenes: clearer, smoother, and more real-time
- Global and Chinese markets for the application of artificial intelligence in security, public security and national security 2022-2028: Research Report on technology, participants, trends, market size
- Self drawing of menu items and CListBox items
- 970 golang realizes the communication between multithreaded server and client
- No converter found for return value of type: class
- uTools
- Global and Chinese markets of edge AI software 2022-2028: Research Report on technology, participants, trends, market size and share
- Finally got byte offer, 25-year-old inexperienced experience in software testing, to share with you
- Liteos learning - first knowledge of development environment
- SAP ui5 beginner tutorial XXI - trial version of custom formatter of SAP ui5
猜你喜欢

ACM tutorial - quick sort (regular + tail recursion + random benchmark)

DTL dephossite | prediction method of dephosphorylation sites based on Transfer Learning
![[rust web rokcet Series 1] Hello, world and get, post, put, delete](/img/d8/7dd5fe409d349a13128b6af554f952.jpg)
[rust web rokcet Series 1] Hello, world and get, post, put, delete
![[IVX junior engineer training course 10 papers] 06 database and services](/img/68/967566fc2f1d0b93ecd78bdb208b64.jpg)
[IVX junior engineer training course 10 papers] 06 database and services

LeetCode、3无重复最长子序列

Datawhale community blackboard newspaper (issue 1)

How can I batch produce the same title for the video?

Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
![[IVX junior engineer training course 10 papers to get certificates] 09 chat room production](/img/a8/25215e74162b7ab3f29df65681932b.jpg)
[IVX junior engineer training course 10 papers to get certificates] 09 chat room production

Datawhale 社区黑板报(第1期)
随机推荐
GL Studio 5 安装与体验
How does schedulerx help users solve the problem of distributed task scheduling?
970 golang realizes the communication between multithreaded server and client
Part 29 supplement (XXIX) basis of ECMAScript
ECS project deployment
Unity AssetBundle subcontracting
Using tabbar in wechat applet
卷積神經網絡(包含代碼與相應圖解)
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
Global and Chinese market of wireless charging magnetic discs 2022-2028: Research Report on technology, participants, trends, market size and share
CTF daily question day45 sensor
Fastadmin controls the length of fields in the table
电商系统中常见的9大坑,你踩过没?
Deb file installation
10 minutes to get started quickly composition API (setup syntax sugar writing method)
[rust web rokcet Series 2] connect the database and add, delete, modify and check curd
Entrepreneurship is a little risky. Read the data and do a business analysis
Recently, three articles in the nature sub Journal of protein and its omics knowledge map have solved the core problems of biology
Basic number theory -- Gauss elimination
Geek DIY open source solution sharing - digital amplitude frequency equalization power amplifier design (practical embedded electronic design works, comprehensive practice of software and hardware)