当前位置:网站首页>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 .
边栏推荐
- "C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression
- Datawhale community blackboard newspaper (issue 1)
- 学习笔记3--高精度地图关键技术(上)
- Design and implementation of radio energy transmission system
- Basic usage of three JS high-order functions --filter---map---reduce
- Edge extraction edges based on Halcon learning_ image. Hdev routine
- NeRV: Neural Reflectance and Visibility Fields for Relighting and View Synthesis
- The first "mobile cloud Cup" empty publicity meeting, looking forward to working with developers to create a new world of computing!
- II Basic structure of radio energy transmission system
- cookie、session、tooken
猜你喜欢

Zak's latest "neural information transmission", with slides and videos

Infiltration records of CFS shooting range in the fourth phase of the western regions' Dadu Mansion
![[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

6-3漏洞利用-SSH环境搭建

6-2漏洞利用-ftp不可避免的问题
![[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games](/img/69/44219af52baef20cedec3870147589.jpg)
[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games

卷積神經網絡(包含代碼與相應圖解)

Docker安装Oracle_11g

969 interlaced string

Since I understand the idea of dynamic planning, I have opened the door to a new world
随机推荐
Brief description of grafana of # yyds dry goods inventory # Prometheus
How does schedulerx help users solve the problem of distributed task scheduling?
【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
[rust web rokcet Series 1] Hello, world and get, post, put, delete
ECS project deployment
970 golang realizes the communication between multithreaded server and client
UDS bootloader of s32kxxx bootloader
6-3漏洞利用-SSH环境搭建
Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
Liteos learning - first knowledge of development environment
Mathematics - feelings -20220215
A problem about function template specialization
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
技术大佬准备就绪,话题C位由你决定
Just using the way and method of consuming the Internet to land and practice the industrial Internet will not bring long-term development
Two TVs
How does schedulerx help users solve the problem of distributed task scheduling?
Keepalived introduction and installation
Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share