zhouxing9454 / gitalk

0 stars 0 forks source link

项目GeeCache面试题 - Olivia的小跟班 #30

Open zhouxing9454 opened 7 months ago

zhouxing9454 commented 7 months ago

https://www.youandgentleness.cn/2023/10/23/%E9%A1%B9%E7%9B%AEGeeCache%E9%9D%A2%E8%AF%95%E9%A2%98/

Life=Coding;Enjoy Life ==Enjoy Coding;

zhouxing9454 commented 7 months ago

https://www.cyhone.com/articles/bigcache/ 由于本项目是使用map,map存在性能问题,可以参考bigcache解决这个问题 同时可以参考bigcache对数据进行分片,增加并发量

zhouxing9454 commented 5 months ago

本项目不同节点存储的缓存数据不同

zhouxing9454 commented 4 months ago

cannot use target.Endpoint (value of type func() string) as string value in struct literal如果报这个错误,~/GOPATH/pkg/mod/go.etcd.io/etcd/client/v3@v3.5.9/naming/resolver这个路径下的resolver.go文件中的第22行改成target: target.Endpoint(),这样就可以了