当前位置:网站首页>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
边栏推荐
- Live broadcast preview | front line experts invite you to talk: the value of data science enabling multiple application scenarios
- II Traits (extractors)
- Recommend a free screen recording software
- 201604-4 test title: Game (BFS search maze)
- Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part 2)
- The last core step of configuring theano GPU
- Web components series (11) -- realizing the reusability of mycard
- Attention to government and enterprise users! The worm prometei is spreading horizontally against the local area network
- Yanjiehua, editor in chief of Business Review: how to view the management trend of business in the future?
- Install JDK, MySQL and nexus under Linux (tar package installation)
猜你喜欢
Install JDK, MySQL and nexus under Linux (tar package installation)
App battery historian master
After 20 days' interview, I finally joined Ali (share the interview process)
Log4j2 vulnerability battle case
Leetcode daily question - 27 Remove element (simple)
206. reverse linked list (insert, iteration and recursion)
Popular understanding of deviation and variance in machine learning
Baidu AI Financing Innovation workshop enrollment!
Cloud development practice of the small program for brushing questions in the postgraduate entrance examination - page design and production (home page of the question bank, ranking page, my)
Jmeter+grafana+influxdb build visual performance test monitoring platform (full)
随机推荐
Delete the page specified in PDF and merge pdf
MySQL lock
Cloud native 04: use envoy + open policy agent as the pre agent
Exploration of advanced document editor design in online Era
[golang] leetcode intermediate - the kth largest element in the array &
[machine learning] machine learning from zero to mastery -- teach you to recognize handwritten digits using KNN
Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning
Reasons for network timeout app flash back
[machine learning] machine learning from zero to mastery -- teach you to understand the principle of decision tree
Solution to big noise of OBS screen recording software
What are cookies in Web site development?
[phase 23] phased summary of spring recruitment practice (Alibaba cloud has OC)
DICOM to NII
R language quantile autoregressive QAR analysis pain index: time series of unemployment rate and inflation rate
Flexible scale out: from file system to distributed file system
Pcl+vs2019 configuration and some source code test cases and demos
Interview shock: talk about thread life cycle and transformation process?
Slenium tips: how to handle some dialog boxes that may appear on Web pages
About eruake learning
Besides using hackbar, how can I make post requests