当前位置:网站首页>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 .
边栏推荐
- What are the affordable Bluetooth headsets? Student party parity Bluetooth headset recommendation
- Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
- 【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
- Deb file installation
- Leetcode, 3 repeatless longest subsequence
- Exclusive delivery of secret script move disassembly (the first time)
- Bubble Sort Graph
- [Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility
- ECS project deployment
- 浅浅了解Servlet
猜你喜欢

Appium inspector can directly locate the WebView page. Does anyone know the principle

Unity AssetBundle subcontracting

The concept and application of Cartland number

Leetcode, 3 repeatless longest subsequence

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](/img/d8/7dd5fe409d349a13128b6af554f952.jpg)
[rust web rokcet Series 1] Hello, world and get, post, put, delete

Docker安装Oracle_11g

浅浅了解Servlet

"C zero foundation introduction hundred knowledge hundred examples" (73) anonymous function -- lambda expression

【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
随机推荐
Learning note 24 - multi sensor post fusion technology
Have you stepped on the nine common pits in the e-commerce system?
Brief introduction to the development of mobile network
The technology boss is ready, and the topic of position C is up to you
Global and Chinese markets for food allergens and intolerance tests 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
学习笔记2--高精度地图定义及价值
Mathematics - feelings -20220215
游戏思考15:全区全服和分区分服的思考
Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
Study note 2 -- definition and value of high-precision map
Just using the way and method of consuming the Internet to land and practice the industrial Internet will not bring long-term development
ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)
Réseau neuronal convolutif (y compris le Code et l'illustration correspondante)
Cat Party (Easy Edition)
The author is more willing to regard industrial Internet as a concept much richer than consumer Internet
It's already 30. Can you learn programming from scratch?
Architecture evolution from MVC to DDD
SAP ui5 beginner tutorial XXI - trial version of custom formatter of SAP ui5
How does schedulerx help users solve the problem of distributed task scheduling?