seth-shi
Follow
0
Followers
0
Followings
Patron
Home
Archives
数据库
Latest
Hottest
Most Commented
记一次优化广告服务 Redis 30G+ 内存
问题 最近在看项目遗留代码的时候,有一些操作Redis代码,都是没有设置过期时间,猜测可能因为Hash结构在使用时不能同时设置过期时间,导致后面忘记设置过期时间了. 代码里常用的结构是: key是根据广告标识相关,field是用户的标识,value是自定义的数据…
数据库
2 min
3 years ago
MySQL 反向模糊查找
今天写一个微信回复的 demo, 然后遇到这种场景. 收到特定的消息 根据数据库存储的关键字回复特定的内容 不能全匹配,数据库可以模糊匹配 一说到模糊匹配,大家肯定都想到like, 假设表结构如下 Copy id keyword reply 1 大卫…
模糊
1 min
7 years ago
Ownership of this blog data is guaranteed by blockchain and smart contracts to the creator alone.
Blockchain ID
#51407
Owner
0x43bdcdfe2758f3664c5bfd297b4bf57fc453ac15
Transaction Hash
Creation 0x5d230488...fa2f33f7bc
Last Update 0xca171ebf...d99bc627d3
IPFS Address
ipfs://bafkreifknwgcum2zyotppbaeab4hyowgf24x23ofdem7llbne574k6dql4