HugeGraph Commons - include common library & RPC module

Clone this repo:
  1. 93c2e08 Update 'How to Contribute' link and remove duplicate 'Guidelines' link in README (#143) by Zee Huang · 11 hours ago master
  2. c883f56 chore: disable clean flatten for deploy (#141) by imbajin · 3 months ago release-1.3.0 1.3.0
  3. 0cfd8da feat: support user defined RestClientConfig/HTTPClient params (#140) by 小宇 · 3 months ago
  4. 33fa9ed update licence (#139) by 小宇 · 5 months ago release-1.2.0 1.2.0
  5. 44f99e9 doc: update README for release (#138) by imbajin · 6 months ago


License codecov Maven Central CodeQL hugegraph-commons ci

hugegraph-commons is a common module for HugeGraph and its peripheral components. hugegraph-commons encapsulates locks, configurations, events, iterators, rest and some numeric or collection util classes to simplify the development of HugeGraph and its components.


  • Lock: atomic lock, key lock, lock group and lock manger
  • Config: register and load config option with security check
  • Event: listening and notification, do something asynchronously
  • Iterator: some iterators with extra functions, map, filter, extend, etc.
  • Rest: RESTful client implemented on OkHttp, POST, PUT, GET and DELETE
  • Util: performance analyzer, version checker, numeric and Collection utils, log and exception utils, etc.
  • Rpc: rpc component for inner module communication, currently it's based on Sofa-RPC

You could use import the dependencies in maven like this:


Learn More

The doc page contains more information about hugegraph modules.

And here are links of other repositories:

  1. hugegraph-server (graph's core component - OLTP server)
  2. hugegraph-toolchain (include loader/dashboard/tool/client)
  3. hugegraph-computer (graph processing system - OLAP)
  4. hugegraph-website/doc (include doc & website code)


  • Welcome to contribute to HugeGraph, please see How to Contribute for more information.
  • Note: It's recommended to use GitHub Desktop to greatly simplify the PR and commit process.
  • Thank you to all the people who already contributed to HugeGraph!

contributors graph


Same as HugeGraph, hugegraph-commons are also licensed under Apache 2.0 License.

Contact Us