Lessons Learnt from Script Automation

Here are some take away lessons (I learnt the hard way) when automating scripts/programs: Plan to Fail Elegantly Things may flow perfectly for now, but when something does mess up later on (e.g. a third party service becoming unavailable), the code should be able to respond and/or fail gracefully. The effort required to do this […]

LPI Certification Level 1 Exam 101

Out of pure interest and curiosity, I have decided to pursue the LPIC-1: System Administrator certification by the Linux Professional Institute (LPI). In this post, I would like to share more about the exam, and the resources I have used to prepare. Disclaimer: This is NOT an advertisement or endorsement of the certification program or materials. […]

Benchmarking an API’s Response Time

In order to provide response time estimates for an API service, I used two tools, namely Postman (a third party application), and cURL. The latter was used because it gave a more accurate time estimate. Target API Server REST API server powered by Node.js and the Express Web Application Framework Runs on free public tier […]

Finding Postgres pg_hba.conf File

The pg_hba.conf file is the PostgreSQL Client Authentication Configuration File, aka the Host Based Authentication File. Depending on your distro/system, it may be installed in different locations. One easy way to find it would be to issue the following command from the psql command line: psql > SHOW hba_file; This command will show you the […]