Building a Robust Error Handling System for AWS AppSync APIs with Appsync JS Resolvers

Introduction If you’ve built REST APIs with AWS API Gateway, you know how nice it is to return structured error responses with proper HTTP status codes, error types, and detailed context. Then you switch to GraphQL with AppSync, and suddenly your beautiful error handling becomes… generic. { "errors": [{ "message": "Error" }] } That’s it. No error types. No structured context. Just a string. This doesn’t have to be the case....

December 23, 2025 · 12 min · Vishnu Prasad

Optimizing Amazon CloudWatch Insights Queries With Field Level Indexes for Efficient Log Analytics

Introduction to Amazon CloudWatch Logs Insights Amazon CloudWatch Logs Insights is a powerful tool designed to help developers, DevOps engineers, and cloud administrators extract actionable intelligence from their log data. Whether you’re troubleshooting application errors, monitoring system health, or auditing security events, CloudWatch Logs Insights enables you to query logs in real time using a purpose-built query language. Query Methods: CloudWatch Logs Insights uses a SQL-like syntax with support for commands like:...

February 14, 2025 · 4 min · Vishnu Prasad

How to Run AWS Lambda every 10 sec

Recently I had a requirement at work to run a cron job every 10 sec or 30 sec to poll some third-party API to pull some data. There will be more than 40 of these cron parallelly to fetch different sets of data from different APIs. The first obvious option would come to a serverless first mindset which I have is to run these on lambda functions. The only native way in AWS to run the Lambda function is to have an Event bridge trigger with Cron expressions....

February 18, 2023 · 3 min · Vishnu Prasad

Understanding The OSI Networking Model

The OSI Model defines a networking framework to implement protocols in seven layers. OSI stands for open system interconnection. It was introduced in 1984. Designed to be an abstract model and teaching tool, the OSI Model remains a useful tool for learning about today’s network technologies such as Ethernet and protocols like IP. This model is divided into 7 Layers. The data communication on the OSI model starts at the Application layer of the sender side and goes up to the physical layer....

August 14, 2022 · 5 min · Vishnu Prasad

How to set up AWS RDS Proxy with IAM Authentication enabled to Aurora Serverless V2 Cluster

What is RDS Proxy Many applications, including those built on modern serverless architectures, can have many open connections to the database server and may open and close database connections at a high rate, exhausting database memory and compute resources. Amazon RDS Proxy allows applications to pool and share connections established with the database, improving database efficiency and application scalability. With RDS Proxy, failover times for Aurora and RDS databases are reduced by up to 66%, and database credentials, authentication, and access can be managed through integration with AWS Secrets Manager and AWS Identity and Access Management (IAM)....

August 12, 2022 · 6 min · Vishnu Prasad