摘要:
类型 > print('hello')hello> print(type('hello'))string> print(type(123*12))number> print(type(print))function> print(type(false))boolean 字符串拼接 > local s 阅读全文
posted @ 2025-05-31 20:55
桥泰
阅读(16)
评论(0)
推荐(0)
摘要:
本地缓存 优点:读取本地缓存,无网络开销,速度快 缺点: 1、重启后,本地缓存消失(内存),可靠性较低 2、无法共享 3、存储容量有限 场景: 性能要求较高、缓存数据量较小 阅读全文
posted @ 2025-05-31 16:58
桥泰
阅读(12)
评论(0)
推荐(0)
摘要:
service network restart 重启网络 关闭防火墙chkconfig iptables onchkconfig iptables off 临时生效service iptables startservice iptables stop 查看防火墙状态service iptables 阅读全文
posted @ 2025-05-31 16:35
桥泰
阅读(16)
评论(0)
推荐(0)
摘要:
1、数据分离 当表的数据做了缓存,字段比较多,一个字段数据变化,导致缓存失效,那么建议把这个缓存的数据进行模块拆分,让其数据改变时,影响缓存数据有效性也只按照业务模块进行更新 阅读全文
posted @ 2025-05-31 16:00
桥泰
阅读(11)
评论(0)
推荐(0)
浙公网安备 33010602011771号