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 Kostis Kapelonis on Jan 31, 2012
VMware has recently released the first stable version of SQLFire , a distributed SQL database geared towards high availability and horizontal scalability.
On the surface SQLFire offers most features expected by a traditional relational database system including support for SQL queries and a JDBC driver (support for .NET is also provided). It can be deployed in embedded mode (inside a Java process) or with a client-server architecture. In theory SQLFire could be a drop-in replacement for any Java application that uses SQL for storage since the JDBC driver, the query engine and the network server for SQLFire are integrated directly from Apache Derby.
SQLFire however offers several additional features that are beyond the paradigm of a single monolithic database server. The central idea is that while the SQL language can cope with modern applications and is familiar to developers who like to use their existing tools, the centralized model where all data exists in a single location is not always scalable. Therefore SQLFire combines the traditional SQL interface with GemFire technology that is based on horizontal clustering. SQLFire is deployed on cluster groups with multiple hosts that can contain:
All nodes have single-hop access to other nodes. The exact cluster architecture is completely abstracted for the application code that connects via JDBC in SQLFire. Behind the scenes SQLFire offers the following:
SQLFire introduces custom DDL extensions that activate these extra features. Here is an example where the Airlines table is replicated to the cluster nodes and the Flights table is partitioned according to a specific column:
CREATE TABLE AIRLINES ( AIRLINE CHAR(2) NOT NULL CONSTRAINT AIRLINES_PK PRIMARY KEY, AIRLINE_FULL VARCHAR(24), ECONOMY_SEATS INTEGER, BUSINESS_SEATS INTEGER, FIRSTCLASS_SEATS INTEGER ) REPLICATE; CREATE TABLE FLIGHTS ( FLIGHT_ID CHAR(6) NOT NULL , ORIG_AIRPORT CHAR(3), DEPART_TIME TIME, DEST_AIRPORT CHAR(3), ARRIVE_TIME TIME, MILES INTEGER, AIRCRAFT VARCHAR(6), CONSTRAINT FLIGHTS_PK PRIMARY KEY ( FLIGHT_ID) ) PARTITION BY COLUMN (FLIGHT_ID);
Note that both of these tables are memory only by default, since the PERSISTENT keyword offered by SQLFire was not used. There are other extensions for table co-location, server grouping, parallel procedures e.t.c. By selecting a combination of SQLFire features it can be deployed:
The last scenario is interesting because it attempts to split the data of an RDBMS into two distinct categories. Data that is historical and does not need quick access since it is used for reference only purposes (this can be accessed by the RDBMS), and data that is transactional or holds current state (e.g. client sessions) which is accessed via SQLFire as an intermediate cache.
For more information see the reference guide and the blog. While many of its components are open-source, SQLFire itself is proprietary offered as a commercial solution. A trial version is available for evaluation purposes.
Troubleshoot Java/.NET performance while getting full visibility in production
Banking Case Study: Scaling with Low Latency using NewSQL
App Server Evolution: REST, Cloud, and DevOps Support in Resin 4
Good Relationships: The Spring Data Neo4J Guide Book
Introducing SQLFire: a memory-optimized, high performance SQL database
VMware vFabric SQLFire - Test drive the data management system with memory speed, horizontal scalability and a familiar SQL interface
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