当前位置:网站首页>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
边栏推荐
- var、let、const 三者的区别
- MSYQL is abnormal. Don't worry. Mr. Allen will point out the puzzle
- Precautions for installation and use of rotary joint
- [gym 102423]-elven efficiency | thinking
- Pinhole camera with added lens
- Phoenix installation tutorial
- How to carry token authentication in websocket JS connection
- 养老年金险是理财产品吗?预期收益在哪看?
- 矩 阵 压 缩
- pinhole camera model
猜你喜欢

这玩意叫跳表?

滑环的基本结构及工作原理分析

Typescript-- section 4: Functions

单机多实例MYSQL主从复制

Comics | goodbye, postman! One stop collaboration makes apipost more fragrant!

MapReduce案例
![[leetcode] 522. Longest special sequence II violence + double pointer](/img/88/3ddeefaab7e29b8eeb412bb5c3e9b8.png)
[leetcode] 522. Longest special sequence II violence + double pointer

Go1.18 new feature: discard strings Title Method, a new pit!

12.物體檢測Mask-Rcnn

Analysis of basic structure and working principle of slip ring
随机推荐
Use and principle of handlerthread
MySQL 8.0 above reporting 2058 solution
var、let、const 三者的区别
Notes: three ways to define setters and Getters
Easy to use free ppt template
Test experience: how testers evolve from 0 to 1
LG. Hankson's interesting questions, C language
With notes: insert sort --from WCC
Haskell 配置 VS code 开发环境 (2022年6月)
旋轉接頭安裝使用注意事項
Single machine multi instance MySQL master-slave replication
Reading notes of English grammar new thinking Basic Edition 2 (I)
MapReduce case
Operation level smart campus system source code smart campus applet source code + electronic class card + face recognition system
Introduction to four MySQL engines
基于.NetCore开发博客项目 StarBlog - (13) 加入友情链接功能
由背景图缓存导致的canvas绘图跨域问题
Differences among VaR, let and Const
Reference materials in the process of using Excel
Basic use of Chrome browser