当前位置:网站首页>Notes on the infrastructure of large websites
Notes on the infrastructure of large websites
2022-06-29 00:35:00 【VR technology Xiaoguang】
Notes on the basis of large website architecture
- Architecture paradigm
- Layered architecture
- Distributed architecture
- Distributed applications and services
- Distributed static resources
- Distributed data and storage
- Distributed computing Hadoop, MapReduce
- Business split
- Cluster deployment
- Cache deployment
- CDN
- Reverse proxy
- Local cache
- Distributed cache
- Asynchronism
- Resource redundancy
- automation
2. The five elements of Architecture
- performance
- network performance CDN, bandwidth
- Server hardware performance CPU, Memory , Mechanical drive ,SSD
- Load balancing LVS four layers
- High performance services
- Browser side Browser cache , Page compression , Reduce Cookie
- Application server Local cache , Distributed cache , Asynchronous operations
- Database server Indexes , cache ,SQL performance optimization
- Usability
- 7X24 Hours .
- Resource redundancy
- System availability during downtime
- Scalability
- Function split , Physical separation , Achieve scaling
- Single function clustering
- Extensibility
- Event driven , Message queue
- Distributed server framework , Call service mode separation
- Security
- confidentiality
- integrity
- Authenticity
- Possessiveness
3. Performance indicators
- response time
- Concurrency number
- throughput
- Health
4. cache
- memcached
- Redis
- Applicable to low frequency data modification
- Applicable to hotspot access data
- Data inconsistency
- Through asynchronous threads
- Solve through scheduled tasks
- Solve through status verification
- Cache availability
- Distributed
- Copy
- Cache penetration problem
- Data with an empty result is also cached
- It must not exist key Use a Burong filter
- Distributed cache
5.CDN cache
6. Load balancing
- Seven layer load balancing Nginx
- Four layer load balancing LVS F5
- Reverse agent principle
- Be a stand in for the internal server
- As load balancing
- benefits
- Improve internal server security
- Improve responsiveness
- save IP Address resources
7. Distributed database
- mysql
- advantage
- Distributed data management , Increase performance
- Economical and flexible
- High reliability and availability
- Data cutting
- Vertical segmentation
- Transverse segmentation
- Read / write separation
- Master slave synchronization , Data integrity
- Code based implementation
- Use the intermediate layer
- middleware
- Cobar,MyCat,OneProxy,Viteness,KingShard,Atlas,MaxScale
8. Storage optimization
- SDD
- RAID
- HDFS
- Hadoop2.0
9. Message queue
- A synchronous invocation
- Asynchronous call
- producer - Consumer model
- Two models :
- Point to point model
- Subscription model
- Common products
- RabbitMQ
- ActiveMQ
- RocketMQ
- Kafka
10. Distributed service data consistency
- Two phase submission agreement
- Preparation stage
- Submission phase
- Three stage submission agreement
- TCC agreement
- Solution
- Query mode
- Compensation mode
- Asynchronous assurance mode
- Timed proofreading mode
11. Distributed log service
- EFK
- elasticsreaarch
- filebeat
- kibana
- logstash
- kafka
边栏推荐
- 旋轉接頭安裝使用注意事項
- Give you a project, how will you carry out performance testing (I)
- 每日一题: 数组中数字出现的次数
- How the slip ring motor works
- Comparison between winding process and lamination process
- [image detection] recognition of the front and back of a coin based on texture features with matlab code attached
- Use menu resources to implement option menus and context menus
- MSYQL is abnormal. Don't worry. Mr. Allen will point out the puzzle
- 请问基金是否靠谱,安全吗
- [leetcode] 522. Longest special sequence II violence + double pointer
猜你喜欢

Analysis of basic structure and working principle of slip ring

The magical zero knowledge proof can not only keep secrets, but also make others believe you!
![[leetcode] 522. 最长特殊序列 II 暴力 + 双指针](/img/88/3ddeefaab7e29b8eeb412bb5c3e9b8.png)
[leetcode] 522. 最长特殊序列 II 暴力 + 双指针

Redis常用命令手册

Summary of software testing cognition

Along with the notes: methods simulating array like classes

Accessories and working process of machine vision system

机器视觉系统的配件及工作过程
![[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter](/img/7b/f9cea5dfe6831f5f226b907e2095eb.jpg)
[image denoising] matlab code for removing salt and pepper noise based on fast and effective multistage selective convolution filter

Typescript -- Section 1: basic types
随机推荐
websocket-js连接如何携带token验证
矩 阵 压 缩
MySQL 8.0 above reporting 2058 solution
Document management.
Test experience: how testers evolve from 0 to 1
滑环的基本结构及工作原理分析
The company has a new Post-00 test paper king. The old oilman said that he could not do it. He has been
Phoenix安装教程
Trois questions PWN
Use and principle of handlerthread
Daily question 1: the number of numbers in the array
如果你会玩这4个自媒体运营工具,副业收入6000+很轻松
Give you a project, how will you carry out performance testing (I)
三個pwn題
Program environment and pretreatment
Xiaobai's e-commerce business is very important to choose the right mall system!
Sword finger offer 12 Path in matrix
[gym 102423]-elven efficiency | thinking
Two ways to set up a single Nacos load balancing ribbon polling policy weight
单机多实例MYSQL主从复制