随笔分类 -  Spring Cloud

摘要:https://www.cnblogs.com/ying-z/p/14781757.html 实现远程调用的方式 Http接口(web接口、RestTemplate+Okhttp)、Feign、RPC调用(Dubbo、Socket编程)、Webservice。 什么是Feign? Feign是Spr 阅读全文
posted @ 2024-01-08 20:54 guoyu1 阅读(188) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/u012410733/article/details/112303048 下面是官方提供的 Eureka 架构图: 1、什么是自我保护机制默认情况下,如果Eureka Server在一定时间内(默认 90 秒,其实不止 90 秒)没有接收到某个微服务实例的 阅读全文
posted @ 2023-12-23 21:02 guoyu1 阅读(59) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/xinzhifu1/article/details/106356958/ 阅读全文
posted @ 2023-12-21 10:36 guoyu1 阅读(3) 评论(0) 推荐(0) 编辑
摘要:Filter 是 JavaEE 中 Servlet 规范的一个组件,位于包javax.servlet 中,它可以在 HTTP 请求到达 Servlet 之前,被一个或多个Filter处理。 它的工作流程如图: Filter的这个特性在生产环境中有很广泛的应用,如:修改请求和响应、防止xss攻击、包装 阅读全文
posted @ 2023-12-14 13:21 guoyu1 阅读(97) 评论(0) 推荐(0) 编辑
摘要:一 认识过滤器 1.1 什么是过滤器 Filter也称之为过滤器,它是Servlet技术中最实用的技术,Web开发人员通过Filter技术,对web服务器管理的所有web资源:例如Jsp, Servlet, 静态图片文件或静态 html 文件等进行拦截,从而实现一些特殊的功能。例如实现URL级别的权 阅读全文
posted @ 2023-12-14 13:18 guoyu1 阅读(63) 评论(0) 推荐(0) 编辑
摘要:https://www.bilibili.com/video/BV1Ck4y1F76o/?spm_id_from=333.999.0.0&vd_source=a3fefff79a3be320da3db60b271f05c9 阅读全文
posted @ 2023-11-29 18:24 guoyu1 阅读(19) 评论(0) 推荐(0) 编辑
摘要:https://mp.weixin.qq.com/s?__biz=Mzg5MDY1NzI0MQ==&mid=2247483774&idx=1&sn=d59b5bb3b0f53995437ea0c490b40374&chksm=cfd801c8f8af88de79ab220ac3247d68013de 阅读全文
posted @ 2023-11-29 17:36 guoyu1 阅读(13) 评论(0) 推荐(0) 编辑
摘要:https://www.bilibili.com/video/BV1zK4y1c7wJ/?spm_id_from=333.999.0.0&vd_source=a3fefff79a3be320da3db60b271f05c9 Spring Boot 选择使用 CGLIB 作为默认的动态代理实现是为了提 阅读全文
posted @ 2023-11-29 12:31 guoyu1 阅读(624) 评论(0) 推荐(0) 编辑
摘要:https://www.bilibili.com/video/BV1X8411y7rB/?spm_id_from=333.999.0.0 阅读全文
posted @ 2023-11-29 12:30 guoyu1 阅读(8) 评论(0) 推荐(0) 编辑
摘要:https://c.biancheng.net/springcloud/gateway.html 阅读全文
posted @ 2023-11-27 19:00 guoyu1 阅读(4) 评论(0) 推荐(0) 编辑
摘要:https://c.biancheng.net/springcloud/open-feign.html 阅读全文
posted @ 2023-11-27 18:32 guoyu1 阅读(3) 评论(0) 推荐(0) 编辑
摘要:https://c.biancheng.net/springcloud/what-is-cloud.html 阅读全文
posted @ 2023-11-27 18:11 guoyu1 阅读(6) 评论(0) 推荐(0) 编辑
摘要:可以与eureka结合实现客户端负载均衡: https://c.biancheng.net/springcloud/ribbon.html 阅读全文
posted @ 2023-11-27 17:52 guoyu1 阅读(6) 评论(0) 推荐(0) 编辑
摘要:https://www.infoq.cn/article/emmw80joe8l0v4qaaizt 阅读全文
posted @ 2023-11-27 17:32 guoyu1 阅读(2) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yufeng218/p/11042555.html 一、Hystrix 1、服务雪崩 多个微服务之间调用的时候,假设微服务A调用微服务B和微服务C,微服务B和微服务C有调用其他的微服务,这就是所谓的”扇出”,如扇出的链路上某个微服务的调用响应式过长或者 阅读全文
posted @ 2023-11-27 13:22 guoyu1 阅读(9) 评论(0) 推荐(0) 编辑
摘要:https://baike.baidu.com/item/spring/85061?fr=ge_ala 阅读全文
posted @ 2023-11-26 17:31 guoyu1 阅读(56) 评论(0) 推荐(0) 编辑
摘要:1.声明bean的注解 @Component 组件,没有明确的角色 @Service 在业务逻辑层使用(service层) @Repository 在数据访问层使用(dao层) @Controller 在展现层使用,控制器的声明(C) 2.注入bean的注解 @Autowired:由Spring提供 阅读全文
posted @ 2023-11-26 13:49 guoyu1 阅读(15) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/minghao0508/article/details/124374637 1、事务的基本概念: 在数据库系统中,一个事务是指:由一系列数据库操作组成的一个完整的逻辑过程;例如银行转帐,从原账户扣除金额,以及向目标账户添加金额,这两个数据库操作的总和,构成 阅读全文
posted @ 2022-04-13 16:17 guoyu1 阅读(27) 评论(0) 推荐(0) 编辑
摘要:https://www.imooc.com/article/3369 阅读全文
posted @ 2022-04-10 21:50 guoyu1 阅读(9) 评论(0) 推荐(0) 编辑
摘要:一、QPS/TPS QPS:Queries Per Second意思是“每秒查询率”,是一台服务器每秒能够相应的查询次数,是对一个特定的查询服务器在规定时间内所处理流量多少的衡量标准。 TPS:是TransactionsPerSecond的缩写,也就是事务数/秒。它是软件测试结果的测量单位。一个事务 阅读全文
posted @ 2022-04-08 14:11 guoyu1 阅读(37) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示