Open pengjianbo opened 4 years ago
目前HugeGraph schema是在本地缓存起来的https://github.com/hugegraph/hugegraph/blob/8041b933dd70ca31577e6f7e939774b80a7666ff/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedSchemaTransaction.java#L42 https://github.com/hugegraph/hugegraph/blob/8041b933dd70ca31577e6f7e939774b80a7666ff/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/RamCache.java#L38 ,后续是否会考虑新增使用redis或pika进行缓存schema的功能。或者能否提供下基本的思路或实现需要注意的地方,我们先试下试下效果。谢谢~
HugeGraph schema
redis
pika
后续会考虑支持redis缓存的。
@pengjianbo 即将发布的v0.12版原生支持多机器之间缓存的同步。
目前
HugeGraph schema
是在本地缓存起来的https://github.com/hugegraph/hugegraph/blob/8041b933dd70ca31577e6f7e939774b80a7666ff/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedSchemaTransaction.java#L42 https://github.com/hugegraph/hugegraph/blob/8041b933dd70ca31577e6f7e939774b80a7666ff/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/RamCache.java#L38 ,后续是否会考虑新增使用redis
或pika
进行缓存schema的功能。或者能否提供下基本的思路或实现需要注意的地方,我们先试下试下效果。谢谢~