Building an Industry Information Website

本文涉及的产品
传统型负载均衡 CLB,每月750个小时 15LCU
应用型负载均衡 ALB,每月750个小时 15LCU
EMR Serverless StarRocks,5000CU*H 48000GB*H
简介: Object Storage Server (OSS) is a massive, secure, low-cost and highly reliable distributed storage service offered by Alibaba Cloud.

Abstract: Object Storage Server (OSS) is a massive, secure, low-cost and highly reliable distributed storage service offered by Alibaba Cloud. It provides unlimited storage space, 99.99999999% data reliability, quick access to large files, and nested image processing capabilities to help you easily deal with storage of and access to massive files. OSS has the following advantages compared to self-built storage services:

Multiple servers to support horizontal expansion of business systems

A business system with a highly scalable architecture is virtually capable of withstanding any amount of access traffic. Unlike vertical scaling, horizontal scaling puts less pressure on the overall hardware of a server.

To implement load balancing, you can use traditional technologies for traffic distribution to support multiple servers. Commonly used load balancing technology such as F5 uses expensive hardware. Furthermore, software such as LVS, Nginx, and HAProxy is challenging to build and maintain on a system.

Alibaba Cloud Server Load Balancer accomplishes the same goal while keeping costs at a minimum. Server Load Balancer is easier to use than traditional methods and can reduce costs by up to 60%. Server Load Balancer can be flexibly scaled according to the application load, and avoid interruption of external services in the event of traffic fluctuations. With its redundant design, it can ensure the service availability to up to 99.99%.

Server Load Balancer products' load sharing capabilities, combined with ECS's rapid creation capabilities, can lay a solid foundation for us to build a system for large numbers of users.

Accelerated static file access for regional users through CDN

If the servers for an application are deployed in the Beijing data center, users in Beijing will enjoy quicker access than Guangzhou users. This is because the access requests and reply messages for Guangzhou users have to go through a longer routing process before arriving at the servers in Beijing.

You can use Alibaba Cloud CDN to solve this issue. CDN works by caching data content to a data center that is nearest to the user. This approach greatly shortens the network access path and increases website access responsiveness and website availability. CDN can also solve issues of low network bandwidth, high user access traffic, and uneven distribution of network nodes.

Accelerated database access through caching

Most of website visits follow the Pareto principle, in which only 20% of the data represents 80% of the access requests. Therefore, we can cache hotspot data to shorten the access path to the data and reduce the pressure on our databases, thereby improving system performance and user experience.

Alibaba Cloud's Open Cache Service (OCS) works out-of-the-box to help you with quick deployment and implementation. Unlike traditional local caching services, OCS deploys its hardware and data on the cloud and offers sound infrastructure, network security and system maintenance services. You are only required to pay for the resources you have used.

If you need data persistence, select the KVStore product (compatible with the Redis protocol). Otherwise, select the OCS (compatible with the Memcached protocol) or the KVStore (compatible with the Redis protocol) according to your actual business needs.

Database and table partitions and read/write splitting for better capacity and performance

As the number of users increases, the database can become a major bottleneck in the system. A common means to improve database performance is through read/write splitting and database and table partitions. As the name suggests, read/write splitting means to divide databases into the reading database and the writing database, while achieving data synchronization through the master-slave function.

Database and table partitions can be divided into horizontal and vertical partitions. Horizontal partition refers to splitting a super large table in a database, such as the user table, into multiple smaller tables. Vertical partitioning refers to the grouping of tables based on different services, such as putting tables related to user services and commodity services to different databases.

Of course, it is not easy to implement these solutions on your own. You can use Alibaba Cloud's Distributed Relational Database Service (DRDS), an online distributed database service capable of horizontal partitioning, smooth scaling, and read/write splitting to help you solve the above problems easily.

Build a massive file system

More and more files are generated as your number of users grows and business volume increases, which will lead to storage capacity bottlenecks as well as a series of problems in data backup and access performance. A single file server is unable to meet such high business demands.

相关实践学习
SLB负载均衡实践
本场景通过使用阿里云负载均衡 SLB 以及对负载均衡 SLB 后端服务器 ECS 的权重进行修改,快速解决服务器响应速度慢的问题
负载均衡入门与产品使用指南
负载均衡(Server Load Balancer)是对多台云服务器进行流量分发的负载均衡服务,可以通过流量分发扩展应用系统对外的服务能力,通过消除单点故障提升应用系统的可用性。 本课程主要介绍负载均衡的相关技术以及阿里云负载均衡产品的使用方法。
目录
相关文章
|
机器学习/深度学习 编解码 人工智能
Reading Notes: Human-Computer Interaction System: A Survey of Talking-Head Generation
由于人工智能的快速发展,虚拟人被广泛应用于各种行业,包括个人辅助、智能客户服务和在线教育。拟人化的数字人可以快速与人接触,并在人机交互中增强用户体验。因此,我们设计了人机交互系统框架,包括语音识别、文本到语音、对话系统和虚拟人生成。接下来,我们通过虚拟人深度生成框架对Talking-Head Generation视频生成模型进行了分类。同时,我们系统地回顾了过去五年来在有声头部视频生成方面的技术进步和趋势,强调了关键工作并总结了数据集。 对于有关于Talking-Head Generation的方法,这是一篇比较好的综述,我想着整理一下里面比较重要的部分,大概了解近几年对虚拟人工作的一些发展和
|
3月前
|
机器学习/深度学习 JSON 网络协议
Nostr with NIP-05 Verification Guide
该文章是一个关于Nostr协议中NIP-05验证的指南,解释了NIP-05允许用户将公钥映射到基于DNS的可读标识符上,并提供了如何在个人域名上设置`nostr.json`文件或使用现有NIP-05服务来完成验证的步骤。
27 3
Nostr with NIP-05 Verification Guide
How China's Developers Are Defining The Information Age (Infographic 5)
China’s Developers: the technologies of tomorrow that are defining the information age
1622 0
How China's Developers Are Defining The Information Age (Infographic 5)
How China's Developers Are Defining The Information Age (Infographic 4)
China’s Developers: the essentials of today that are defining the information age
1473 0
How China's Developers Are Defining The Information Age (Infographic 4)
How China's Developers Are Defining The Information Age (Infographic 3)
China’s Developers: the trending technologies that are defining the information age
1579 0
How China's Developers Are Defining The Information Age (Infographic 3)
How China's Developers Are Defining The Information Age (Infographic 2)
China’s Developers: the tools that are defining the information age
1594 0
How China's Developers Are Defining The Information Age (Infographic 2)
How China's Developers Are Defining The Information Age (Infographic 1)
China's Developers at a Glance: 9 key takeaways from China's Developer Survey Report 2017
1869 0
How China's Developers Are Defining The Information Age (Infographic 1)
Uptime And Monitoring Strategies For Cloud-Based E-Commerce Applications/Websites
In order to keep your e-commerce site functioning properly, you need to take positive steps to monitor both its performance and functionality.
1516 0
|
安全
How Important is Data Security for the Financial Industry?
90% of financial companies worldwide think they have data security risks. What security problems do financial industry users typically encounter?
2019 0