会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我要的我现在就要
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2023年6月20日
系统架构由简单到复杂的进化之路
摘要: 1.最简单的基础架构: 业务服务器+数据库服务器 2.访问量增加、计算量增加造成业务服务器卡顿,架构增加业务服务器负载均衡 cdn+nginx负载均衡+业务服务器+数据库服务器 3.数据量增加造成查询变慢,架构增加读写分离、主从复制、分库分表 cdn+nginx负载均衡+业务服务器器+数据库多机主从
阅读全文
posted @ 2023-06-20 22:33 我要的我现在就要
阅读(60)
评论(0)
推荐(0)
2023年1月31日
think-swoole的websocket使用(一)
摘要: (一)搭建websocket服务 步骤一:给PHP安装swoole扩展 步骤二:进入项目目录,执行 composer require topthink/think-swoole,安装think-swoole扩展 步骤三:修改配置文件swoole.php server.host 服务器IP,一般为 1
阅读全文
posted @ 2023-01-31 15:09 我要的我现在就要
阅读(541)
评论(0)
推荐(0)
2022年4月21日
Centos7x php7.2安装sapnwrfc拓展 对接sap【转载】
摘要: 原文链接:https://blog.csdn.net/daily886/article/details/90051167 php7拓展 sapnwrfc 介绍 https://php7-sapnwrfc.readthedocs.io/zh/latest/introduction.html php7-
阅读全文
posted @ 2022-04-21 21:59 我要的我现在就要
阅读(532)
评论(0)
推荐(0)
2022年4月19日
Go语言基础之iota
摘要: iota是go语言的常量计数器,只能在常量的表达式中使用。 iota在const关键字出现时将被重置为0。const中每新增一行常量声明将使iota计数一次(iota可理解为const语句块中的行索引)。 使用iota能简化定义,在定义枚举时很有用。 举个例子: const ( n1 = iota
阅读全文
posted @ 2022-04-19 22:14 我要的我现在就要
阅读(667)
评论(0)
推荐(0)
Go语言基础之空白标识符 _
摘要: 空白标识符 _ 也被用于抛弃值,如值 5 在:_, b = 5, 7 中被抛弃。 _ 实际上是一个只写变量,你不能得到它的值。这样做是因为 Go 语言中你必须使用所有被声明的变量,但有时你并不需要使用从一个函数得到的所有返回值。
阅读全文
posted @ 2022-04-19 21:58 我要的我现在就要
阅读(53)
评论(0)
推荐(0)
Go语言基础之定义变量
摘要: 方式一:使用var关键字,函数内 包内均可使用 var a,b bool var a,b string="hello","world" var a,b,c=5,"hello",true var( a="hello", b="world" c=5 d=true ) 方式二:使用:=定义变量,只能用于函
阅读全文
posted @ 2022-04-19 21:57 我要的我现在就要
阅读(410)
评论(0)
推荐(0)
2022年4月18日
rocketmq-client-php的安装与使用
摘要: 业务场景:PHP消费对接Java rocketmq生产 消费模式:Push 处理方案:centos7x搭建rocketmq-client-php,php版本php7x(php -version检查php版本) 参考链接:https://gitee.com/apaas_framework/rocket
阅读全文
posted @ 2022-04-18 22:31 我要的我现在就要
阅读(3624)
评论(0)
推荐(1)
2022年4月14日
nginx配置敏感文件限制访问
摘要: 敏感文件限制访问: location ~ /\.ht { deny all; } location ~* \.(ini|conf|txt|log|gitignore|sql|bak|inc|old|sh)$ { deny all; } location ~ .*\.(svn|git) { deny
阅读全文
posted @ 2022-04-14 22:45 我要的我现在就要
阅读(537)
评论(0)
推荐(0)
centos7搭建环境php7.2+mysql5.6+nginx1.16
摘要: **centos7.5 + nginx-1.16.1+mysql-5.6+php-7.2.24** ~~~ 配置文件位置: nginx:/mnt/data/apps/nginx/conf/nginx.conf mysql:/etc/my.cnf php7:/mnt/data/apps/php7/et
阅读全文
posted @ 2022-04-14 22:36 我要的我现在就要
阅读(529)
评论(0)
推荐(0)
2021年12月5日
Uncaught ReferenceError: __VUE_HMR_RUNTIME__ is not defined
摘要: Syntax Error: Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree. 第一步 npm install @vue/compil
阅读全文
posted @ 2021-12-05 13:25 我要的我现在就要
阅读(2385)
评论(2)
推荐(0)
1
2
3
下一页
公告