西红柿炒蛋
  • 首页
  • 归档
  •   
  •   

10个微服务设计模式

微服务设计模式是一种指导微服务架构设计和开发的一系列原则和实践。微服务设计模式的目的是为了解决微服务架构中遇到的一些常见的问题和挑战,比如服务划分、服务通信、服务治理、服务测试等。微服务设计模式可以帮助我们构建出高效、可靠、可扩展、可维护的微服务系统。
2023-08-15

服务器数据迁移

scp -r -P 22 /a/ root@(外网或内网ip):/b/ -r 目录 -P 端口 /a/ 要拷贝的目录 /b/ 目标服务器目录 例如:scp -r -P 22 /test/ root@127.0
2023-07-02

The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached

1The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached 如果您遇到的问题是关于inotify实例数量或打开文件描述符数量的
2023-05-15

谷歌浏览器strict-origin-when-cross-origin解决

谷歌浏览器,输入:chrome://flags/#block-insecure-private-network-requests,将 Block insecure private network requests 这个插件设置为 Disabled 就行了。
2023-04-24

mysql数据库

123docker pull mysql:5.7.41docker run -d --restart=always --name mysql-160 --net zjx-network --ip 172.18.0.160 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7.41
2023-03-22

ffmpeg视频截图

12345docker run -d --restart=always --name ffmpeg --net zjx-network --ip 172.18.0.133 -v [程序目录]:/publish -p 3111:80 registry.cn-hangzhou.aliyuncs.com/cpu/ffmpeg:4.3.5# 内置ffmpeg版本4.3.5# 代码项目 Com.Ffmpeg
2023-03-16

智能去除图片背景

安装12345docker run -p 5055:5000 -d --restart=always \ -m 400M \ #限制内存 400M --log-opt max-size=10m --log-opt max-file=10 \ --net zjx-network --ip 172.18.0.xxx \ --name rembg registry.cn-hang
2023-03-07

vscode打开sln项目

在vscode中将启动项目加入工作区,然后创建启动配置。
2023-02-14

上传图片无法超过1mb

nginx 默认上传大小为1m,超过1m报跨域错误 1client_max_body_size 10m; http{ }client_max_body_size 20m; 控制着所有nginx收到的请求 server{ }client_max_body_size 20m; 控制该server收到的请求报文大小 location{ }client_max_body_size 20m;
2023-02-12

vscode java开发环境

安装使用传统的JDK1.8,不要使用正带的openjdk,实测会有一些意想不到的问题 12链接:https://pan.baidu.com/s/169TAL0Dmio3DnUMYL14W3Q?pwd=684n提取码:684n 其实jdk下载下来后,只需在解压一下即可。不需要像网上很多千篇一律的要解压到什么/usr/sbn 啥啥啥的。 修改/etc/profile 1234export JAVA_H
2023-01-15
123…11

搜索

闽ICP备17008917号-3