<p>Should service's <a href="https://github.com/reinerRubin/PonPonLoader/blob/master/download_task_processor.go#L63">"run method"</a> be async or sync? Where I can read about standard approaches or check good sources.</p>
<p>I have tried to implement a <a href="https://github.com/reinerRubin/PonPonLoader/blob/master/download_task_processor.go#L28">worker pool</a> which gives "N" chances to failed tasks. Is my attempt correct? Is there way to avoid buffered channels?</p>
<p>I am also not sure about package grouping and <a href="https://github.com/reinerRubin/PonPonLoader/blob/master/thread_watcher.go#L37">"thread watcher"</a>. It looks quite messy.</p>
<p>// <a href="https://github.com/reinerRubin/PonPonLoader">Github</a></p>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传