3 ms·
Well the article is from 2014, this should be mentioned in the title. I noticed it because the author was not even talking about the dataloader pattern used oft
by naranha 5y ago
Well the article is from 2014, this should be mentioned in the title. I noticed it because the author was not even talking about the dataloader pattern used often in the context of GraphQL when asking for new patterns.
In Node.JS the dataloader processes N lookups simultaneously in the next tick of the eventloop. So call(1) call(2)...call(n) would be executed as call([1,2,3,..n]) allowing you to efficiently implement it.