![Sendya](https://cdn.v2ex.com/gravatar/e8542810ac8fdeab544eb830203c47c0?s=73&d=retro) |
|
Sendya
V2EX 第 68490 号会员,加入于 2014-07-20 22:39:47 +08:00
|
Don’t forget.
Always, somewhere, someone is fighting for you.
As long as you remember her, you are not alone.
Sendya 最近回复了
CPU usage 1.81% of 8 CPU(s)
IO delay 0.05%
Load average 0.09,0.16,0.30
RAM usage 54.32% (33.46 GiB of 61.58 GiB) KSM sharing 0 B
/ HD space 13.98% (13.13 GiB of 93.93 GiB)
SWAP usage 0.00% (0 B of 8.00 GiB)
CPU(s) 8 x 12th Gen Intel(R) Core(TM) i3-12100 (1 Socket)
Kernel Version Linux 6.5.11-7-pve (2023-12-05T09:44Z)
Boot Mode EFI
可能配置比你低点
宿主机 pve ,虚拟化了 truenas 直通了一个 sata 控制器进去,直通了核显进去。另外虚拟化了个 debian 小🐔用来跑 docker 和一些杂七杂八的脚步定时任务啥的
那么大家都在推荐 ups ,家用 ups 有推荐的吗?
什么业务场景,才 70qps 。分析一下自己接口耗时在哪
缓存时间基本跟着业务形态走的。
如果担心缓存准确性,可以在有数据变更的时候 mq 广播一下,让缓存 purge 重载。
类似这样
```tsx
<ProTable
rowKey={'roleId'}
columns={columns}
request={async (params, sorter) => {
const { data, total = 0 } = await queryUserListUsingPOST(params);
return {
data,
totla,
success: true,
}
}}
/>
```