2009年5月6日水曜日

Are Cloud Based Memory Architectures the Next Big Thing?

メモリーを利用し、ディスクによるストレージを全く排除したシステムアーキテクチャに関連した新技術やビジネスモデルが俄かに登場している。  それらについての解説。  非常に詳細に説明があり、興味深い。

Are Cloud Based Memory Architectures the Next Big Thing?

Todd Hoff's picture

We are on the edge of two potent technological changes: Clouds and Memory Based Architectures. This evolution will rip open a chasm where new players can enter and prosper. Google is the master of disk. You can't beat them at a game they perfected. Disk based databases like SimpleDB and BigTable are complicated beasts, typical last gasp products of any aging technology before a change. The next era is the age of Memory and Cloud which will allow for new players to succeed. The tipping point is soon.

Let's take a short trip down web architecture lane:

  • It's 1993: Yahoo runs on FreeBSD, Apache, Perl scripts and a SQL database
  • It's 1995: Scale-up the database.
  • It's 1998: LAMP
  • It's 1999: Stateless + Load Balanced + Database + SAN
  • It's 2001: In-memory data-grid.
  • It's 2003: Add a caching layer.
  • It's 2004: Add scale-out and partitioning.
  • It's 2005: Add asynchronous job scheduling and maybe a distributed file system.
  • It's 2007: Move it all into the cloud.
  • It's 2008: Cloud + web scalable database.
  • It's 20??: Cloud + Memory Based Architectures

    You may disagree with the timing of various innovations and you would be correct. I couldn't find a history of the evolution of website architectures so I just made stuff up. If you have any better information please let me know.

    Why might cloud based memory architectures be the next big thing? For now we'll just address the memory based architecture part of the question, the cloud component is covered a little later.

    Behold the power of keeping data in memory:


    Google query results are now served in under an astonishingly fast 200ms, down from 1000ms in the olden days. The vast majority of this great performance improvement is due to holding indexes completely in memory. Thousands of machines process each query in order to make search results appear nearly instantaneously.

    This text was adapted from notes on Google Fellow Jeff Dean keynote speech at WSDM 2009.

    Google isn't the only one getting a performance bang from moving data into memory. Both LinkedIn and Digg keep the graph of their network social network in memory. Facebook has northwards of 800 memcached servers creating a reservoir of 28 terabytes of memory enabling a 99% cache hit rate. Even little guys can handle 100s of millions of events per day by using memory instead of disk.

    With their new Unified Computing strategy Cisco is also entering the memory game. Their new machines "will be focusing on networking and memory" with servers crammed with 384 GB of RAM, fast processors, and blazingly fast processor interconnects. Just what you need when creating memory based systems.

    Memory is the System of Record

    What makes Memory Based Architectures different from traditional architectures is that memory is the system of record. Typically disk based databases have been the system of record. Disk has been King, safely storing data away within its castle walls. Disk being slow we've ended up wrapping disks in complicated caching and distributed file systems to make them perform.

    Sure, memory is used as all over the place as cache, but we're always supposed to pretend that cache can be invalidated at any time and old Mr. Reliable, the database, will step in and provide the correct values. In Memory Based Architectures memory is where the "official" data values are stored.

    Caching also serves a different purpose. The purpose behind cache based architectures is to minimize the data bottleneck through to disk. Memory based architectures can address the entire end-to-end application stack. Data in memory can be of higher reliability and availability than traditional architectures.

    Memory Based Architectures initially developed out of the need in some applications spaces for very low latencies. The dramatic drop of RAM prices along with the ability of servers to handle larger and larger amounts of RAM has caused memory architectures to verge on going mainstream. For example, someone recently calculated that 1TB of RAM across 40 servers at 24 GB per server would cost an additional $40,000. Which is really quite affordable given the cost of the servers. Projecting out, 1U and 2U rack-mounted servers will soon support a terabyte or more or memory.

    RAM = High Bandwidth and Low Latency

    Why are Memory Based Architectures so attractive? Compared to disk RAM is a high bandwidth and low latency storage medium. Depending on who you ask the bandwidth of RAM is 5 GB/s. The bandwidth of disk is about 100 MB/s. RAM bandwidth is many hundreds of times faster. RAM wins. Modern hard drives have latencies under 13 milliseconds. When many applications are queued for disk reads latencies can easily be in the many second range. Memory latency is in the 5 nanosecond range. Memory latency is 2,000 times faster. RAM wins again.

    RAM is the New Disk

    The superiority of RAM is at the heart of the RAM is the New Disk paradigm. As an architecture it combines the holy quadrinity of computing:

  • Performance is better because data is accessed from memory instead of through a database to a disk.
  • Scalability is linear because as more servers are added data is transparently load balanced across the servers so there is an automated in-memory sharding.
  • Availability is higher because multiple copies of data are kept in memory and the entire system reroutes on failure.
  • Application development is faster because there's only one layer of software to deal with, the cache, and its API is simple. All the complexity is hidden from the programmer which means all a developer has to do is get and put data.

    Access disk on the critical path of any transaction limits both throughput and latency. Committing a transaction over the network in-memory is faster than writing through to disk. Reading data from memory is also faster than reading data from disk. So the idea is to skip disk, except perhaps as an asynchronous write-behind option, archival storage, and for large files.

    Or is Disk is the the new RAM?

    To be fair there is also a Disk is the the new RAM, RAM is the New Cache paradigm too. This somewhat counter intuitive notion is that a cluster of about 50 disks has the same bandwidth of RAM, so the bandwidth problem is taken care of by adding more disks.

    The latency problem is handled by reorganizing data structures and low level algorithms. It's as simple as avoiding piecemeal reads and organizing algorithms around moving data to and from memory in very large batches and writing highly parallelized programs. While I have no doubt this approach can be made to work by very clever people in many domains, a large chunk of applications are more time in the random access domain space for which RAM based architectures are a better fit.

    Grids and a Few Other Definitions

    There's a constellation of different concepts centered around Memory Based Architectures that we'll need to understand before we can understand the different products in this space. They include:

  • Compute Grid - parallel execution. A Compute Grid is a set of CPUs on which calculations/jobs/work is run. Problems are broken up into smaller tasks and spread across nodes in the grid. The result is calculated faster because it is happening in parallel.
  • Data Grid - a system that deals with data — the controlled sharing and management of large amounts of distributed data.
  • In-Memory Data Grid (IMDG) - parallel in-memory data storage. Data Grids are scaled horizontally, that is by adding more nodes. Data contention is removed removed by partitioning data across nodes.
  • Colocation - Business logic and object state are colocated within the same process. Methods are invoked by routing to the object and having the object execute the method on the node it was mapped to. Latency is low because object state is not sent across the wire.
  • Grid Computing - Compute Grids + Data Grids
  • Cloud Computing - datacenter + API. The API allows the set of CPUs in the grid to be dynamically allocated and deallocated.

    Who are the Major Players in this Space?

    With that bit of background behind us, there are several major players in this space (in alphabetical order):

  • Coherence - is a peer-to-peer, clustered, in-memory data management system. Coherence is a good match for applications that need write-behind functionality when working with a database and you require multiple applications have ACID transactions on the database. Java, JavaEE, C++, and .NET.
  • GemFire - an in-memory data caching solution that provides low-latency and near-zero downtime along with horizontal & global scalability. C++, Java and .NET.
  • GigaSpaces - GigaSpaces attacks the whole stack: Compute Grid, Data Grid, Message, Colocation, and Application Server capabilities. This makes for greater complexity, but it means there's less plumbing that needs to be written and developers can concentrate on writing business logic. Java, C, or .Net.
  • GridGain - A compute grid that can operate over many data grids. It specializes in the transparent and low configuration implementation of features. Java only.
  • Terracotta - Terracotta is network-attached memory that allows you share memory and do anything across a cluster. Terracotta works its magic at the JVM level and provides: high availability, an end of messaging, distributed caching, a single JVM image. Java only.
  • WebSphere eXtreme Scale. Operates as an in-memory data grid that dynamically caches, partitions, replicates, and manages application data and business logic across multiple servers.

    This class of products has generally been called In-Memory Data Grids (IDMG), though not all the products fit snugly in this category. There's quite a range of different features amongst the different products.

    I tossed IDMG the acronym in favor of Memory Based Architectures because the "in-memory" part seems redundant, the grid part has given way to the cloud, the "data" part really can include both data and code. And there are other architectures that will exploit memory yet won't be classic IDMG. So I just used Memory Based Architecture as that's the part that counts.

    Given the wide differences between the products there's no canonical architecture. As an example here's a diagram of how GigaSpaces In-Memory-Data-Grid on the Cloud works.

    Some key points to note are:

  • A POJO (Plain Old Java Object) is written through a proxy using a hash-based data routing mechanism to be stored in a partition on a Processing Unit. Attributes of the object are used as a key. This is straightforward hash based partitioning like you would use with memcached.
  • You are operating through GigaSpace's framework/container so they can automatically handle things like messaging, sending change events, replication, failover, master-worker pattern, map-reduce, transactions, parallel processing, parallel query processing, and write-behind to databases.
  • Scaling is accomplished by dividing your objects into more partitions and assigning the partitions to Processing Unit instances which run on nodes-- a scale-out strategy. Objects are kept in RAM and the objects contain both state and behavior. A Service Grid component supports the dynamic creation and termination of Processing Units.

    Not conceptually difficult and familiar to anyone who has used caching systems like memcached. Only is this case memory is not just a cache, it's the system of record.

    Obviously there are a million more juicy details at play, but that's the gist of it. Admittedly GigaSpaces is on the full featured side of the product equation, but from a memory based architecture perspective the ideas should generalize. When you shard a database, for example, you generally lose the ability to execute queries, you have to do all the assembly yourself. By using GigaSpaces framework you get a lot of very high-end features like parallel query processing for free.

    The power of this approach certainly comes in part from familiar concepts like partitioning. But the speed of memory versus disk also allows entire new levels of performance and reliability in a relatively simple and easy to understand and deploy package.

    NimbusDB - the Database in the Cloud

    Jim Starkey, President of NimbusDB, is not following the IDMG gang's lead. He's taking a completely fresh approach based on thinking of the cloud as a new platform unto itself. Starting from scratch, what would a database for the cloud look like?

    Jim is in position to answer this question as he has created a transactional database engine for MySQL named Falcon and added multi-versioning support to InterBase, the first relational database to feature MVCC (Multiversion Concurrency Control).

    What defines the cloud as a platform? Here's are some thoughts from Jim I copied out of the Cloud Computing group. You'll notice I've quoted Jim way way too much. I did that because Jim is an insightful guy, he has a lot of interesting things to say, and I think he has a different spin on the future of databases in the cloud than anyone else I've read. He also has the advantage of course of not having a shipping product, but we shall see.

  • I've probably said this before, but the cloud is a new computing platform that some have learned to exploit, others are scrambling to master, but most people will see as nothing but a minor variation on what they're already doing. This is not new. When time sharing as invented, the batch guys considered it as remote job entry, just a variation on batch. When departmental computing came along (VAXes, et al), the timesharing guys considered it nothing but timesharing on a smaller scale. When PCs and client/server computing came along, the departmental computing guys (i.e. DEC), considered PCs to be a special case of smart terminals. And when the Internet blew into town, the client server guys considered it as nothing more than a global scale LAN. So the batchguys are dead, the timesharing guys are dead, the departmental computing guys are dead, and the client server guys are dead. Notice a pattern?
  • The reason that databases are important to cloud computing is that virtually all applications involve the interaction of client data with a shared, persistent data store. And while application processing can be easily scaled, the limiting factor is the database system. So if you plan to do anything more than play Tetris in the cloud, the issue of database management should be foremost in your mind.
  • Disks are the limiting factors in contemporary database systems. Horrible things, disk. But conventional wisdom is that you build a clustered database system by starting with a distributed file system. Wrong. Evolution is faster processors, bigger memory, better tools. Revolution
    is a different way of thinking, a different topology, a different way of putting the parts together.
  • What I'm arguing is that a cloud is a different platform, and what works well for a single computer doesn't work at all well in cloud, and things that work well in a cloud don't work at all on the single computer system. So it behooves us to re-examine a lot an ancient and honorable assumptions to see if they make any sense at all in this brave new world.
  • Sharing a high performance disk system is fine on a single computer, troublesome in a cluster, and miserable on a cloud.
  • I'm a database guy who's had it with disks. Didn't much like the IBM 1301, and disks haven't gotten much better since. Ugly, warty, slow, things that require complex subsystems to hide their miserable characteristics. The alternative is to use the memory in a cloud as a distributed L2
    cache. Yes, disks are still there, but they're out of the performance loop except for data so stale that nobody has it memory.
  • Another machine or set of machines is just as good as a disk. You can quibble about reliable power, etc, but write queuing disks have the same problem.
  • Once you give up the idea of logs and page caches in favor of asynchronous replications, life gets a great deal brighter. It really does make sense to design to the strengths of cloud(redundancy) rather than their weaknesses (shared anything).
  • And while one guys is fetching his 100 MB per second, the disk is busy and everyone else is waiting in line contemplating existence. Even the cheapest of servers have two gigabit ethernet channels and switch. The network serves everyone in parallel while the disk is single threaded
  • I favor data sharing through a formal abstraction like a relational database. Shared objects are things most programmers are good at handling. The fewer the things that application developers need to manage the more likely it is that the application will work.
  • I buy the model of object level replication, but only as a substrate for something with a more civilized API. Or in other words, it's a foundation, not a house.
  • I'd much rather have a pair of quad-core processors running as independent servers than contending for memory on a dual socket server. I don't object to more cores per processor chip, but I don't want to pay for die size for cores perpetually stalled for memory.
  • The object substrate worries about data distribution and who should see what. It doesn't even know it's a database. SQL semantics are applied by an engine layered on the object substrate. The SQL engine doesn't worry or even know that it's part of a distributed database -- it just executes SQL statements. The black magic is MVCC.
  • I'm a database developing building a database system for clouds. Tell me what you need. Here is my first approximation: A database that scales by adding more computers and degrades gracefully when machines are yanked out; A database system that never needs to be shut down; Hardware and software fault tolerance; Multi-site archiving for disaster survival; A facility to reach into the past to recover from human errors (drop table customers; oops;); Automatic load balancing
  • MySQL scales with read replication which requires a full database copy to start up. For any cloud relevant application, that's probably hundreds of gigabytes. That makes it a mighty poor candidate for on-demand virtual servers.
  • Do remember that the primary function of a database system is to maintain consistency. You don't want a dozen people each draining the last thousand buckets from a bank account or a debit to happen without the corresponding credit.
  • Whether the data moves to the work or the work moves to the data isn't that important as long as they both end up a the same place with as few intermediate round trips as possible.
  • In my area, for example, databases are either limited by the biggest, ugliest machine you can afford *or* you have to learn to operation without consistent, atomic transactions. A bad rock / hard place choice that send the cost of scalable application development through the ceiling. Once we solve that, applications that server 20,000,000 users will be simple and cheap to write. Who knows where that will go?
  • To paraphrase our new president, we must reject the false choice between data consistency and scalability.
  • Cloud computing is about using many computers to scale problems that were once limited by the capabilities of a single computer. That's what makes clouds exciting, at least to me. But most will argue that cloud computing is a better economic model for running many instances of a
    single computer. Bah, I say, bah!
  • Cloud computing is a wonder new platform. Let's not let the dinosaurs waiting for extinction define it as a minor variation of what they've been doing for years. They will, of course, but this (and the dinosaurs) will pass.
  • The revolutionary idea is that applications don't run on a single computer but an elastic cloud of computers that grows and contracts by demand. This, in turn, requires an applications infrastructure that can a) run a single application across as many machines as necessary, and b) run many applications on the same machines without any of the cross talk and software maintenance problems of years past. No, the software infrastructure required to enable this is not mature and certainly not off the shelf, but many smart folks are working on it.
  • There's nothing limiting in relational except the companies that build them. A relational database can scale as well as BigTable and SimpleDB but still be transactional. And, unlike BigTable and SimpleDB, a relational database can model relationships and do exotic things like transferring money from one account to another without "breaking the bank.". It is true that existing relational database systems are largely constrained to single cpu or cluster with a shared file system, but we'll get over that.
  • Personally, I don't like masters any more than I like slaves. I strongly favor peer to peer architectures with no single point of failure. I also believe that database federation is a work-around
    rather than a feature. If a database system had sufficient capacity, reliability, and availability, nobody would ever partition or shard data. (If one database instance is a headache, a million tiny ones is a horrible, horrible migraine.)
  • Logic does need to be pushed to the data, which is why relational database systems destroyed hierarchical (IMS), network (CODASYL), and OODBMS. But there is a constant need to push semantics higher to further reduce the number of round trips between application semantics and the database systems. As for I/O, a database system that can use the cloud as an L2 cache breaks free from dependencies on file systems. This means that bandwidth and cycles are the limiting factors, not I/O capacity.
  • What we should be talking about is trans-server application architecture, trans-server application platforms, both, or whether one will make the other unnecessary.
  • If you scale, you don't/can't worry about server reliability. Money spent on (alleged) server reliability is money wasted.
  • If you view the cloud as a new model for scalable applications, it is a radical change in computing platform. Most people see the cloud through the lens of EC2, which is just another way to run a server that you have to manage and control, then the cloud is little more than a rather
    boring business model. When clouds evolve to point that applications and databases can utilize whatever resources then need to meet demand without the constraint of single machine limitations, we'll have something really neat.
  • On MVCC: Forget about the concept of master. Synchronizing slaves to a master is hopeless. Instead, think of a transaction as a temporal view of database state; different transactions
    will have different views. Certain critical operations must be serialized, but that still doesn't require that all nodes have identical views of database state.
  • Low latency is definitely good, but I'm designing the system to support geographically separated sub-clouds. How well that works under heavy load is probably application specific. If the amount of volatile data common to the sub-clouds is relatively low, it should work just fine provided there is enough bandwidth to handle the replication messages.
  • MVCC tracks multiple versions to provide a transaction with a view of the database consistent with the instant it started while preventing a transaction from updating a piece of data that it could not see. MVCC is consistent, but it is not serializable. Opinions vary between academia and the real world, but most database practitioners recognize that the consistency provided by MVCC is sufficient for programmers of modest skills to product robust applications.
  • MVCC, heretofore, has been limited to single node databases. Applied to the cloud with suitable bookkeeping to control visibility of updates on individual nodes, MVCC is as close to black magic as you are likely to see in your lifetime, enabling concurrency and consistency with mostly non-blocking, asynchronous messaging. It does, however, dispense with the idea that a cloud has at any given point of time a single definitive state. Serializability implemented with record locking is an attempt to make distributed system march in lock-step so that the result is as if there there no parallelism between nodes. MVCC recognizes that parallelism is the key to scalability. Data that is a few microseconds old is not a problem as long as updates don't collide.

    Jim certainly isn't shy with his opinions :-)

    My summary of what he wants to do with NimbusDB is:

  • Make a scalable relational database in the cloud where you can use normal everyday SQL to perform summary functions, define referential integrity, and all that other good stuff.
  • Transactions scale using a distributed version of MVCC, which I do not believe has been done before. This is the key part of the plan and a lot depends on it working.
  • The database is stored primarily in RAM which makes cloud level scaling of an RDBMS possible.
  • The database will handle all the details of scaling in the cloud. To the developer it will look like just a very large highly available database.

    I'm not sure if NimbusDB will support a compute grid and map-reduce type functionality. The low latency argument for data and code collocation is a good one, so I hope it integrates some sort of extension mechanism.

    Why might NimbusDB be a good idea?

  • Keeps simple things simple. Web scale databases like BigTable and SimpleDB make simple things difficult. They are full of quotas, limits, and restrictions because by their very nature they are just a key-value layer on top of a distributed file system. The database knows as little about the data as possible. If you want to build a sequence number for a comment system, for example, it takes complicated sharding logic to remove write contention. Developers are used to SQL and are comfortable working within the transaction model, so the transition to cloud computing would be that much easier. Now, to be fair, who knows if NimbusDB will be able to scale under high load either, but we need to make simple things simple again.
  • Language independence. Notice the that IDMG products are all language specific. They support some combination of .Net/Java/C/C++. This is because they need low level object knowledge to transparently implement their magic. This isn't bad, but it does mean if you use Python, Erlang, Ruby, or any other unsupported language then you are out of luck. As many problems as SQL has, one of its great gifts is programmatic universal access.
  • Separates data from code. Data is forever, code changes all the time. That's one of the common reasons for preferring a database instead of an objectbase. This also dovetails with the language independence issue. Any application can access data from any language and any platform from now and into the future. That's a good quality to have.

    The smart money has been that cloud level scaling requires abandoning relational databases and distributed transactions. That's why we've seen an epidemic of key-value databases and eventually consistent semantics. It will be fascinating to see if Jim's combination of Cloud + Memory + MVCC can prove the insiders wrong.

    Are Cloud Based Memory Architectures the Next Big Thing?

    We've gone through a couple of different approaches to deploying Memory Based Architectures. So are they the next big thing?

    Adoption has been slow because it's new and different and that inertia takes a while to overcome. Historically tools haven't made it easy for early adopters to make the big switch, but that is changing with easier to deploy cloud based systems. And current architectures, with a lot of elbow grease, have generally been good enough.

    But we are seeing a wide convergence on caching as way to make slow disks perform. Truly enormous amounts of effort are going into adding cache and then trying to keep the database and applications all in-sync with cache as bottom up and top down driven changes flow through the system.

    After all that work it's a simple step to wonder why that extra layer is needed when the data could have just as well be kept in memory from the start. Now add the ease of cloud deployments and the ease of creating scalable, low latency applications that are still easy to program, manage, and deploy. Building multiple complicated layers of application code just to make the disk happy will make less and less sense over time.

    We are on the edge of two potent technological changes: Clouds and Memory Based Architectures. This evolution will rip open a chasm where new players can enter and prosper. Google is the master of disk. You can't beat them at a game they perfected. Disk based databases like SimpleDB and BigTable are complicated beasts, typical last gasp products of any aging technology before a change. The next era is the age of Memory and Cloud which will allow for new players to succeed. The tipping point is soon.

  • Amazon EC2 Running IBM

    Amazon Web Services上で提供されるIBMのソフトウェアサービスについての情報

    Amazon EC2 Running IBM

    Earlier this year I talked about our partnership with IBM and their commitment to the creation of licensing models that are a good match for dynamic cloud-computing environments. At that time we released a set of development AMIs (Amazon Machine Images), giving you the ability to create applications using IBM products such as DB2, WebSphere sMash, WebSphere Portal, Lotus Web Content Management, and Informix.

    The response to our announcement has been good; developers, integrators, and IT shops have all been asking us for information on pricing and for access to the actual AMIs. We've been working with IBM to iron out all of the details and I'm happy to be able to share them with you now!

    Starting today you now have development and production access to a number of IBM environments including:

    • Amazon EC2 running IBM DB2 Express - starting at $0.38 per hour.
    • Amazon EC2 running IBM DB2 Workgroup - starting at $1.31 per hour.
    • Amazon EC2 running IBM Informix Dynamic Server Express - starting at $0.38 per hour.
    • Amazon EC2 running IBM Informix Dynamic Server Workgroup - starting at $1.31 per hour.
    • Amazon EC2 running IBM WebSphere sMash - starting at $0.50 per hour.
    • Amazon EC2 running IBM Lotus Web Content Management - starting at $2.48 per hour.
    • Amazon EC2 running IBM WebSphere Portal Server and IBM Lotus Web Content Management Server - starting at $6.39 per hour.

    These prices include on-demand licenses for each product. The AMIs are available in the US and EU regions, but you currently can not use Amazon EC2 running IBM with Reserved Instances. However, if you already have licenses from IBM you can install and run the software yourself and pay the usual EC2 rate for On-Demand or Reserved Instances. You can, of course, use other EC2 features such as Elastic IP Addresses and Elastic Block Storage.

    You can find the IBM AMIs in the AWS Management Console's Community AMI List (search for "paid-ibm"), or you can search for "paid-ibm" in ElasticFox.

    Because products like the WebSphere Portal Server and IBM Lotus Web Content Management Server can now be accessed on an hourly basis, you can now think about deploying them in new ways. If you are running a big conference or other event, you can spin up an instance for the duration of the event and only pay a couple of hundred dollars. If you need to do more than one event at the same time, just spin up a second instance. This is all old-hat to true devotees of cloud computing, but I never tire of pointing it out!

    Each AMI includes a detailed Getting Started guide. For example, the guide for the WebSphere Portal Server and IBM Lotus Web Content Management Server is 30 pages long. The guide provides recommendations on instance sizes (Small and Large are fine for development; a 64-bit Large or Extra Large is required for production), security groups, and access via SSH And remote desktop (VNC). There's information about entering license credentials (needed if you bring your own), EBS configuration, and application configuration. The guide also details the entire process of bundling a customized version of the product for eventual reuse.

    Additional information on products and pricing is available on the IBM partner page.

    And there you have it. With this release, all of the major database products — Oracle, MySQL, DB2, Informix, and SQL Server — are available in production form on EC2.

     

    VMware unveils its cloud OS; Wants to be a bridge for the enterprise

    VMWareのPrivate Cloud 戦略である vSphereについての情報

    VMware on Tuesday will announce its cloud operating system—dubbed vSphere 4—with plans for general availability in the second quarter. 

    With the effort, VMware is attempting to bridge virtualized data centers—now known as "private clouds"—and growing cloud computing services from the likes of Amazon and others. However, this bridging process is a work in progress due to the lack of standards. VMware's big pitch is that vSphere can run your data center and allow you to bridge out when external resources are needed. 

    VMware's John Gilmartin, director of product marketing at the company, says the company is hoping to ease enterprises into cloud computing without redoing architecture. "There's a big gap between what most people talk about as cloud and what people are doing today in the enterprise," said Gilmartin. VMware's plan is to get cloud providers to use its operating system and then seamlessly hook up to enterprises using vSphere 4. 

    It's unclear what happens if a vSphere shop isn't hooking up to another VMware powered cloud. Gilmartin said the company is working behind the scenes on application swapping among clouds, but didn't have details or timelines for these standards. It is clear that VMware sees vSphere 4 as a way to thwart both Microsoft's cloud OS, Azure, and its virtualization effort, Hyper-V. 

    Gilmartin argued that Microsoft's approach with Azure requires too many architecture changes for enterprises. He also noted that vSphere will support more operating systems. 

    In the meantime, VMware has packed enough features in vSphere 4 to keep enterprises interested for their own IT as a service plans. 

    Among the key features:

    • A 30 percent increase in application consolidation ratios;
    • Up to 50 percent in storage savings by allowing virtual machines to only use storage as needed;
    • Up to 20 percent additional power and cooling savings;
    • vSphere 4 also scales better with the ability to pool 32 physical servers with up to 2048 processor cores, 1,280 virtual machines, 32 TB of RAM, 16 petabytes of storage and 8,000 network ports.  

    Here's the chart detailing vSphere 4 vs. VMware Infrastructure 3 (in the "current" column):

    One of the more interesting features of vSphere is a fault tolerance option. Data center managers can keep their most valuable apps running even if the underlying hardware fails. By clicking a box to protect a virtual machine, vSphere 4 creates a shadow copy of the application to take over in the event of a failure. There is a performance hit since you're allocating computing resources to the shadow application, but Gilmartin notes that only 20 percent to 30 percent of enterprise software would have to be fault tolerant. 

    VMware's price list for vSphere 4 looks a bit complicated to untrained eyes—notably mine—but here's the summary. 

    Google's cloud gets ready for the enterprise

    Google App EngineがやっとPython以外のAPIとしてJavaをサポート。

    本記事では他にも不足している機能について整理している。


    Last week's announcement of Java support for Google App Engine (GAE), along with a host of new features aim specifically at businesses, served to reconfirm the Internet giant's interest in providing enterprises with its evolving cloud computing capabilities. So what's new and what's missing in GAE for enterprises that are looking to try out the cloud?

    These additions move Google much closer to the enterprise space than it was previously, though there is still work to do.For its part, the enterprise software market has so far remained fairly resistant to Google's offerings, which range from search to SaaS products, at least compared to the uptake in software from established enterprise leaders such as Microsoft, IBM, Oracle, and SAP.

    But today's increasingly broad interest in cloud computing may provide Google with an ideal opening. That is, if they can successfully deliver their unique strengths in the technical and economic underpinnings of networked computing in a form businesses find compelling for cutting costs, becoming more agile, and transitioning successfully to the next generation of computing.

    The good news for Google: Of the big four enterprise firms mentioned above, only Microsoft currently has a credible cloud computing offering heading to the market with Azure, though IBM and Oracle are certain to follow shortly. Thus there is a clear opening for Google if it can offer businesses what they really need in the cloud before the leading enterprise software firms manage to arrive. It won't be easy; the network is Google's turf and it is clear that the platform wars have indeed returned, as I discussed a few weeks ago.

    Google App Engine gets ready for the enterprise

    The original GAE was primarily a consumer Web application-focused cloud computing offering at the outset and was concerned about performance and high scalability much more than it cared about a robust feature set. It took cloud computing minimalism to a new level, though again, that was also about making it run quickly. GAE also required that you adopt its choices in programming language (Python), database (proprietary datastore), and request/response application model. And while it's not giving these up, the latest additions promise to bring many of the capabilities and technologies that enterprises will require and open up Google's nascent cloud computing platform for a much broader range of uses. As we'll see, these additions move Google much closer to the enterprise space than it was previously, though there is still clearly work to do.

    Let's take a look at exactly what the new GAE offers from an enterprise perspective and then look at what is still missing for a truly complete enterprise offering.

    Google App Engine - Circa April 2009

    • Support for the Java JVM. You can now run Java 5 and 6 code on Google App Engine as long as it doesn't break the security sandbox on Google's servers. Given that most enterprises have standardized on either .NET or Java, this announcement alone is very big news since only Python was supported previously in GAE. While a good amount of enterprise code still won't run without changes (because it will violate the sandbox security constraints), this greatly reduces the barriers to adoption since code can usually be brought into compliance with GAE's requirements less expensively than rewriting it completely. Another key distinction is Google's decision to support Java byte-code directly instead of just being source-level compliant. This opens up a universe of possibilities including many now-popular Java platform capabilities such as dependency injection, aspect-oriented programming (AOP), and expression language runtimes. This also means just about any programming language capable of running within a JVM now works in GAE as well. Google has already tested GAE with Groovy, JavaScript, Python, Ruby, Scala, and Scheme, well-known languages that developers are very interested in at the moment. Because Java is one of the most widely used software platforms in the world, support at the JVM level allows GAE to take advantage of the nearly 15 years of rich history around the runtime and will let enterprises use a surprising amount of their software directly in Google's cloud
    • Access to resources inside enterprises. The new Secure Data Connector (SDC) in GAE provides a secure tunnel into organizations that want to use their data, Web services, and SOAs from within GAE, without moving the data itself out into the cloud. SDC requires Google Apps Premier Edition, which brings along some potential entanglements, but in return provides a fully encrypted connection between Google App Engine applications and enterprise data inside the firewall. SDC also provides declarative filters to prevent inadvertent exposure of business data as well as OAuth, which is becoming popular for enabling safe access via open standards to secure Web APIs, for providing secure access to internal SOA services with best practices. With SDC, GAE can directly and safely access a much broader wealth of enterprise data than was possible previously, without the challenges of uploading titanic enterprise datasets across the Internet into Google's data center as well as dealing with GAE's still somewhat limited datastore.
    • Database Import. Some types of application, however, particularly very high performance ones, will require enterprise data to be moved into Google's cloud. The new GAE database import tools allows businesses to bulk load their data off their premises and into GAE. This will allow enterprises to more easily and quickly migrate production datasets into GAE as needed. Note that only database import is offered for now, though Google promises to offer a way to bulk export data in the very near future.
    • Batch job support. GAE originally offering computing based on an exclusive request/response model, just like the Web itself (HTTP GET/POST, etc.) This makes the GAE computing platform operate only when an inbound request comes in form the network but is a limitation when background processing has to take place. Previously, businesses had to establish their own batch jobs external to GAE using their own facilities. With built-in Cron support, GAE now supports both request/response and background processing, which is required to to meet a robust set of enterprise application requirements since background processing is critical for tasks like backups, report generation, asynchronous processing, etc.

    Still missing capabilities from GAE

    These new additions to GAE are important and certainly very welcome for enterprises looking at Google's cloud. But they won't yet meet the requirements of numerous enterprises which have evolved many specific technical needs to meet their goals with business software. While I predict that this new version of GAE is much more likely to elicit trials from businesses evaluating their cloud computing options, here are some of the capabilities that Google should consider adding to GAE for a truly enterprise-class cloud computing platform:

    • Message queuing. Applications that handle large amounts of data or are heavily event driven need a way to store messages that can't be completely processed when they arrive. While cloud platforms are theoretically elastic enough to have enough horsepower to process all inbound messages no matter their number or size, the realities of physics (and perhaps pricing) dictate that some messages, and some types of applications that do heavy-duty processing, will fall behind. Amazon has had message queuing capabilities in their cloud for a while with Amazon SQS and GAE is well-advised to consider it.
    • Server-side push and real-time events. Many types of business applications cannot cost-effectively use polling to see if data has changed or an important event has occurred. While Google has increased the timeouts for server-side responses to 30 seconds, there is still no effective way to notify external systems quickly when key events inside GAE have taken place. While the Cron job will help surface the event information (so too can requests), there is no official method today to get the information out to GAE clients. Real-time event processing is important for call center applications, financial dashboards, medical systems, and anything else which requires rapid and deterministic event transmission of business data to network clients.
    • SQL database support. The built-in Datastore in GAE, which is reportedly based on BigTable, is not SQL and was never intended to be. While it's designed for petabyte data volumes, it has built in limitations to enable it to be distributed and extremely high performance. SQL databases, however, are the mainstay of enterprises today and many applications cannot be moved to Google's cloud with practical ease until some form of SQL databases is supported. Again, Amazon is ahead here with offering block storage for those that want it. Certainly using SQL databases will potentially reduce the performance and scalability of GAE-based apps which depend on bending the application model and developer habits to its unique database limitations (typically 1MB object sizes and 1000 rows at a time.)
    • Enterprise-friendly management and monitoring. Tivoli, Patrol, and other IT management tools are the mainstays of enterprise datacenters and businesses will want a unified managmenet experience with their cloud computing resources as well as their local IT resources. While GAE exposes that raw dashboard data in XML format, it leaves the integration job up to enterprises. While help does seem to be on the way from management vendors, Google itself is not addressing the issue, an oversight when Google has the chance to impress businesses with its understanding of their needs and the resources to meet them.

    'Private cloud' = just another buzzword for on-premise datacenter?

    MIcrosoft社のPrivate Cloud に対する取り組み。
    自社のPublic Cloud事業であるAzureとは異なる戦略を持っていることが明らかに。
     

    Microsoft's "official" description of the distinction between private and public clouds basically says as much. From a press release the company issued this morning:

    The private cloud: "By employing techniques like virtualization, automated management, and utility-billing models, IT managers can evolve the internal datacenter into a 'private cloud' that offers many of the performance, scalability, and cost-saving benefits associated with public clouds. Microsoft provides the foundation for private clouds with infrastructure solutions to match a range of customer sizes, needs and geographies.

    The public cloud: "Cloud computing is expanding the traditional web-hosting model to a point where enterprises are able to off-load commodity applications to third-party service providers (hosters) and, in the near future, the Microsoft Azure Services Platform. Using Microsoft infrastructure software and Web-based applications, the public cloud allows companies to move applications between private and public clouds."

    Microsoft recently got tripped up by the public cloud lingo when company execs gave off confusing mixed signals regarding whether or not Microsoft planned to make its Azure cloud operating system available to IT customers to use on-premise. In the end, the Softies admitted Azure was not something Microsoft planned to allow others to run in their own datacenters, but promised they'd make a solid private cloud platform, based on Windows Server, Hyper-V and other Microsoft wares, available to customers who were less enthusiastic about moving their data and apps to a Microsoft-hosted datacenter.

    Is there more Microsoft could and should do to make the concept of the "private cloud" more meaningful? One reader says there is:

    "It would take a helluva lotta development and testing to emulate Azure's automatic scale-out and scale-up, semi-automatic app deployment and other 'autonomic' Azure features to enable multi-tenant services. This is especially true with SQL Data Services (SDS) moving to a fully(?) relational model and needing some way to automate partitioning of SQL Server instances."

    For now, Microsoft is touting a handful of shipping and/or soon-to-be-shipping tools and services as fleshing out its private cloud, including:

    Update (April 29): In an April 28 blog posting, Microsoft Senior Director of Development Platform Management Steven Martin added some more "here now" and "coming soon" items to Microsoft's list of what if offers "private cloud" customers. In the here now category Martin included: Management tools like VMM, which allow users to "connect the compute power from your servers into a single, logical resource"; and provide automated provisioning of compute resources. On his coming soon list, Martin listed a number of Windows Server 2008 R2 features, like live-migration support for Hyper-V; larger VM support (for 32 and 64-bit VMs with up to 64GB of memory per VM); and the ability to boot from VHD and clustered shared volumes. Martin reiterated that the Windows Server and Azure teams are sharing code and knowledge and said Microsoft's ultimate goal is to make the Azure Services platform and an enterprise data center "technically speaking, largely indistinguishable."

    What's your take? Is "private cloud" just a euphemism for on-premise datacenter? Or could and should there be other products, licensing arrangements, and services available to users who want to act as their own hosting agents? What would Microsoft need to put into a "private cloud" solution to get you onboard?

    Under the Radar: Judging cloud storage startups

    Under The Radarコンファレンスで紹介されたさまざまな新興企業の中でオンラインストレージ事業を展開している企業が目立つ。  それぞれ独自のビジネスモデルを提供しており、興味深い。

     

    Axcient:
    企業内に設置するアプライアンスを介して、オフサイトにあるデータセンタに企業データのバックアップを行う。  中小規模の企業向けの事業で、短時間の間にデータの回復が可能な事が特長。

    Ctera:
    企業内のコンピュータにソフトウェアを一切インストールすることなくデータバックアップサービスを提供する事業。  CloudPlugと呼ばれるデバイスを提供しており、このデバイスを利用すると、企業内のネットワーク上にネットワークストレージ(NAS)サービスが提供され、同時にそのデータがCloud上でバックアップされる。 

    Engyte:
    ソフトウェアベースのソリューションで、企業内のハードディスクに加え、自社運営のサーバを提供し、データバックアップ、ファイル共有サービスを提供する。

    Sonian:
    規模の大きい企業向けのサービスで、データバックアプに加え、メールなどの企業データのアーカイブを行い、eDiscovery(大量のメールデータをインデックス化し、高速な検索が行えるようにする)等のサービスを提供し、Sarbanes Oxley等のコンプライアンス要求に対するソリューションとして位置づけられる。

     

    EMC等、大手のストレージ事業会社と今後どのように差別化していくか興味深いところ。

     


    I'll be a judge Friday on the data management panel at the Under the Radar conference, an American Idol-ish bake-off for cloud computing startups. My assignment: Do a little homework on the companies I'll be judging. 

    The companies—Axcient, Ctera, Engyte and Sonian—have a common theme: Online cloud storage backup for small and medium sized businesses. 

    Where they differ is their approaches. For instance, Axcient touts that it doesn't need software. Axcient is a storage appliance that backs up data on its hardware and in the cloud. The target is small and mid-sized businesses. 

    Ctera has a similar theme with one key twist: The company expects to be bundled as a service sold by telecom and broadband providers. That's a helluva a channel. Ctera has a neat little device called the CloudPlug that can turn any external USB drive into a network file server with online backup. 

    Both of those aforementioned companies clearly see appliances and the cloud being a big selling point. 

    Egnyte has a similar plan, but leverages the hard drive that customers already have. Engyte is a software based service the turns a drive into a cloud connected file server. Egnyte is picking the local cloud that bridges online and on-premise storage. 

    The big question for Axcient, Ctera and Egnyte is how do they plan to compete with larger players, notably EMC, which is pursuing a similar SMB market by connecting Mozy and Iomega together. 

    And then there's Sonian, which targets larger businesses—mid-sized and up—looking for e-discovery help. I still need to bone up on Sonian a bit, but it already gets props for picking the hottest market. E-discovery is a big deal for compliance-burdened companies looking to archive email and other regulatory requirements (see TechRepublic special report). 

    Sonian has gone completely the enterprise 2.0 route and has built its business on Amazon's cloud architecture. The challenge for Sonian is the same as the others: How do you compete with larger players and convince customers that you'll be around?

    In any case, it should be an interesting bunch of presentations. Should you have any questions for these folks drop them in the talkback below.

    Cloudkick: Cloud provider market maker?

    Cloudkickという会社が登場、Rackspace、Amazon EC2、Microsoft各社の提供するCloud Computingサービスの間を自由にVM環境を移行できるソフトウェアを開発した事を発表、Under the Radar Conferenceというコンファレンスで発表。 

    それぞれのCloud Computing環境の価格を常にモニタリングし、一番価格の安いサイトを見つけ、プロビジョニング、VMの移行を行うサービスをて依拠するのがビジネスモデル。 

    ビジネスモデルを説明したプレゼンテーションもあり。


    Cloudkick, a startup that delivers cloud server management software, on Friday rolled out a feature that allows customers to hop between providers—Rackspace, Amazon EC2, Microsoft and others—based on price. 

    At its launch March 16 Cloudkick's service primarily managed Amazon Web Services accounts. In a demonstration at the Under the Radar conference Cloudkick highlighted a feature that moved a virtual machine from EC2 to Rackspace in a few minutes. 

    Cloudkick's software is now designed to offer a dashboard so customers can migrate to any cloud provider. "We want people to roll their own Google" was the tagline from CEO Alex Polvi, one of the company's founders. Polvi's pitch revolved around being the first demonstration of cloud interoperability. 

    But the key question, which came from Rackspace president Lew Moorman, was this: Does Cloudkick want to be a server provisioning company or a market maker?

    The answer: Cloudkick's Polvi said the company is pursuing both. 

    And here's the conundrum. I see software from Cloudkick that could be immensely valuable yet ultimately hard to defend. If you can provision cloud providers on the fly you can see how the next generation of system admins would be into it. However, what Cloudkick demonstrated is likely to be replicated by larger companies. 

    That leaves using Cloudkick as a cloud provider marketplace middleman. If Cloudkick can navigate providers, instantly get the best rates and then provision accordingly the return on investment becomes obvious. Double bonus if it's all automated in a way where some algorithm finds the best prices and navigates cloud providers without user intervention.

    It's way too early for Cloudkick to veer one way or the other—it is 40 days old—but the future is probably more eBay-ish cloud marketplace middleman than provisioning servers through a browser. Relative to the other presentations at the cloud management panel at Under the Radar—enStratus and Tap In Systems were much more enterprise focused—Cloudkick is raw, but the possibilities are interesting.

    Here's the presentation: