Posts
Prometheus
· β˜• 3 min read
Internet services often depend on tens of thousands of hosts, and those hosts are deployed all over the world, on top of a tangled mess of user environments. To keep a service stable and reliable, you need to monitor it. The goals of monitoring can be considered from several angles: from the system dimension, understand CPU, memory, and disk usage; from the network monitoring dimension, understand upstream and downstream rates; from the service monitoring dimension, understand the health and availability of the application.

ELK Log Search Practice
· β˜• 4 min read
This article gives a brief introduction to the ELK stack and provides a Docker compose orchestration configuration. After reading it, you can get ELK running locally with Docker. A later article will cover deploying ELK on servers and adding the related configuration. 1. Introduction to the ELK Stack ELK is not actually a single piece of software but a whole solution β€” an acronym formed from the initials of three software products: Elasticsearch, Logstash, and Kibana.

How to Do Code Review Better
· β˜• 2 min read
1. How to Do Code Review Better Requirement Items Requirements for the committer Small granularity Atomicity With comments Tool checks Requirements for the reviewer First conventions Second logic & performance Third design Requirements for the team Reviewing the old to learn the new 2. Define a Code Review Checklist Requirement Items Naming Variable names

Django Development Conventions (Part 1)
· β˜• 3 min read
This article mainly lays out a few things to watch out for during Django development. A consistent coding style and sound design principles help a project’s development and maintenance, and are worth developers studying and discussing continuously. 1. Encoding Declaration When the Python interpreter executes code, it needs to be

Common Frontend Component List
· β˜• 1 min read
toastr Toast notification popups artDialog Dialog component DataTables A jQuery-based table plugin KendoUI A very complete UI framework, with many components wangEditor Web rich text editor jstree Web tree structure component highcharts echarts D3js Data charts select2 Dropdown select validate jQuery-based form validation Vuejs Can be used for two-way data binding, and also for building single-page applications