Blog

Blog Post Image
Vue Async Components with vue-router for faster page loading

Vue Js is a progressive Javascript framework which have gained huge popularity in recent times for the right reasons, at least thats what I think. I would like to share in this article how to effectively use vue-router for having lightning fast page loads.

Read More
Blog Post Image
Why choose VueJs?

As part of building a scalable single page web application, we explored couple of different frontend frameworks by keeping few expectations in mind like lightweight, performance, robust, faster development, quick learning curve etc. At a high level, we chose the following frameworks: EmberJS, Angular, ReactJS and VueJS based on the popularity. In which, Angular and Ember JS are having relatively a larger community support and highly used in web applications. We ruled out Angular due to its breaking changes release after releases. Eventually we chose to compare ReactJS and VueJS due to their less learning curve and their virtual dom support.

Read More
Blog Post Image
Global Interpreter Lock (GIL) and concurrent execution in Python

When there is a need to run huge number of tasks on a day to day basis, as a python programmer I would choose Celery to run my tasks in commodity servers. Celery could use Redis or RabbitMQ. We can primarily scale the number of tasks that Celery can process by clustering Redis or RabbitMQ.

Read More
Blog Post Image
10 tips for building “Purely” horizontal scalable Architectures

To scale horizontally (or scale out/in) means to add more nodes to (or remove nodes from) a system, such as adding a new node or a computer to a distributed software application.

Read More
Blog Post Image
Getting started with Flutter

Flutter is an open source beta framework by Google for mobile UI to build high-quality native (super fast) interfaces for both iOS and Android. Dart is used as a programming language inside Flutter. A bit of caution needs to be exercised as it is still in Beta and we don’t know what can change later on given the history of Google.

Read More
Blog Post Image
Notes: Read CSV with encoding ISO-8859–1 in Ruby

I was struggling to read a CSV file and load it in PostgreSQL using ruby.Simply, the following code block should work.

Read More
Blog Post Image
Add Free Security Certificate (Https) for your Nginx applications on Ubuntu

In a typical HTTP connection, all the header and other sensitive information are transferred as a ‘plain text’ and that can be read by anyone. One simple example I could cite is an online fund transactions which uses sensitive information like credit card. Which you definitely do not want to do over a non-secure HTTP line.

Read More
Blog Post Image
Elasticsearch: Scale Vertically up/down

One of the major advantages with Elasticsearch is, its out of the box support for scaling up or down - both horizontally and vertically. This is about Vertical scaling. As you should know already, Vertical scaling means you are not going to add more hardware, but just increase the computing power of the existing hardware, may it be CPU, RAM or Storage.

Read More
Blog Post Image
Handling ever-loading pages via Selenium Webdriver

One of the features (or lack of) in Selenium webdriver is that the navigate method only returns when all the content in the page has completed loading. There are times where this could not be very useful. For example, everything that you expected in the page has already loaded, however there was this one Javascript which you do not need which takes at least 50 seconds to load.

Read More
Blog Post Image
Notes: Exporting data through pgcli

We at Francium love to use lean database clients to connect to databases. We enjoy using pgcli. It is a python based, open source postgres client for those willing to use lean and simple but powerful tool.

Read More
Blog Post Image
Object Pool Design Pattern - When and How to Use one?

Object Pooling is one of the widely used design patterns by software developers. One of the easiest examples I could cite is the Database Connection Pooling. I would like to quickly demonstrate a real use case where we made use of it. Object Pool Pattern is extremely useful when cost of object creation is very high.

Read More
Blog Post Image
Serverless Architecture and Web Scraping: A Cost study

One of the most common things that is done these days is to collect information about anything and everything present in the public domain, kind of unstructured data and decipher/decode patterns to get some valuable information. There are many sources to get such information, but websites for this purpose are the most popular. One can write a simple scraper that could iteratively go through the pages within a predefined depth and get back all the content displayed which could then be used for doing various sort of analytics.

Read More