Home / Companies / FalkorDB / Blog / October 2026

October 2026 Summaries

1 posts from FalkorDB

Filter
Month: Year:
Post Summaries Back to Blog
FalkorDB compares Dijkstra, A*, and Customizable Contraction Hierarchies (CCH) for shortest-path routing on large graphs, focusing on a California road network with 1.25 million nodes and 3.06 million edges. Dijkstra reliably finds optimal paths without preprocessing but expands broadly and becomes slower and more memory-intensive over long distances, while A* uses admissible heuristics such as straight-line distance to direct its search and is often faster, though its performance can still degrade on long routes. CCH shifts most computation into a built-in index that ranks and contracts graph nodes into shortcut paths, allowing bidirectional upward searches that return routes in roughly 1 ms regardless of distance after an approximately five-second index build. The approach also supports rapid edge-weight updates for traffic or closures, although adding roads or nodes requires rebuilding the index. FalkorDB presents CCH as best suited to large, stable, frequently queried hierarchical networks, while Dijkstra remains appropriate for occasional or small-graph queries and A* for coordinate-based graphs with useful heuristics.
Oct 12, 2026 2,258 words in the original blog post.