
微服务
傻fufu码农
这个作者很懒,什么都没留下…
展开
-
Spring Cloud 微服务 常用资料地址
地址https://spring.io/projects/spring-cloud组件地址:netfixhttps://spring.io/projects/spring-cloud-netflixhttps://github.com/spring-cloud/spring-cloud-netflixfeign声明式、模板化的 HTTP客户端https://spring.io/projects/spring-cloud-openfeignhttps:/...原创 2020-12-31 18:14:40 · 189 阅读 · 0 评论 -
ribbon 负载均衡算法
RandomRule(随机) public Server choose(ILoadBalancer lb, Object key) { if (lb == null) { return null; } Server server = null; while (server == null) { if (Thread.interrupted()) { r原创 2021-01-05 10:29:30 · 434 阅读 · 0 评论 -
Spring Cloud Gateway Demo【QuickStart】
后端服务pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.ap原创 2021-01-08 15:41:38 · 1041 阅读 · 0 评论 -
spring-cloud-gateway 压测
网关及后端服务https://github.com/spencergibb/spring-cloud-gateway-bench压测工具https://github.com/wg/wrk原创 2021-01-13 18:05:11 · 1417 阅读 · 0 评论 -
Gateway 通过nacos接入SpringBootAdmin
Gateway-Demopom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://原创 2021-01-21 15:22:06 · 2105 阅读 · 1 评论 -
dubbo admin
dubbo admin控制台https://github.com/apache/dubbo-admin使用maven打包项目(需要联网下载node.js的依赖包)mvn clean package使用nacos做注册中心 (官方文档http://dubbo.apache.org/zh/docs/v2.7/user/references/registry/nacos/)根据官方文件https://github.com/apache/dubbo-admin/blob/dev...原创 2020-12-28 19:35:09 · 209 阅读 · 0 评论 -
Spring Cloud Alibaba 常用资料地址
地址https://github.com/alibaba/spring-cloud-alibaba组件地址:nacos 注册中心/配置中心https://nacos.io/zh-cn/docs/quick-start.htmlhttps://github.com/alibaba/nacossentinel熔断降级组件https://github.com/alibaba/Sentinelhttps://github.com/alibaba/Sentinel/wik...原创 2020-12-28 17:14:33 · 385 阅读 · 0 评论 -
服务接入Spring Cloud Alibaba Nacos
pom.xml: <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> <version>2.2.4-SNAPSHOT</version>原创 2021-01-21 14:17:24 · 160 阅读 · 1 评论 -
goland本地调试dapr设置
-buildmode=exe原创 2020-11-25 21:01:51 · 587 阅读 · 0 评论 -
常用微服务框架
Spring Cloudhttps://mp.youkuaiyun.com/editor/html/112043069Spring Cloud Alibaba(含dubbo)https://blog.youkuaiyun.com/qq_17303159/article/details/111865901Tars(腾讯开源)代码:https://github.com/TarsCloud/Tars文档:https://doc.tarsyun.com/adminer/start/index.html..原创 2021-01-05 14:55:01 · 318 阅读 · 0 评论 -
consul windows简单使用
下载windows安装包https://www.consul.io/downloads.html解压,输入下面命令启动consul.exe agent -dev -ui 注:-dev开发服务器模式启动,-ui可以用界面访问访问控制台:http://127.0.0.1:8500/server & clienthttps://www.cnblogs.com/chaselogs/p/11462954.html查看信息http://127.0.0...原创 2020-12-21 10:51:25 · 254 阅读 · 0 评论