apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.62k stars 517 forks source link

HugeGraph使用Nginx实现分布式schema同步问题 #828

Open pengjianbo opened 4 years ago

pengjianbo commented 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 ,后续是否会考虑新增使用redispika进行缓存schema的功能。或者能否提供下基本的思路或实现需要注意的地方,我们先试下试下效果。谢谢~

javeme commented 4 years ago

后续会考虑支持redis缓存的。

javeme commented 3 years ago

@pengjianbo 即将发布的v0.12版原生支持多机器之间缓存的同步。