APP下载

分布式论坛系统解决方案的设计

2021-10-09张娜白金峰

软件工程 2021年10期

张娜 白金峰

摘  要:当今互联网应用与服务的主要问题就是如何支撑庞大的用户请求数量及并行处理海量数据。本文在详细调研了目前论坛系统处理高并发请求和海量数据的解决方案后,针对论坛系统的用户和服务特性,设计了一套分布式论坛系统的解决方案。该系统基于Spring Cloud(用于构建微服務开发的框架集合)微服务架构,为提升用户体验,采用了前后端分离的B/S(浏览器/服务器)模式;极大地提升了处理并发请求的能力,并且方便管理员对系统和内容进行管理;拓展性强,可用性高,运行稳定,使用简单,能够满足论坛用户和管理者的需求。

关键词:分布式;Spring Cloud;微服务;论坛系统

中图分类号:TP391     文献标识码:A

Design of Distributed Forum System Solution

ZHANG Na, BAI Jinfeng

(Dalian Neusoft University of Information, Dalian 116023, China)

zhangna@neusoft.edu.cn; baijinfeng1202@126.com

Abstract: Nowadays, a main problem of Internet applications and services is how to support the huge number of user requests and to process the massive data at the same time. After a detailed investigation of solutions to handling high concurrent requests and massive data for the current forum system, this paper proposes to design a set of distributed forum system solutions according to users and service characteristics of the forum system. The system is based on the Spring Cloud (a framework collection for microservice development) Microservice Architecture. In order to improve user experience, a B/S (browser/server) model that separates the front and back ends is adopted. The system greatly improves the ability of processing concurrent requests, and facilitates administrators to manage the system and contents. With its strong expansibility, high availability, stable operation and user-friendliness, the system can meet the needs of forum users and administrators.

Keywords: distributed; Spring Cloud; microservice; forum system

1   引言(Introduction)

随着当今计算机技术的快速发展,互联网应用与服务最主要的问题就是如何处理海量的数据和支撑数以百万计的用户。目前分布式计算系统十分火爆,各种各样的分布式架构也层出不穷,但解决云计算工程中实际具体问题的论文和研究成果依然较少。

本文提出的分布式论坛系统主要解决两大问题:一是分布式技术;二是论坛系统的功能可用性。众所周知,目前Web服务架构中比较火的技术就是微服务+分布式部署结构[1],通过该结构可以明显地改善系统的性能和可用性,所以本论文的重点研究方向之一就是如何架设微服务+分布式系统,以及解决分布式系统中容易遇到的问题。除此之外,分布式系统的功能开发方式与传统结构系统的功能开发方式不同,开发者还需要了解如何将服务进行拆分,通过模块的方式实现系统的功能并且保证系统功能可用性。……

登录APP查看全文