07 May 2021
Currently Govt has open sourced covid vaccine availability API’s in India as given here, Vaccine slots are limited and difficult to know when those slots gets opened. Here is simple bot created to monitor the vaccine slots and notify interested users when those slots are available.
#!/usr/bin/env python3
import json,urllib3,datetime,time,logging,telegram,configparser
More … 21 Dec 2020
Cron utility in Linux has been helpful to schedule tasks to run at a scheduled time. A few of the disadvantages of cron are
- If Instance/server is not available/down at the cron schedule, cron doesn’t run those tasks until the next event is triggered
- If the cron task need to run other tasks after running the main task at the scheduled time, there are only hacks to create this dependency
- If the cron task needs to run within a given time interval to avoid running at the same time
- If a cron task needs to run after an event, such as 3 minutes after the system restarted. Cron doesn’t support this functionality
- To check the status of the last cron task to see if it ran/failed with logs
More … 01 Apr 2020
http endpoints running on a small instances which needs to be optimized for peformance. can be done using 2 ways
More … 20 Feb 2020
S3 public websites have limitation to access only using http and not https, this can be addressed using cloudfront(http/https) as frontend of website and S3 public website as backend(http). However both frontend and backend can be accessed separately and can be considered as duplicates.
More … 15 Feb 2020
While developing and deploying Function as a service(Faas) applications leveraging AWS Lambda ,API Gateways etc. Serverless frameworks promised to keep development and deployments simple and enabling public cloud of choice.
More …