Representing a DAG (directed acyclic graph)

后端 未结 4 2002
醉梦人生
醉梦人生 2021-02-04 09:02

I need to store dependencies in a DAG. (We\'re mapping a new school curriculum at a very fine grained level)

We\'re using rails 3

Considerations

  • W
4条回答
  •  甜味超标
    2021-02-04 09:39

    You could use OrientDB as graph database. It's highly optimized for relationships since are stored as link and not JOIN. Load of bidirectional graph with 1,000 vertices needs few milliseconds.

    The language binding for Rails is not yet available, but you can use it with HTTP RESTful calls.

提交回复
热议问题