• Balanced Brackets

    Here is the problem statement. Print YES if the brackets in a given string are balanced, else print NO. Here is my O(N) submission to the challenge.

    Read on →

  • Multitenant MySQL Setup

    It is much easier to make API/code multi-tenant, but it is a different story for databases. This problem exists at pretty much all SaaS based solutions, intending to provide data and service level isolation for many users/customers while trying to keep the code + database scalable. However, here are a few strategies that can be employed, based on the pros/cons and the freedom/constraints driving the solution.

    Read on →

  • 2016 AWS Associate Level Certification Exam Notes

    These are my notes on EC2 and VPC for the AWS Certified Associate Level exams. I attempted the AWS Certified Solution Architect - Associate and AWS Certified Developer - Associate and scored 78% and 90% respectively.

    It took me about a week (3-4 hours a day) to prepare for both, after being working professionally with AWS for over 3 years.

    Read on →

  • Decimal to Binary

    A Decimal to Binary conversion algorithm implementation.

    Read on →

  • Securing your APIs with OAuth, OpenID, and OpenID Connect

    As products and companies move towards IoT model, users and machines alike need to interact with various APIs. Securing these APIs in a connected world can be a challenge faced by many. Fortunately, there are open standards addressing even the most complex of use cases - OAuth, OpenID and OpenID Connect happen to be widely adopted and have a growing support across many API and Identity Providers. In this session I’ll talk about these standards, and walk through common use cases/flows from an API Provider as well as consumer’s side. We will explore how these standards come together to not only secure the APIs, but also manage identity.

    Read on →