会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
花红
博客园
首页
新随笔
联系
订阅
管理
2021年6月22日
图片和Base64编码相互转换
摘要: package springbootasynchronous; import org.apache.commons.codec.binary.Base64; import java.io.*; import java.util.Objects; public class base64 { publi
阅读全文
posted @ 2021-06-22 18:06 花红
阅读(185)
评论(0)
推荐(0)
2021年6月8日
JSON字符串和java对象的相互转化
摘要: <!-- 引入jackson依赖--> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.10.3</version> </d
阅读全文
posted @ 2021-06-08 09:47 花红
阅读(872)
评论(0)
推荐(0)
2021年1月20日
SpringCloud 配置中心
摘要: 1. 导入jar包 <!-- Eureka 客户端的依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</arti
阅读全文
posted @ 2021-01-20 09:43 花红
阅读(122)
评论(0)
推荐(0)
2021年1月8日
Hadoop常用命令
摘要: # 启动 start-all.sh 或者 start-dfs.sh 和 start-yarn.sh # 关闭 stop-all.sh 或者 stop-dfs.sh 和 stop-yarn.sh # 启动历史服务器 sbin/mr-jobhistory-daemon.sh start historys
阅读全文
posted @ 2021-01-08 13:35 花红
阅读(60)
评论(0)
推荐(0)
2021年1月7日
spark常用命令
摘要: # 启动一个客户端 bin/spark-shell --master spark://synthesize60:7077 # 历史服务 sbin/start-history-server.sh http://ip:18080
阅读全文
posted @ 2021-01-07 14:59 花红
阅读(161)
评论(0)
推荐(0)
2020年12月29日
JVM
摘要: 参考资料: https://blog.csdn.net/qq_41701956/article/details/81664921 https://blog.csdn.net/weixin_42447959/article/details/81637909
阅读全文
posted @ 2020-12-29 09:37 花红
阅读(42)
评论(0)
推荐(0)
tomcat优化
摘要: 参考资料:https://blog.csdn.net/qq_23994787/article/details/79479686 tomcat http协议Connecter相关的属性:https://tomcat.apache.org/tomcat-8.0-doc/config/http.html
阅读全文
posted @ 2020-12-29 09:32 花红
阅读(48)
评论(0)
推荐(0)
2020年12月27日
MySQL插入数据时自动添加修改时间
摘要: create table t_user( user_id int primary key auto_increment, # 主键id username varchar(20) not null unique, # 用户名 email varchar(30) not null unique, # 邮
阅读全文
posted @ 2020-12-27 11:09 花红
阅读(935)
评论(0)
推荐(0)
2020年12月25日
Hystrix 断路器
摘要: 什么是Hystrix Hystrix是一个用于处理分布式系统的 延迟 和 容错 的开源库,在分布式系统里,许多依赖不可避免的会调用失败, 比如超时、异常等,Hystrix能够保证在一个依赖出问题的情况下, 不会导致整体服务失败,避免级联故障,以提高分布式系统的弹性,稳定性。 雪崩效应 复杂分布式体系
阅读全文
posted @ 2020-12-25 21:44 花红
阅读(131)
评论(0)
推荐(0)
2020年12月24日
网关Zuul
摘要: 1. 导入jar包 <!-- 网关的依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-zuul</artifactId> </depende
阅读全文
posted @ 2020-12-24 21:25 花红
阅读(73)
评论(0)
推荐(0)
下一页
公告