当前位置:网站首页>Common optimization of e-commerce server system architecture
Common optimization of e-commerce server system architecture
2022-06-25 20:44:00 【Chengshaoting】
system optimization :
- 1: Optimize the maximum number of open files and open processes for all servers
- 2: Turn on ntp Services automatically synchronize , Keep the time consistent
Component optimization :
ES Optimize :
- 1: ES Set the memory to the system memory 45%
- 2: Set up bootstrap.memory_lock: true Parameters , keep JVM Locking memory , Guarantee ES Performance of
- 3: Set kernel parameters vm.swappiness=1, avoid ES Use to swap, So that ES Query data is slow , Cause system performance bottleneck
Nginx Optimize :
- 1: Adjust kernel parameters net.ipv4.tcp_syn_retries = 6,net.ipv4.tcp_synack_retries=5
Optimize nginx And back-end servers 3s Clock timeout retransmission problem - 2: Optimize Nginx Parameters of , Solve a large number of problems under high concurrent downforce testing timewait Status causes no availability socket problem
K8s Optimize :
- 1: close k8s Node flannel.1 and eth0 Packet verification function of network card , solve nginx With the back end k8s Of service Occasional timeout problem
Database optimization :
- 1: Database optimization is slow sql
- 2: Adjust the synchronization parameters between active and standby , Avoid data loss caused by excessive delay between active and standby systems
Log optimization :
- 1: Adjust the log level of all services to ERROR, Reduce the printing of logs , Avoid K8S Frequent eviction of servers
边栏推荐
- very good
- R language quantile autoregressive QAR analysis pain index: time series of unemployment rate and inflation rate
- Paddledtx v1.0 has been released, and its security and flexibility have been comprehensively improved!
- ZK implementation of distributed global counter for cursor application scenario analysis
- Node installation method you don't know
- The last core step of configuring theano GPU
- Interview shock: talk about thread life cycle and transformation process?
- Share several Threat Intelligence platforms
- Attention to government and enterprise users! The worm prometei is spreading horizontally against the local area network
- MySQL installation tutorial
猜你喜欢
R language momentum and Markowitz portfolio model implementation

Splunk series: Splunk installation and deployment (I)
hashlib. Md5() function to filter out duplicate system files and remove them
Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing
Why doesn't anyone read your hard-working blog? Do you really understand the skills of framing, typesetting and drawing?
Boomfilter learning
Chrome plugin installation

Sonar series: continuous scanning through Jenkins integrated sonarqube (IV)
Literals and type conversions of basic data types

Transunet reading notes
随机推荐
2021-08-25
Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part I)
Record the training process
"Space guard soldier" based on propeller -- geosynchronous geostationary orbit space target detection system
Interviewer: why does TCP shake hands three times and break up four times? Most people can't answer!
Install and initialize MySQL (under Windows)
JS canvas drawing an arrow with two hearts
App battery historian master
Introduction to event flow, event capture, and event bubbling
Jmeter+grafana+influxdb build visual performance test monitoring platform (full)
SaaS privatization deployment scheme
Solution to big noise of OBS screen recording software
Introduction to the basics of kotlin language: lambda expression
2022 "gold, silver and four" is a must for job hopping. You must know 100 questions in 2022 intermediate and advanced Android interview to realize your big factory dream
Popular understanding of deviation and variance in machine learning
I Space distributor
Cross project measurement is a good helper for CTOs and PMOS
From URL to access page rendering
PIP command -fatal error in launcher: unable to create process using How to resolve the error after migrating the virtual environment?
Leetcode topic [array] -33- search rotation sort array