mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 10:16:07 +00:00
Merge branch 'zfoo-project:main' into main
This commit is contained in:
2 files changed
+2
-7
No files matched your search
+1
-6
@@ -1,16 +1,11 @@
|
||||
### protocol
|
||||
|
||||
- 使用primitive type原生类型的hashmap,IntIntMap,IntLongMap,LongIntHashMap,LongLongHashMap
|
||||
- 考虑支持protobuf,放弃使用jprotobuf(可以省略很多不必要的注解,代码更加简洁),用约定大于配置的方式,还可以原生的和pojo对象结合起来
|
||||
|
||||
### event
|
||||
|
||||
- 使用更加简单的ConcurrentMap优化threadMap,JDK自带的ConcurrentHashMap速度慢
|
||||
|
||||
### orm
|
||||
|
||||
- 使用更高性能的Cache2k替换Caffeine
|
||||
- 重新规划包,现在的分包太集中
|
||||
|
||||
|
||||
### other
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
<!-- 持久化策略 -->
|
||||
|
||||
Reference in new issue
Block a user