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 Jonathan Allen on Mar 09, 2011
While Mono usually strives to follow the C# and Common Language Infrastructure specifications, it does occasionally go beyond them. While some features such as SIMD support are backwards-compatible with .NET, runtime supported continuations are exclusive to Mono.
A continuation is like a thread frozen in time, a snap-shot if you will. It includes stack frames and local variables, but unlike a true thread it is not executable. A simple form of continuation can be seen in C#’s yield operator. But yield is just a compiler trick that creates a state machine; it isn’t a general purpose continuation. For that you need almost need support from the runtime.
The result of Tomi Valkeinen's research into runtime support is the Mono.Tasklet API. This allows for general purpose continuations that actually capture the stack. The stack can be restored as often as necessary. It should be noted that this form of continuation can capture references but not the heap allocated objects those references point to. On top of this he built his microthreading library. This consists of lightweight threads that use continuations and cooperative multitasking to share a single physical thread.
Earlier we said “almost” because there is another way to build a general purpose continuation. Jim Purbrick of LindenLabs built a continuation system that uses CIL rewriting instead of runtime suppport. Compared to Valkeinen's continuations, this is a rather heavy weight way to build continuations. But it does have the ability to serialize not only the stack but also objects on the heap. This allows the continuation to be restored on another server, which is very important to Second Life’s scalable architecture. Long term LindenLabs would like to combine the two techniques, using Mono Tasklets for fast continuations and their technique when continuations need to be serialized.
RDBMS to NoSQL: Managing the Transition
Automating Error Reporting for .NET Applications
Troubleshoot Java/.NET performance while getting full visibility in production
Visual Studio vNext: ALM features for Agile Planning, Team Collaboration
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