- 浏览: 849885 次
- 性别:
- 来自: lanzhou
文章分类
最新评论
-
liu346435400:
楼主讲了实话啊,中国程序员的现状,也是只见中国程序员拼死拼活的 ...
中国的程序员为什么这么辛苦 -
qw8226718:
国内ASP.NET下功能比较完善,优化比较好的Spacebui ...
国内外开源sns源码大全 -
dotjar:
敢问兰州的大哥,Prism 现在在12.04LTS上可用么?我 ...
最佳 Ubuntu 下 WebQQ 聊天体验 -
coralsea:
兄弟,卫星通信不是这么简单的,单向接收卫星广播信号不需要太大的 ...
Google 上网 -
txin0814:
我成功安装chrome frame后 在IE地址栏前加上cf: ...
IE中使用Google Chrome Frame运行HTML 5
There’s good news for the Rackspace Cloud developer community: the wait is over.
Today, The Rackspace Cloud launched our new API for Cloud Servers. The API provides a flexible, programmatic way to Control Cloud Servers. Now, from within your own applications, you can write code that launches or reboots Cloud Server instances, creates custom metadata for your servers, injects files into the servers’ filesystems, creates high availability configurations using shared IP groups, and a variety of other tasks. You can learn more about Cloud Servers and the features of the API on our site.
Last Friday, I was able to sit down with the project’s lead architects, Erik Carlin and Jason Seats, to talk about designing the API, responding to community feedback, and industry standards around the cloud. Below are the answers they provided.
So a couple of the new features in the API allow you to customize your Cloud Server instances as you launch them. How do you envision those features being used?
Erik: Really, the idea is to provide layers of customization. First, you can create custom server images, and then you can further customize the instances you launch with metadata and file injection. Elasticity and the dynamic nature of cloud computing demand these kinds of real-time configuration options.
Jason: With metadata, you can provide arbitrary key/value pairs that are queryable through the API and associated with a running instance, providing a unique fingerprint for each one. With file injection you can put a file directly into the filesystem so that it’s accessible inside the instance. It could be a license file, it could be an SSH key—whatever you need.
What were the tough decisions in designing the API?
Erik: We wanted to adhere as strictly as possible to RESTful practice. We iterated several times on the design to make it more and more RESTful. We actually did an update this week where we made some final changes because we just didn’t feel like it was RESTful enough.
Jason: Another goal was conforming to open, accepted web standards that exist. For example, we worked to make our use of HTTP error codes precise and accurate. We are using headers the way they should be according to our interpretation of those standards. We really tried to not invent anything new but rather to build things on well-defined standards.
I think any developer or architect who’s tried to take a service and map it on to a RESTful interface would understand the pain of doing it. You can spend a lot of time debating how things should be modeled. Turning a real-world, sometimes messy thing into what’s really an idealistic, simple view is hard. It’s a long struggle, but when you come out the other end, it ends up looking very concise and clear and it’s easy to understand.
Erik: We spent a lot of time thinking through the API so that it’s very consistent—consistent with itself and with the Cloud Files API. Across the AWS services, Amazon doesn’t necessarily use the same web service interface types. So EC2 has no purely RESTful interface. They have a SOAP interface and what’s called a Query interface, which is REST-like, but not truly RESTful.
A while ago, a draft version of the API was released for public feedback. Can you give a few examples of the feedback that came back and how it drove the API’s development?
Erik: Feedback from the draft was really important. The metadata option and the server data injection feature were directly born of suggestions from the developer community. The feedback we received also drove the API’s support of XML and JSON—we got lots of requests for JSON. A few developers told us that our first take at JSON wasn’t as efficient or as elegant as it could be, so we went back and reworked that piece.
Jason: One thing we got real strong feedback on from the early viewers of the spec was visibility into the caching mechanism. There are web services out there that involve caching and it’s never entirely clear what the age of the cache is. We thought through those things and tried to use well defined ways to display how the caching layer works.
Request limits are something we actually expose through the API and your application or service can dynamically and programmatically ask about what its limitations are. We also have very clear ways of telling you when your application has exceeded its available requests and is being throttled or served cached results because of that.
There’s been a lot of debate in the cloud space concerning open standards and how they should be defined. What is it that makes developing standards across cloud providers so difficult?
Jason: As a company, we’ve certainly committed to supporting open standards but I think that we’re very realistic about recognizing the difficultly in establishing open standards. And it really is a reflection of different providers who have different underlying technology; different limitations. Those differences are reflected in these APIs. To have one overarching standard would mean the standard would be necessarily more complex than each of the implementations. A more generalized, more complex standard takes a long time to erupt naturally.
Erik: Rackspace is on the leadership board of the DMTF cloud incubator group and we’re working on a number of standards around cloud. We intend to open source the API specification as well so you can distribute, modify, or reuse the API freely. We tried to open it up as much as we can, recognizing that our specific design and the things we need to do are unique. If there was an existing API standard that we could have embraced I think we would have done it.
So this is the first public beta release of the Cloud Servers API. How will it evolve going forward?
Erik: Well first, we tried to think ahead: simple things like versioning the API so that we could introduce new features without breaking the API. You can query the API without the version and see all the versions that are available. You can query an API version and get a link directly to the API docs or WADL for a human readable or computer readable version of the specification.
Jason: In future versions of the API, we’re looking at tightening the link between Cloud Servers and Cloud Files. Our expectation is that we’ll extend the API and the Cloud Server service so that we’ll have launch-able images on Cloud FIles. That’s probably the main thrust of the next rev that we’re looking at right now.
发表评论
-
谷歌副总裁称三年后台式电脑与搜索无关
2010-03-05 08:27 977谷歌声称,大约三年的时间,台式电脑将会逐渐被移动设备所取代。越 ... -
李开复:Vista 系统失败的真正内幕
2010-03-05 07:14 1062曾参与Windows Vista研发的李开复,在近日发表的博文 ... -
Android也创富:开发者月入1.3万美元
2010-03-04 12:48 873据国外媒体报道,一位名叫爱德华·金姆(Edward Kim ... -
星际争霸2的图形界面几乎全部使用Flash搭建?
2010-02-25 09:11 842国外一名玩家在使用工具破解了星际争霸2Beta版的资源包后发现 ... -
电脑DIY市场正在走向末路
2010-02-09 10:49 963作为多年来的DIY爱好者,写出上面的标题着实让自己感到有些难过 ... -
VMWare下安装MAC OS X Snow Leopard 10.6
2010-02-07 08:52 10735这是转载自远景论坛ycjcn 的帖子,大家可以点这查看原 ... -
Chrome操作系统13大要点
2009-11-22 05:38 1102·Chrome OS用户无法下载安装 ·Chrome OS将 ... -
揭开神秘面纱!谷歌Chrome OS操作系统大揭秘
2009-11-22 05:37 1192北京时间11月20日凌晨消息,谷歌于美国西部时间11月19日 ... -
家庭教育的20条金科玉律
2009-11-16 11:32 911一: 家长在家庭教育时一定要记住情感教育永远都大于道理教育。 ... -
微软修补Windows操作系统核心漏洞
2009-11-14 10:33 969微软于周二(11/9)公布了6大更新,修补15个安全漏洞, ... -
Update on the Windows 7 USB/DVD Tool
2009-11-14 10:32 1110As you've likely read and as ... -
暖气不热的100个原因
2009-11-14 00:05 1899暖气不热的原因比较复杂,并不是由几个或十几个原因就可 ... -
Phoenix Award BIOS将停产
2009-11-13 11:31 1177Phoenix/Award BIOS的总公司 ... -
Beware the Fake Google Chrome OS Download
2009-10-31 20:55 1013Google recently announced that ... -
吓坏微软 传Chrome OS测试版网络偷跑
2009-10-31 20:50 1128Google Chrome OS相信不少人已经不会陌生 ... -
Google Wave Federation: Why it Matters
2009-10-31 15:21 867According to The Next Web , th ... -
Google投资“暗光纤” 带宽成本几乎为零
2009-10-29 15:52 1040据国外媒体报道,拥有Y ... -
Build Your Own Dev Server with VirtualBox
2009-10-28 09:01 1040Sun’s VirtualBox is ideal for ... -
不能忽视的虚拟化技术漏洞
2009-10-25 08:48 1189恶意软件从一台虚拟机 ... -
不看后悔的行货iPhone资费大PK(转载)
2009-10-25 08:45 766眼看着就要到月底,i ...
相关推荐
Derive insights about the health, performance, and availability of cloud-powered applications with the help of monitoring, logging, and diagnostic tools in Stackdriver Who This Book Is For If you are ...
With the data now in internet form, you’ll get an understanding of cloud and fog architectures, including the OpenFog standards. We wrap up the analytics portion of the book with the application of ...
Architects of Intelligence: The truth about AI from the people building it By 作者: Martin Ford ISBN-10 书号: 1789131510 ISBN-13 书号: 9781789131512 Release Finelybook 出版日期: 2018-11-23 pages 页数:...
Derive insights about the health, performance, and availability of cloud-powered applications with the help of monitoring, logging, and diagnostic tools in Stackdriver Who This Book Is For If you are...
It then introduces two modes of building a hybrid cloud, with the CMP and the other with containers—along with the use cases that each of them addresses. The book finally drops into operational mode...
Sameer Paradkar is an enterprise architect with 15+ years of solid experience in the ICT industry which spans across consulting, systems integration, and product development. He is an Open Group TOGAF...
Building Your Next Big Thing with Google Cloud Platform shows you how to take advantage of the Google Cloud Platform technologies to build all kinds of cloud-hosted software and services for both ...
This book starts off with an introduction to APIs and the concept of API Economy from a business and organizational perspective. You'll decide on a sustainable API strategy and API architecture based ...
How can AI evolve to human levels? What could its impact on society and the ... Find out what the future holds for AI in Architects of Intelligence, one of the Financial Times Books of the Year 2018.
The Fourth Edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, from four recognized experts, updated to the latest OpenStack build including Cinder, Nova, and Neutron. Key Features ...
Sameer Paradkar is an enterprise architect with 15+ years of solid experience in the ICT industry which spans across consulting, systems integration, and product development. He is an Open Group TOGAF...
This comprehensive guide helps developers and architects understand current cloud-native technologies, with recommendations that explain when you need to use each one. Authors Boris Scholl, Trent ...
composite versus integration, and API versus edge, and how such organization helps to eliminate the use of a central ESB and expose services through an API gateway. What You’ll Learn Design and ...
Architects look at thousands of buildings during their training, and study critiques of those buildings written by masters. In contrast, most software developers only ever get to know a handful of ...
oper, you end up spending a considerable amount of time working with the plumbing of the integration protocols to open up the IT systems to the outside world. In Enterprise Integration Patterns, ...
This book is aimed at architects, solution providers, and those of the DevOps community who are looking to implement repeatable patterns for deploying and maintaining services in the Amazon cloud ...