We are going to store tasks in aerospike set. Each task has list of dependent tasks so on. For example:
TaskA={id=‘TaskA’, dependencies=[‘TaskB’, ‘TaskC’]}
TaskB={id=‘TaskB’, dependencies=}
TaskC={id=‘TaskC’, dependencies=[‘TaskD’]}
TaskD={id=‘TaskD’, dependencies=}
So I’m looking for most efficient approach how to query TaskA and all it dependencies. In in our example it should return all 4 tasks in 1 query.