Forum Discussion
Did you look into Group By N with a setting of 0!! Try it and let us know.
No, groupby N has limitation when using Ultra task.
So for us we are trying to build high performance API with Ultra task. GroupbyN can achieve the goal but as it can only work in Triggered/Schedule tasks.
- nganapathiraju8 years agoFormer Employee
Try moving that group by N to a child pipeline and see how it works for Ultra.
Most of the snaps (group by, group By N, aggregate snaps) work in child pipelines in Ultra mode as long as you return one document to the top level parent pipeline.
- walkerline1178 years agoContributor
Thats a workaround we have tried, but API performance is not as good as what we expected.
From Snaplogic professional, it seems doing parent-child pipeline will add some overhead even with Ultra task.- nganapathiraju8 years agoFormer Employee
One way of achieving faster response is to provide limit and offset to the callers using this Ultra API.
LIMIT and OFFSET can be easily implemented in database queries!
You can easily implement this and thereby dont expose the whole set of data when not needed.