Buffered channels

For almost all the channels in our code, we will be using buffered channels with a capacity of 8. This allows us to avoid blocking the api.FeedHandler endpoint in case docProcessors are busy. Also because of queue workers and single stores, lStoreCh and dStoreCh have a capacity of 16 each.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.205.99