Cloud Foundry: Design and Architecture
Derek Collison discusses the goals, the design premises and patterns employed in creating the architecture of Cloud Foundry, VMware’s open source PaaS, unveiling internal architectural details.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Mirko Stocker on Jul 27, 2009
Memcached, a caching system originally developed for LiveJournal.com has been adopted by many sites to lower the load on their database servers.
The recently released version 1.4 introduced some new features, like the new binary protocol. Why a new protocol? Memcached developer Dustin Sallings says:
The most obvious thing for protocol implementors is that it’s now really easy to parse the protocol. After reading a fixed-size header, a low-level packet processor can figure out where to dispatch the input and split it into all of its major components (key, value, opaque, cas, extras, etc...).
That's great for the (small) number of developers who write servers and clients, but what about random people out there who just want to use memcached? Semantic enhancements in the new protocol allow us to build some really cool stuff.
One example of this is Trond Norbye's replication feature, "where you store only a few of the items on multiple servers".
Because applications talk to Memcached via a standardized and open protocol, implementations of the Memcached back-end can be interchanged. A commercial alternative is WebCache from Gear6:
Gear6 Web Cache is an advanced, protocol-compliant Memcached solution that enables web site developers and operators to scale web services and applications.
InfoQ had a chat with Bill Takacs, Gear6's director of product management to learn more about WebCache, how it works and what benefits it provides:
Gear6 provides a number of enhancements to standard memcached. These include:
- Memory utilization: Removal of the 1MB object size limit, finer grained block based memory allocation, and a cost based eviction algorithm.
- Density: We use a combination of DRAM and Flash memory to lower the cost of the cache and increase the density of our solution. Currently our largest cache is 384GB per 1U.
- High Availability: We deploy our solution with two 1U units in a cluster environment. The cluster enables two modes:
- Continuous service availability: The cluster architecture enables fail-over capabilities. This ensures that cache services are not interrupted when failures occur.
- Continuous data availability: The cluster replicates data within the cluster. This replication ensures that all cache data is always available in an alternate location, and continues to be served to users without interruption or delay. Spikes in database and application load are avoided.
- In addition the Gear6 Web Cache requires no client-side code modification and our cluster architecture enables disruption-free software upgrades.
- Reporting and Management: Gear6 Web Cache is fully instrumented and equipped with intuitive interfaces that let you see what’s happening at multiple levels within your Memcached tier. We’ve made enhancements that automatically and continuously scan both DRAM and flash memory for failures or failure indicators. Users can drill-down on any level of their cache tier and get reports on hot keys, clients and instances.
So how do you know whether WebCache will solve your performance problems?
Our typical process includes on-site evaluations. Prospects are encouraged to evaluate the solution in their environment
See the Memcache tag for more information on Memcached from InfoQ.
RDBMS to NoSQL: Managing the Transition
App Server Evolution: REST, Cloud, and DevOps Support in Resin 4
Why NoSQL? A Primer on the Rise of NoSQL
Introduction to WebSphere Liberty Profile
The WebSphere Liberty Profile for Developers: An Introduction
Derek Collison discusses the goals, the design premises and patterns employed in creating the architecture of Cloud Foundry, VMware’s open source PaaS, unveiling internal architectural details.
Andrew Watson talks about the work of the OMG, where CORBA is alive and well (hint: in your car), UML and UML Profiles vs. custom Modeling languages, DDS and other middleware, and much more.
Sohil Shah discusses creating iPhone and Android enterprise mobile applications based on cloud services using the open source platform OpenMobster.
Paul Sanford presents the transformations supported by data throughout its life cycle, and how that can be better done with Splunk, an engine for monitoring and analyzing machine-generated data.
A common “best practice” for unit tests is to only write a one assertion in each test. I intend to question this advice by showing that multiple assertions per test are both necessary and beneficial.
John Rauser presents the architectural and technological evolution of Amazon retail websites starting with 1994 and ending with adopting Amazon Web Services.
Michael Stal discusses system architecture quality, how to avoid architectural erosion, how to deal with refactoring, and design principles for architecture evolution.
Every developer has had to integrate with another system, API or component. Tis article provides strategies to handle the change and for he separating system boundaries.
No comments
Watch Thread Reply