kakao / s2graph

This code base is retained for historical interest only, please visit Apache Incubator Repo for latest one
https://github.com/apache/incubator-s2graph
Other
250 stars 32 forks source link

add counter config for readonly graph #215

Closed hsleep closed 8 years ago

hsleep commented 8 years ago

Motivation: S2Counter use the s2graph as the storage of counting values. In some cases, the graph servers are separated into write-only and read-only servers. However, counter use the only one config for the graph url. So, we need to add a additional config for read-only graph server.

Modifications:

Result: If we set graph.read-only.url on application.conf for s2counter_loader. We can read from the read-only server.