Secure your GraphQL API with some advanced strategies
GQL gives super power to clients. But with great power come great responsibilities 🕷. Here we will discuss some of the ways we can use to secure our server....
Managing dependency on external modules in a seamless way
Introduction Have you ever worked with a project that depends on external dependency packages throughout your application code base? External packages can change at any time, which can cause issues and make refactoring difficult. To avoid this problem, we can use the Adapter Design Pattern to wrap our external dependency packages with a wrapper component that maps their interfaces back to our internal ones. In this article, we will talk about the Adapter Pattern, and how it...
Improving cost and efficiency by using AWS Lambda’s cache
Introduction In this blog, we're going to discuss how global variables inside AWS Lambda work and how you can use them in your serverless applications to increase performance and cache values. Let’s first start with the definition of cache. According to AWS official documentation, “In computing, a cache is a high-speed data storage layer that stores a subset of data, typically transient in nature, so that future requests for that data are served up faster than is...
An approach for working with legacy API and new API
Introduction When we first start working with a third-party API, the version we started with may become obsolete after a few years since the legacy API may no longer be supported by the original creators or contains security problems when we need to migrate to newer versions. There could be a variety of other reasons to upgrade, such as the expense of maintaining the legacy API being greater and inefficient than the latest version, as well...
Fun with Factory Design Pattern and Python
What is the design pattern/ Software design pattern? When pattern word comes to us what do we think? When software engineers try to solve a problem, always try to find a pattern that they already used before or try to create a new one. Because it is very important for future uses and others can understand it well. That’s why design pattern comes and there are some patterns that are approved worldwide. These are very much logical...
Python-ing it better
Where I work; we are obsessed with python, we use it everyday and to us python is an art. Python does not force rules unto you. But there’s always a better way of doing it; to us, a pythonic way. This article will try to show off some cool tricks and good practices in python that you can use to level up in the art of python. Using built in functions Most of us start our coding...