Resive world

Come world to Record life


  • Home

  • Tags

  • Categories

  • Archives

  • Sitemap

  • Search

「SpringCloud」Gateway网关

Posted on 2021-10-29 | In SpringCloud

1. Gateway简介

Spring Cloud Gateway 是基于 Spring5.0、SpringBoot2.0 和 Project Reactor 开发的网关,旨在提供一种简单而有效的方式来对API进行路由,基于过滤器链的方式提供:安全,监控/埋点,和限流。

Spring Cloud Gateway 基于 Spring Boot2.x、Spring WebFlux 和 Project Reactor构建,属于异步非阻塞模型。

Read more »

「SpringCloud」Eureka注册中心

Posted on 2021-10-26 | In SpringCloud

1. Eureka简介

Eureka是一种RESTful服务,主要用于AWS云中间层服务器的发现、负载平衡和故障转移。

Eureka包含两个组件:服务注册中心Eureka Server 和 服务客户端Eureka Client。

Read more »

【Solution】Muddy Fields G-二分图匹配

Posted on 2021-10-18 | In OI , Solution

题目传送门。

建模

二分图匹配的模型有两个要素:

  1. 节点能分成独立的两个集合,每个集合内部有 $0$ 条边:**$0$ 要素**

  2. 每个节点只能与 $1$ 条匹配边相连:**$1$ 要素**

    ——摘自李煜东《算法竞赛进阶指南》

Read more »

【Algorithm Notes】并查集按秩合并

Posted on 2021-08-09 | In OI , Algorithm

我们都知道,并查集的路径压缩大大加速了操作的时间复杂度,但是如果出题人足够毒瘤,仍然可以把你卡掉。

Read more »

【Solution】砝码称重-DP+bitset

Posted on 2021-07-30 | In OI , Solution

原题传送门

Read more »

【Solution】[NOIP2017 提高组] 宝藏-状压DP

Posted on 2021-07-30 | In OI , Solution

原题传送门

Read more »

「Spring」SpringBoot使用RocketMQ实战样例

Posted on 2021-06-11 | In Spring

通过rocketmq-spring-boot-starter可以快速的搭建RocketMQ生产者和消费者服务。

Read more »

「环境配置」RocketMQ安装并整合SpringBoot

Posted on 2021-06-10 | In 环境配置

RocketMQ 是阿里巴巴团队使用Java语言开发的一个分布式、队列模型的消息中间件,后开源给Apache基金会成为了Apache的顶级开源项目,具有高性能、高可靠、高实时、分布式特点。

RocketMQ 主要由Producer、Broker、Consumer、NameServer组成;其中Producer负责生产消息;Consumer负责消费消息;Broker是MQ服务,负责接收、分发消息;NameServer是路由中心,负责MQ服务之间的协调。

Read more »

「环境配置」记一次生产事故引发的FastDFS图片迁移

Posted on 2021-05-28 | In 环境配置
  • 事件经过:由于前端同学不小心把上传图片服务器地址写死了测试域名(指向测试服务器),然后项目上到正式环境,一段时间后,发现用户发布商品时的商品详情富文本中的图片全部指向测试图片服务器域名,然后图片又太多了,手动逐条修复数据不太现实。

    Read more »

「Spring」SpringBoot Thymeleaf页面静态化实现

Posted on 2021-05-11 | In Spring

页面静态化是指把动态生成的HTML页面变为静态文件保存,当请求到来,直接访问静态文件,而不需要经过项目服务器的渲染。

Read more »
1…111213…58

574 posts
69 categories
286 tags
© 2024 Companyd
Powered by Hexo
|
Theme — NexT.Muse v5.1.4