Why Temporal - A Microservice Orchestrator Platform

Posted on January 05, 2022 in Temporal • Tagged with microservice, fault-tolerance, high-availability, Temporal

Why Temporal - A Microservice Orchestrator Platform

Temporal Tagline - Taglines for Temporal were “fault oblivious code — it does not know failure” and “stateful workflow engine.”

In the world of microservices, every customer interaction often requires coordination across many services. However, as is often the case, a solution to one problem can …


Continue reading

CORS with POSTMAN however "No 'Access-Control-Allow-Origin' from a browser

Posted on September 12, 2021 in Postman , CORS , JavaScript • Tagged with Postman, CORS, Javascript

CORS with POSTMAN compared to Browser - "No 'Access-Control-Allow-Origin' from a browser

One of the common questions is Why browser throwing 'Access-Control-Allow-Origin' header , however no issues with Postman Desktop tool

CORS Error: The request is blocked because of the Cross-Origin Resource Sharing (CORS) policy.
Error: Browser does not support cross-origin requests …

Continue reading

NRQL- New Relics query language Quick Reference Guide

Posted on August 02, 2021 in Observability • Tagged with NewRelic, NRQL

NewRelic NRQL Quick Reference Guide

Select results in the given time of the hours SELECT hourof(timestamp) FROM Transaction WHERE your_where_cluase and hourof(timestamp) in ('01:00','02:00','03:00','04:00','05:00','06:00','07:00','08:00') SINCE this week

Select results in the given time …


Continue reading

How to install NodeJS on Amazon Linux Worspace

Posted on July 25, 2021 in Worspace • Tagged with AWS, Worksapce, Install, NodeJS

How to install NodeJS on Amazon Linux Workspace

Configure Yum repo

sudo yum install -y gcc-c++ make 
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - 

Install

sudo yum install -y nodejs 

Check Version

node -v

Pelican Static Site Continous Delivery to AWS S3 using github actions

Posted on July 11, 2021 in Performance • Tagged with WebSite, S3, Pelican

Pelican Static Site Continous Delivery to AWS S3 using github actions

Usecase : If you alredy have a Pelican Markdown based static generator as a platform for your static site and is hosted in AWS S3 and you dont wanted to manage any of the below things except creating the content …


Continue reading

Host a Static Site using Pelican , Amzon S3 for less than 1$

Posted on July 07, 2021 in WebSite • Tagged with Pelican, Reference, Github Actions

Host a Static Site using Pelican , Amzon S3 for less than a $1*

This article was basis for creating my personal site SilverDreamRacer.me static site. The only cost for me was - Amazon Route 53 Hosted Zones : 0.5$

*Ofcourse there is domain cost , I have got my domain for …


Continue reading

Install Pelican and configure static site in Amazon S3

Posted on July 05, 2021 in WebSite • Tagged with Pelican, Reference, Cheat Sheet

Create Virtual Environment for Pelican

python3 -m venv ~/virtualenvs/pelican
cd ~/virtualenvs/pelican/
source bin/activate

install Pelican

python3 -m pip install pelican

Validate Pelican installation

pelican --help

Install Pelican Markdown related plugins

python -m pip install "pelican[markdown]"

Pelican Validation

pelican --help

Check installed Pelican Themes

pelican-themes -l

#### Install …


Continue reading

Generate Bulk XML files for Load testing using JMeter

Posted on July 04, 2021 in Performance • Tagged with Jmeter, Performance, Loadtesting

Generate Bulk XML files for Load testing

UseCase : One of the very common use cases while performing loading testing an backend applications /services that rely on XML's as input is to generate 1000's of XMLs with minor differences and feed in to the application in order to gather the metrics …


Continue reading

Splunk Query Reference guide

Posted on June 21, 2021 in Splunk • Tagged with Splunk, Reference, Cheat Sheet

Simple Search with various AND index=index_name sourcetype=source_type host=host_nam source=source

Count of search criteria "LifecycleException" per day index=index_name sourcetype=exception_source_typs host=host_name LifecycleException | bucket _time span=day |stats count by _time

Count of search criteria "LifecycleException" by app index=index_name sourcetype=exception_source_typs host=host_name LifecycleException | stats …


Continue reading

Install Chrome on Amazon Linux2 WorkSpaces

Posted on July 03, 2020 in aws • Tagged with AWS, Workspace, Chrome, Linux

Install Chrome on Amazon Linux2 WorkSpaces

I recently started playing with Amazon workspace as my personal development environment and choose Standard with Amazon Linux 2 as my AMI.

Below quick steps to setup Chrome

Note : Amazon Linux 2 seems to be based on Centos RHEL Fedora based on the /etc …


Continue reading