TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Gophercloud: A Multi-cloud Software Development Kit for Go

61 点作者 jnoller将近 12 年前

7 条评论

danieldk将近 12 年前
<i>Go also shares some attributes with Erlang; in particular, its “goroutine” construct makes writing concurrent software much easier than managing threads by hand,</i><p>That&#x27;s a lot of handwaving. The overlap is that both Go and Erlang have lightweight threads. But Erlang uses the (fairly) different actor model, which usages messaging between actors, supervision trees to control and monitor the life cycles of actors, remote actors, etc. Go has lightweight threads and channels to communicate between threads. Go (concurrency) shares very little with Erlang.<p>It&#x27;s also funny that they move on to claim that Go has better concurrency support than Java, when in fact, you can use real Erlang-like actor networks in Java by adding one dependency to your Maven file. Akka actors are lightweight concurrent entities, since you can easily create hundreds of thousands or even millions of actors.<p>That said, it&#x27;s interesting to see one API for multiple clouds.<p>[1] <a href="http://akka.io/" rel="nofollow">http:&#x2F;&#x2F;akka.io&#x2F;</a>
评论 #6206868 未加载
gtaylor将近 12 年前
I think it&#x27;s a noble effort, but I&#x27;d be strongly concerned with the ease of use&#x2F;digestion&#x2F;maintainability of something that strives to cover most major cloud APIs. This stuff moves <i>fast</i>, and I can&#x27;t imagine having to try to keep up with multiple larger platforms.<p>While we were getting Pathwright launched, we contributed a whole lot to boto, which is primarily (but not exclusively) catered to AWS. It grew Eucalyptus (not a huge jump) and Google Compute support, but they were badly documented&#x2F;tested and still seem to see much less maintenance than the AWS stuff. The situation has improved slightly as Amazon has hired a few more guys to help the maintainer make boto awesome, but they&#x27;re still playing catchup with the core competency (AWS). This isn&#x27;t to talk badly of boto, it&#x27;s more to illustrate the magnitude of the task of keeping up with even one aggressively developing vendor.<p>I worry that these &quot;mega-cloud-libs&quot; are the wrong approach. The OpenStack stuff will probably end up with excellent support, but the others are likely to see much less attention, documentation, maintenance, help. The neglected areas of the codebase get to be embarrassing and not up to the quality standards of the primary focus (OpenStack in this case). Perhaps they end up falling behind in API versions for some vendors, limiting their utility.<p>This is definitely not to poo-poo the effort, I think it&#x27;s a really neat ideal. Personally, I&#x27;d love to see them focus on making a kick ass OpenStack Go API with top notch documentation and tests, and leave the other services to their respective communities. That alone would be noteworthy.
评论 #6206522 未加载
评论 #6206834 未加载
kapilvt将近 12 年前
First there&#x27;s a huge caveat to calling this multi-cloud, ie. its a library for openstack clouds only from what i gather of the src and documentation. Second, there&#x27;s already a nice go library for openstack clouds that&#x27;s seen multiple cloud usage (rackspace, hpcloud, openstack grizzly&#x2F;folsom) in the form of <a href="http://launchpad.net/goose" rel="nofollow">http:&#x2F;&#x2F;launchpad.net&#x2F;goose</a> It has significantly more coverage of available openstack services (image, compute, storage) and more realworld usage and better testing afaics.
评论 #6206160 未加载
vanderZwan将近 12 年前
&gt; <i>by Rob Pike and Ken Thompson</i><p>Why does everyone always forget Robert Griesemer? He might not be as involved with the public as Rob Pike, but he&#x27;s the guy that made gofmt and godoc (and I&#x27;m pretty sure he&#x27;s also at least partially to thank for the language being specified in such a way that it is &quot;gofmt&quot;-able in the first place, considering he maintains the spec). That alone counts as a pretty big positive influence on the language.
评论 #6209603 未加载
bebna将近 12 年前
And I hoped for cheap gopher:&#x2F;&#x2F; hosting.
评论 #6206935 未加载
howeyc将近 12 年前
Interesting. Browsing the code it looks like they are using closures[1] in a way I haven&#x27;t seen other Go code use them. Similar to the &quot;using&quot; keyword in .NET or the &quot;with-&quot; macros (with-open-file) in Common Lisp.<p>[1] <a href="https://github.com/rackspace/gophercloud/blob/master/acceptance/04-create-server.go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rackspace&#x2F;gophercloud&#x2F;blob&#x2F;master&#x2F;accepta...</a>
评论 #6206358 未加载
icedog将近 12 年前
Why do I have to read six paragraphs before I find out what Gophercloud is?
评论 #6206759 未加载