1G queue 缓存数据顺序写入保证数据顺序性
queue一分为n
n个future outputn个stringstream
all wait后总stream顺序刷入stringstream
如果需求改为实时接收 实时顺序存储 减少cpu和io呢
写程序一定要用gpt
把精力留着和同事撕需求 乐趣无穷多
1G queue 缓存数据顺序写入保证数据顺序性
queue一分为n
n个future outputn个stringstream
all wait后总stream顺序刷入stringstream
如果需求改为实时接收 实时顺序存储 减少cpu和io呢
写程序一定要用gpt
把精力留着和同事撕需求 乐趣无穷多