Question

I'm wanting to build a Titan store on top of Cassandra, and cassandra has a handy TTL option on columns. Is this functionality exposed in Titan? Or does Titan have its own TTL property that can make nodes/edges disappear?

Était-ce utile?

La solution 2

There is no TTL functionality currently in Titan. An issue has been opened regarding this feature request:

https://github.com/thinkaurelius/titan/issues/523

Please consider adding your support for and comments on this feature to the issue.

This question comes up on the mailing list with some frequency. The most recent one can be found here with an offered best solution for doing this now. In summary, the idea is to create a timestamp property on vertices (or edges for that matter) then use Faunus to clean up expired graph elements.

Autres conseils

Since Titan 0.5.0, Titan does support TTL for vertices, edges, and properties in graphs over Cassandra. The documentation for the feature can currently be found here. See also the now-closed github issue mentioned by Stephen.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top