Copy the csv file to a local folderOpen pgAdmin4 and select the table where you want to import the data intoRight click and select Import/Export Select the Import option and click on three dots for file name Click on the icon highlighted in red which is to drag file Drag the file that you want … Continue reading Import data from local to postgreSQL and pgAdmin4 running on Docker
create a directory mkdir postgres-docker && cd postgres-dockercreate a file and name it as docker-compose.yml Add the following content in the docker-compose,yml file version: "3.8" services: db: image: postgres container_name: local_pgdb restart: always ports: - "54320:5432" environment: POSTGRES_USER: user POSTGRES_PASSWORD: admin volumes: - local_pgdata:/var/lib/postgresql/data pgadmin: image: dpage/pgadmin4 container_name: pgadmin4_container restart: always ports: - "5050:80" environment: … Continue reading Run PostgreSQL and pgAdmin in docker for local development using docker compose
Just found this calendar utility which can be used in mac. To see the current month's calendar, type "cal To see the current month's calendar along with week type "ncal" To see the current month's calendar along with week number type "ncal -w" To see the 3 month's calendar(previous, current and next month) along with … Continue reading Calendar Terminal Utility for Mac.
Infrastructure as code(IaC) is a very important element in an organizations cloud adoption journey. It helps to bring consistency, standard, speed and most importantly leverage drive cost optimization on cloud. Infrastructure is the underlying computing machinery example physical server, database, network , storage etc which is required for a software to run. In the absence … Continue reading Infrastructure as Code (IaC) & Pulumi
In control systems engineering, observability is defined as a measurement of how well a system's internal states could be inferred from its external outputs. Meaning a system is considered observable if we can determine the behavior of the entire system in a finite time period from the system output. A system whose output doesn't generate … Continue reading What is Observability in IT ?
Chaos Engineering is the discipline of experimenting on a system in order to build confidence in the system’s capability to withstand turbulent conditions in production. As we build more and more distributed systems by leveraging microservices and cloud platforms, we create a lot of moving parts and potential points of failure which makes these systems … Continue reading Chaos Engineering & Chaos Monkey for Spring Boot Applications
Service Virtualization mimics or simulates behaviors of components that are unavailable or difficult to access while testingMicroservices applications are generally composed of multiple services. During the testing phase when the dependent services are not available, service virtualization technique allows to mimic the unavailable service and continue the tests even when the actual service is unavailable.During … Continue reading Service virtualization with spring boot microservices
Feature toggle is a design pattern used to hide, enable or disable a feature during runtime. For example, during the deployment, a developer can disable the feature in the code which is released to production and enable it later in the next iterations when its 100% ready or enable the feature for testing to limited … Continue reading Spring Boot Toggle Feature using Togglz
Protocol buffers is a method of serializing data , like XML and JSON.The format is created by google as its language-neutral, platform-neutral, extensible mechanism for serializing structured data to transmit it over the wire or to store itProtocol Buffers, which is sometimes referred as Protobuf is not only a message format but also a set of … Continue reading Protocol Buffers & A Spring Boot Example
Concurrency and Parallelism are often used with respect to multithreaded programs and both have different meanings in this context. Concurrency is about processing more than one task at same time but not necessarily simultaneously, It is applied to reduce the response time of the system by using the single processing unit. In a concurrent application, … Continue reading Concurrency & Parallelism in Java