编辑
2023-11-21
Java
00

Nacos体系结构

Nacos是一个开源的服务发现和配置管理平台,它提供了服务注册与发现、动态配置管理、服务元数据管理等功能。下面将详细介绍Nacos的体系结构,包括领域模型、数据模型和基本架构。

image.png 领域模型

Nacos的领域模型主要包括以下几个方面:

  1. 服务(Service):表示一个软件功能或一组软件功能,可以通过跨进程网络调用来重用不同客户端的不同目的。Nacos支持几乎所有类型的服务,包括Kubernetes服务、gRPC、Dubbo RPC服务和Spring Cloud RESTful服务等。

image.png 2. 服务注册表(Service Registry):用于存储服务、实例和元数据的数据库。服务实例在启动时向服务注册表注册,关闭时取消注册。服务的客户端和/或路由器通过查询服务注册表来查找可用的服务实例。服务注册表可能会调用服务实例的健康检查API来验证其是否能够处理请求。

编辑
2023-11-21
Java
00

初始SpringCloud

以前也写Go后端,还写过cpp web服务器,了解过各种中间件和分

编辑
2023-11-21
算法题
00

题目

cpp
class Solution { public: int minDeletion(vector<int>& nums) { const int n = nums.size();
编辑
2023-11-21
算法题
00
编辑
2023-11-20
英语学习
00

Scale with Redis Cluster Horizontal scaling with Redis Cluster

Redis scales horizontally with a deployment topology called Redis Cluster. This topic will teach you how to set up, test, and operate Redis Cluster in production. You will learn about the availability and consistency characteristics of Redis Cluster from the end user's point of view.

If you plan to run a production Redis Cluster deployment or want to understand better how Redis Cluster works internally, consult the Redis Cluster specification. To learn how Redis Enterprise handles scaling, see Linear Scaling with Redis Enterprise.