Fork me on GitHub

jenkins Skywalking安装部署文档总结

容器做的事,就是把资源分开管理,互不干扰。
镜像image-生成容器的模板

 

使用Docker快速部署Skywalking
http://www.dreamwu.com/post-1944.html

"SKYWALKING__SERVICENAME": "asp-net-core-frontend"


jenkins安装和环境搭建
https://www.cnblogs.com/linxinmeng/p/12690340.html
https://blog.csdn.net/zhang_cl_cn/article/details/90232153

 Ocelot限速

https://ocelot.readthedocs.io/en/latest/features/ratelimiting.html

startup Ocelot缓存提高效率
.AddCacheManager(x =>
{
x.WithDictionaryHandle();//默认字典存储
})


// "FileCacheOptions": {
// "TtlSeconds": 15,
// "Region": "UserCache" //可以调用Api清理
// }

Polly 重试 熔断 超时
//"QoSOptions": {
// "ExceptionsAllowedBeforeBreaking": 3, //允许多少个异常请求
// "DurationOfBreak": 10000, // 熔断的时间,单位为ms
// "TimeoutValue": 2000 //如果下游请求的处理时间超过多少则自如将请求设置为超时 默认90秒
//}

.NET Core微服务之基于Ocelot+IdentityServer实现统一验证与授权
https://www.cnblogs.com/edisonchou/p/integration_authentication-authorization_service_foundation.html

https://github.feixue.com

 


网关的鉴权授权--主要是检查token存在和有效性,其实不管权限
而且后端需要token信息

内网穿透
https://natapp.cn/
http://localhost:7070/
http://192.168.10.22:7070/

centos7右上角网络连接图标消失的解决方法

第一次:经过百度,直接使用一条命令,然后重启即可:
mv /var/lib/NetworkManager /var/lib/NetworkManager.bak
这样就成功解决了,图标回来了!

第二次:遇到相同的问题,用了第一种方法,但是结果却提示说目录或文件不存在,于是我又百度,找到了别的命令:
chkconfig network off
chkconfig network on
service NetworkManager stop
service NetworkManager start
完成后,图标就直接出来了!

 

<div>

<iframe id="tensor" border="0" frameborder="0"></iframe>
</div>

<script>
window.onload = function () { //加载页面的时候就执行
var tensor_obj = document.getElementById("tensor"); //根据ID获取html元素
var heigth_screen = window.screen.height; //获取整个屏幕的分辨率
var width_screen = window.screen.width;
heigth_screen = heigth_screen * 0.85; //在这里分配整个界面的85%给iframe来显示嵌套的界面
tensor_obj.style.height = heigth_screen + "px";
width_screen = width_screen * 0.85;
tensor_obj.style.width = width_screen + "px";
}

</script>

ipconfig /flushdns

 

posted @ 2021-12-23 15:12  残风飞雪  阅读(271)  评论(0编辑  收藏  举报

博客地址 - 创建于 2022年4月12日

这是一位.Net软件研发工程师的个人站,内容主要是网站开发方面的技术文章,大部分来自学习或工作,部分来源于网络,希望对大家有所帮助。

致力于web网站开发工作,专注软件开发,关注互联网前沿技术与趋势。


Font Awesome Bootstrap中文网