Merge branch 'zfoo-project:main' into main

This commit is contained in:
yujuncai authored and GitHub committed 2022-10-14 13:46:05 +08:00
commit 8cad540979
2 files changed
+2 -7

No files matched your search

+1 -6
View File
@@ -1,16 +1,11 @@
### protocol
- 使用primitive type原生类型的hashmap,IntIntMap,IntLongMap,LongIntHashMap,LongLongHashMap
- 考虑支持protobuf,放弃使用jprotobuf(可以省略很多不必要的注解,代码更加简洁),用约定大于配置的方式,还可以原生的和pojo对象结合起来
### event
- 使用更加简单的ConcurrentMap优化threadMap,JDK自带的ConcurrentHashMap速度慢
### orm
- 使用更高性能的Cache2k替换Caffeine
- 重新规划包,现在的分包太集中
### other
+1 -1
View File
@@ -27,10 +27,10 @@
<!-- 缓存策略 -->
<orm:caches>
<orm:cache strategy="default" size="6000" expire-millisecond="600000"/>
<orm:cache strategy="hundred" size="100" expire-millisecond="600000"/>
<orm:cache strategy="thousand" size="1000" expire-millisecond="600000"/>
<orm:cache strategy="threeThousand" size="3000" expire-millisecond="600000"/>
<orm:cache strategy="default" size="5000" expire-millisecond="600000"/>
</orm:caches>
<!-- 持久化策略 -->