ICode9

精准搜索请尝试: 精确搜索
  • springcloud-alibaba dubbo/feign 202209052022-09-05 18:33:39

    Feign组件为内部服务通信(声明式HTTP客户端) 简洁、方便、优雅 微服务之间的通信 REST API HTTP并不会开启KeepAlive功能,当前连接为短连接,每次请求都需TCP连接,效率低下   外部服务REST API/内部调用Feign组件(声明式HTTP调用)                   外使用REST API/内服务

  • 服务熔断Hystrix高级2022-09-04 22:00:09

    服务熔断Hystrix高级 1 前言# 我们知道,当请求失败,被拒绝,超时的时候,都会进入到降级方法中。但是进入降级方法并不意味着断路器已经被打开了。此时我们需要Hystrix的监控平台来查看断路器的状态。 2 Hystrix的监控平台# 2.1 概述# 除了实现容错功能,Hystrix还提供了近乎实时的监

  • Spire.Cloud 私有化部署教程(三) - Windows 系统2022-09-02 12:01:23

    本教程主要介绍如何在 Windows 系统上实现 Spire.Cloud 私有化部署。 详细步骤如下: 一、安装依赖 我们的私有部署的依赖有 Nodejs、MySQL、Redis 和 RabbitMQ。请确认服务器安装了 Nodejs、MySQL、Redis 和 RabbitMQ。 二、部署 Spire.Cloud 1、获取 Spire.Cloud 产品 Windows 部

  • 5.搭建微服务项目2022-09-01 18:34:17

    1.对服务进行划分 微服务模块 端口 webshop_coupon 7000 webshop-member 8000 webshop-order 9000 webshop-prodect 10000 webshop-ware 11000 2.组件选择 用途 组件 服务注册与发现 Spring Cloud Alibaba-Na

  • SpringCloudAlibaba2022-08-30 22:02:03

    SpringCloudAlibaba 基础复习 微服务模块 建module 改POM 写YML 主启动 业务类 使用restTemplet发送http请求 package com.yhd.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.spring

  • Springcloud bootstrap配置时候注册不了服务2022-08-30 15:34:17

    在开发中以前用的是application.yml是可以注册到nacos服务中的,但是改成bootstrap配置后却注册不了服务了。解决方案就是在pom中引入 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-bootstrap</artifactI

  • SpringCloud 读取Nacos中数据配置2022-08-30 15:04:06

    1.在Nacos中配置数据源 在“配置列表”中点击“加号”创建配置文件    我选择的是YAML格式 #数据源配置 spring: datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/spider01?characterEncoding=utf-8&useSSL=fals

  • Cannot resolve org.springframework.cloud:spring-cloud-starter-netflix-eureka-server:unknown2022-08-28 00:00:23

    Cannot resolve org.springframework.cloud:spring-cloud-starter-netflix-eureka-server:unknown 前言:启动eureka项目,发现右侧maven中的项目dependencies报红,reimport也没用,经排查springcloud和springboot版本号没问题。Spring Cloud  启动类也是报错,@EnableEurakaServer注

  • SpringCloud 使用 LoadBalance 实现客户端负载均衡2022-08-27 20:00:49

    SpringCloud 从 2020.0.1 版本开始,从 Eureka 中移除了 Ribbon 组件,使用 LoadBalance 组件来代替 Ribbon 实现客户端负载均衡。LoadBalance 组件相对于 Ribbon 来说,仅支持两种负载均衡策略:【轮询策略】和【随机策略】,估计后续会增加更多的负载均衡算法策略吧,从我个人的使用经验来说

  • springCloud架构简述及Eureka、Nacos注册中心应用入门2022-08-27 11:04:11

    一、微服务架构(持续集成)   二、微服务知识模块 三、微服务特征 1.单一职责:拆分粒度小,对应业务能力唯一,避免重复开发 2.面向服务:微服务对外暴露业务接口 3.自治:团队独立、技术独立、数据独立、部署独立 4.隔离性强:服务调用做好隔离、容错、降级,比卖你出现级联问题 缺点:架构复杂,

  • Config:Git环境搭建2022-08-26 14:33:12

    分布式系统面临的–配置文件问题 微服务意味着要将单体应用中的业务拆分成一个个子服务,每个服务的粒度相对较小,因此系统中会出现大量的服务,由于每个服务都需要必要的配置信息才能运行,所以一套集中式的,动态的配置管理设施是必不可少的。spring cloud提供了configServer来解决这个问

  • 四、Spring Cloud Alibaba项目,测试模块之生产者与消费者2022-08-25 18:02:36

    1、模块说明 生产者:service-order 消费者:service-user 说明:消费者user调用生产者order,调用订单服务   2、生产者 pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM

  • 三、Spring Cloud Alibaba项目,公共模块2022-08-25 16:30:31

    1、新建公共依赖项目   2、修改pom文件 <?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="htt

  • Nacos服务注册为指定IP和端口2022-08-24 11:34:56

    如果选择固定Ip注册可以配置 spring.cloud.nacos.discovery.ip = 192.168.0.118 spring.cloud.nacos.discovery.port = 9000 如果选择固定网卡配置项 spring.cloud.nacos.discovery.networkInterface = eth0 如果想更丰富的选择,可以使用spring cloud 的工具 InetUtils进行配置 具

  • 同样的代码逻辑,同样的表结构,由于数据量的不同导致查询没有走索引,而引起请求超时案例分析2022-08-24 11:03:47

    问题描述: 预发环境目前加载全部变更会超时,线上正常。需要看一下是什么问题避免预发上的问题带到线上             分析解决过程: EXPLAIN SELECT i.damand_manager_info_id as damand_manager_id, title, i.damand_change_type, i.customer_cloud_name_id, i.damand_cha

  • prometheus监控redis-cluster集群2022-08-23 18:31:00

    信息 prometheus v2.1.0 redis_exporter v1.6.1 redis cluster 5.0 3 mater 3 slave prometheus.yml 在prometheus.yml添加两个job,redis_exporter和redis_exporter_targets,redis_exporter_targets才是真正监控redis集群的。 ## config for scraping the exporter itself - j

  • spring cloud gateway rce(CVE-2022-22947)分析2022-08-23 15:05:34

    环境搭建 https://github.com/spring-cloud/spring-cloud-gateway/releases/tag/v3.0.6 漏洞分析 该漏洞造成原因是因为配置可写+SPEL表达式的解析导致的 SpEL表达式的触发方式有3种,xml,注释,直接传参。这里基本不可能是将恶意poc传到注释中,或者写入到xml中,所以触发方式应该是将输

  • Nacos入门2022-08-20 00:33:57

    1.在父项目中引入SpringCloudAlibaba依赖 <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies<

  • SpringCloudAlibaba-注册中心_配置中心(Nacos)2022-08-17 17:02:39

    Nacos 概述 为什么叫Nacos? 前4个分别为 Naming和Configuration的前2个字母,s是Service; what   Dynamic Naming and Configuration Service 一个更易于构建云原生应用的动态服务发现、配置管理和服务管理平台;   (注册中心+配置中心)   Nacos 等价于 Eureka+Config+Bus https:/

  • Is it true that JLR Pathfinder will be closing in April?2022-08-16 19:01:27

    Is it true that Jaguar and Land rover Pathfinder will be shut down in April? Yes Topix cloud diagnostic only from April. With Topix cloud you can do only diagnosis, no programming modules and so on. Just basic things. The cracked version should still wor

  • SpringCloud知识点整理2022-08-16 13:31:57

    一、SpringCloud 如何实现服务的注册? 首先创建一个maven主工程。 创建2个model工程:一个model工程作为服务注册中心,即Eureka Server,另一个作为Eureka Client。 启动一个服务注册中心,只需要一个注解@EnableEurekaServer,这个注解需要在springboot工程的启动application类上加 eur

  • Axure RP如何查看和共享您的原型2022-08-16 12:03:03

    今天就给大家带来了Axure RP如何查看和共享您的原型的教程,你快速完成操作,快来跟小编看看吧! 为您带来Mac上好用的原型设计软件Axure RP 9中文正式版,axure mac 是专为UX专业人员和业务分析师设计的专业网站原型设计工具!可以帮助他们快速创建应用程序和网站的线框,原型和规格!新功能包

  • Eureka 服务注册2022-08-15 20:00:08

    1、在pom.yml文件中引入Eureka-client的服务依赖 <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency>

  • nacos-client中grpc连接问题,不断提示报错2022-08-15 09:34:35

    2022-08-15 09:03:51.246 ERROR 9524 --- [ent-executor-19] com.alibaba.nacos.common.remote.client.grpc.GrpcClient : [1660525414478_127.0.0.1_52669]Error to process server push response: {"headers":{},"requestId":"241","ser

  • 3.eureka2022-08-11 21:02:28

    1.导入相关的依赖--注意版本关系 修改完版本号,有时候更新过慢 可以rebulier project 新建module,导入jar报后配置注解 导入jar包 注意版本间的关系 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eur

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有