Is this crazy? Is go a good choice

agolangf · · 619 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>So this might be a crazy idea but I have this problem I am trying to solve for. The company I am working for has literally hundreds of ID&#39;s that are used for various tasks, applications and services. The problem is they don&#39;t have a clear picture of where all of these ID&#39;s are being used. </p> <p>So I had the idea of creating a routine that would connect to each resource and do a full parse of specific file locations looking for these ID&#39;s within files that can be parsed and then producing a report.</p> <p>I am just not sure if something like that is feasible, or advisable.</p> <hr/>**评论:**<br/><br/>brogrammingsins: <pre><p>Yes</p></pre>fern4lvarez: <pre><p>I&#39;d first use bash. If it gets too complicated, then switch to Go.</p></pre>hansdr: <pre><p>Something like what you want could be written in Go, or one of the many other languages. Which language is the right choice often depends on which language you&#39;re most familiar with (assuming that you&#39;re the one who will do the coding). A Go programmer would definitely be better off using Go, while someone who&#39;s more familiar with C/C++ would be more productive sticking to C/C++...</p></pre>trevordixon: <pre><p>Rather than one writing a single program that does it all, I&#39;d recommend, if possible, first gathering all the relevant files into one place. That might easily be done using a shell script and SSH?</p> <p>If you can get it all into one place, you&#39;ll be able to run the parsing step more quickly and start over more easily.</p></pre>nathj07: <pre><p>It is feasible. To keep it reasonable you will need to monitor resource use as you hit a lot of network traffic and file io</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

619 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传