Gremlin Recipes: 10 – Depth-First Vs Breadth-First
This blog post delves into the internal workings of Gremlin and provides a deeper understanding of its query language to help users master it. It explains two distinct evaluation strategies for traversals, OLTP (Online Transaction Processing) and OLAP (Online Analytical Processing), and their characteristics. The post also discusses the differences between these execution modes and highlights important points to consider when using Gremlin OLAP. Additionally, it provides examples of OLTP patterns from a single vertex and an OLAP pattern traversal. Finally, the author offers some safeguards for limiting graph rapid expansion in OLTP traversals, such as counting edge cardinality, sampling, and filtering.
Company
DataStax
Date published
Sept. 24, 2017
Author(s)
Duy Hai Doan
Word count
1323
Hacker News points
None found.
Language
English