Allen
Allen
> 参考Example中的protobuf实例进行了初步测试,改动了proto文件: `message SendMessageReq { bytes Body = 1; } ` `message SendMessageRsp { bool Ok = 1; }` 每次传递的Body数据量在百兆左右,发现每个连接在初次进行数据传输时,都存在近一分钟左右的耗时,目前怀疑是Buffer扩容的耗时导致,请教一下,针对偶尔存在百兆数据传输的业务情形下,该如何使用或者有哪些思路优化gev的数据传输效率呢? 可以提供一些 pprof 信息吗?
> 2022/10/26 20:41:47 D:/golang/data/src/mogutouERP/mogutouERP/models/custormerOrder.go:223 [error] invalid field found for struct github.com/Allenxuxu/mogutouERP/models.CustormerOrderInfo's field Goods, need to define a valid foreign key for relations or it need to implement the Valuer/Scanner interface...
> [gebilxs/ERP@b8589ab](https://github.com/gebilxs/ERP/commit/b8589ab2447894a2ea51d869ffa017466bf1f63a) 提交的一些修改 你可以自己随意改哈,之前 db 那块是想支持 sqlite ,期望是想用go embed 能力把前端直接打包到二进制里,能本地直接运行。
I have the same problem
I think it's the same issue: https://github.com/aleksanderwozniak/table_calendar/issues/787
https://github.com/Allenxuxu/gev/issues/47
下期预告 ➡️ #5
> 什么时候能正常固定周期更新呢? 目前都是业余在做的,时间不太固定啊,见谅。 我们会尽快更新的。