Category Archives: Architecture

Microservices Architecture

Context You are developing a server-side enterprise application. It must support a variety of different clients including desktop browsers, mobile browsers and native mobile applications. The application might also expose an API for 3rd parties to consume. It might also integrate with other applications via either web services or a message broker. The application handles… Read More »

Micro-service architecture: API Gateway

Context Let’s imagine you building an online store that uses the Microservices pattern and that you are implementing the product details page. You need to develop multiple versions of the product details user interface: HTML5/JavaScript-based UI for desktop and mobile browsers – HTML is generated by a server-side web application Native Android and iPhone clients… Read More »

Kubernetes – Docker orchestration system

An interesting tool that allows you to run containers on different cloud providers. Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of “labels” and “pods”, it groups… Read More »

REST Is Not Only About APIs

Most articles on REST seem to focus only on APIs. This view misses several key benefits of a RESTful system.  The true potential of REST is to build systems as scalable, distributed, resilient, and composable as the Web. Yes, APIs play a role in this but by themselves are not enough. In this two-part post,… Read More »

Infrastructure optimization use case

Here’s the setup. A smallish website was having problems. Users were unhappy. In the balance was not only the product, but the company. The site was built using Angular, Symfony2, Postgres, Redis, Centos, 8 HP blades with 128 G RAM each, two racks, a very large HP 3par storage array, a 1Gbps uplink, and VMWare.… Read More »

New open source tools for measuring cloud performance

For those of you developing applications on the cloud, performance is often a critical concern. It turns out that it’s surprisingly difficult to evaluate cloud offerings beyond just looking at price or feature charts. When we looked at how our own users could measure the relative performance of Google Cloud Platform, it was clear they… Read More »

As A DBA Expert, Which Database Would You Choose?

This is a guest post by Jenny Richards, a professional database administrator who is currently employed at Remote DBA.   In the world of databases, there is no single silver bullet fitting for every gun. How you select the database to use is very dependent on every other factor of your work: Who are you… Read More »

13 security principles

1) Secure the weakest link — Spaf (that is, highly respected security expert Gene Spafford of Purdue University) teaches this principle with a funny story.   Imagine you are charged with transporting some gold securely from one homeless guy who lives in a park bench (we’ll call him Linux) to another homeless person who lives across… Read More »

Service architecture

Design Considerations The service exposes coarse-grained operations. Entities used by the service are extensible and composed from standard elements. Your design does not assume to know who the client is. Your design assumes the possibility of invalid requests. Your design separates functional business concerns from infrastructure operational concerns. SOA Services The services are application-scoped and… Read More »