Author: Parthvi Vala

April 12, 2018

A single service is basically a piece of application. Services are simply “containers in production”. For a video sharing website, we might have 3 different services running to make the application work a service for storing data in the database a service for video transcoding in the background after user uploads something and a service […]

Continue Reading
April 10, 2018

BUILD Build a docker image with the help of Dockerfile using – docker build -t image_name directory -t tag is used tag the container image. It’s followed by a desired container image name. If we do not provide this tag, the image will not have any name. directory is the directory whose contents are to […]

Continue Reading
April 7, 2018

Why Kubernetes? Containers are very lightweight and are intended to fail at some point. This intended failure is considered as a feature for some reason. How do we manage these containers which are bound to fail? How do we work our way through them? How do we make sure the application doesn’t break when a […]

Continue Reading
April 6, 2018

Docker is one of the pioneering, largest and user friendly container providers. Docker uses a client-server architecture. The command line will act as a client, all our requests will be sent from the command line. A server may or may not be present locally. A daemon, running on the server will accept all the requests […]

Continue Reading
April 5, 2018

In the traditional approach, applications are deployed on an OS with a set of services(database server, HTTP server) running. Applications can also be deployed on a virtual machine or a physical host that can provide such environment. But any update in the libraries on host OS may affect the multiple applications running on the OS. […]

Continue Reading
March 25, 2018

Messaging Protocols are simply protocols defined to allow communication between different devices(can be anything, radio, TV, fridge, computer,etc). IP is one such protocol, which defines rules for communication between devices(here computers) over the Internet. IP has 2 types: UDP(User Datagram Protocol) and TCP(Transmission Control Protocol). UDP is  faster, but less reliable. Since the communication is […]

Continue Reading
March 22, 2018

Iterables are something that you can iterate on or something out of which you can create an iterator object. Any iterable object can be converted to an iterator with the help of iter() method. Iterable can be finite like list, tuple, string, dictionary, set, etc and also be an infinite flow of data like open […]

Continue Reading
March 21, 2018

Instead of returning a single value, a function can generate an entire sequence of results if it uses the yield statement. A generator is almost exactly the same as a plain function and it can be used in exactly the same way as an iterator(something that we can iterate on). There is one definite sign […]

Continue Reading