K8ssandra

Folks working with Kubernetes would be able to relate to the word “K8ssandra” very quickly. Something related to Kubernetes (more fondly called K8s). Yes, that is right.

Apache Cassandra is a preferred database for many large-scale applications. Kubernetes has been providing orchestration tooling and infra for several of these applications. Combining these two under a single umbrella helps enterprises to meet their requirements easily.

What is K8ssandra?

It is a cloud-native distribution of Apache Cassandra that runs on Kubernetes. Pronounced as “kate”+”Sandra”, this is an open source project licensed under Apache Software License v2. This project provides a plethora of tools to provide data APIs and automated operations for Cassandra. This includes tools for monitoring, services for site reliability, and backup/restore tools.

Cassandra is a distributed database management system. It is a free and open source project that provides a scalable, highly available, fault-tolerant, column-oriented database to support large amounts of data across many commodity servers.

Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available. (Source)

Creating, deploying managing various components of Kubernetes structure such pods, deployments and ConfigMaps could be time intensive and complex. As your architecture grows, this becomes all the more difficult. However, K8ssandra does the heavylifting for you. And as a infrastructure engineer or even a developer, it is always better if you have a reliable tool who does that job for you.

Components

K8ssandra components
Image source: https://docs-v2.k8ssandra.io/components/

It provides a set of components which are glued together as part of the installation process itself. The following components are packaged and installed:

  • Apache Cassandra
  • Stargate
  • Cass Operator
  • Reaper for Cassandra
  • Medusa for backup/restoration
  • Metrics collector with Prometheus integration and visuals via Grafana

Resources:

AngularJS

HTML i.e. HyperText Markup Language was designed for static websites. When it was devised, we didn’t visualize the internet the way it is today. And hence HTML carries a lot of shortcomings for current web application development where displayed information is dynamic in nature. To overcome this shortcoming quite a few frameworks were developed. AngularJS is such a framework for dynamic web applications.

Continue reading “AngularJS”

AMP – Accelerated Mobile Pages

In last 5 to 10 years, mobile penetration has grown by about 25% across the globe. This was also accompanied by increased usage of mobile internet resulting in people spending more time on their smartphones. Since it is easy for mobile users to get distracted, it became absolutely important for websites to be really fast. This gave rise to a framework called AMP – Accelerated Mobile Pages.

Continue reading “AMP – Accelerated Mobile Pages”

Hadoop

Big Data – the buzzword making rounds for last few years! Big Data refers to data sets so voluminous and complex that traditional data processing applications become inadequate. The data needs special provisioning for storage, analysis, sharing, and querying etc. This is where Apache Hadoop, Apache Spark come to your rescue.

Continue reading “Hadoop”

Laravel

A few days back I wrote about Python-based web application framework called Django. Let’s talk about another framework for web app development framework which is built in PHP. It is called as Laravel and has become popular in PHP community for various reasons.

What is Laravel?

Laravel is a PHP based framework which is build using Symphony2 components. Being a framework it provides services and libraries to handle web requests, database etc. This implements MVC architecture (Model-View-Controller) and has 3 different components meant for MVC.

Eloquent provides Object Relational Mapping (ORM) component, which interacts with an underlying database such as MySQL, PostgreSQL or MSSQL.

Blade is a component that provides the view in this framework. It is the templating engine that Laravel uses, supports inheritance and support extensible control structures

Controllers provide a way to group request handling logic and is used in conjunction with Routes to handle the HTTP requests.

Laravel - MVC
Laravel – MVC architecture

Why is Laravel becoming popular?

  • Routing system
  • Intuitive Templating Engine – Blade
  • Open source
  • Built-in support for authentication
  • Uses Inversion of Control (IoC) design pattern to remove dependencies on third-party components, yet maintaining the functionality and flexibility for the developers
  • Built-in support for unit testing.
  • Built-in command line tool – Artisan
  • Security
  • Support database migration to facilitate incremental development.
  • Interface to various Queues such as Amazon SQS, IronMQ, Redis Queues
  • Abstraction layer for filesystem – supports Amazon S3, FTP/SFTP, Local or Dropbox!

Laravel has shown consistent releases at regular intervals. It has great community support and hence has gained a lot of traction and attention from PHP community in last 2-3 years. You can see complete timeline on Wikipedia page

Related Links

Related Keywords

Web app Framework, PHP, MVC, Software Architecture, CodeIgnitor, Symfony, Yii