4 ms·
Facebook released DataLoader [1] to help reduce the number of database invocations. As long as you write your queries to fit the loader pattern it's pretty stra
by hakanito 8y ago
Facebook released DataLoader [1] to help reduce the number of database invocations. As long as you write your queries to fit the loader pattern it's pretty straight forward. Been trying out a golang port [2] for a month or two and it really (really!) improves performance.
[1] https://github.com/facebook/dataloader https://github.com/facebook/dataloader
[2] https://github.com/graph-gophers/dataloader https://github.com/graph-gophers/dataloader