Murtaza Bagwala

Murtaza Bagwala

A passionate full stack software engineer having 7 years of experience in building scalable enterprise systems. I have worked predominantly with the JVM and Javascript ecosystem but currently exploring Rails. For me, software engineering is all about solving problems in the most optimal way. I am an avid practitioner of clean code practices and love to read about System Design and Architectures. When I am not coding I love to play playstation, read anything about aviation or go out for a long drive and of-course I am foodie by heart.
authorImg Murtaza Bagwala

Rails Preserves TTL on Increment/Decrement

Rails now preserve expires_in while incrementing or decrementing an integer value in MemoryStore to be more consistent with MemCachedStore and RedisCacheStore
authorImg Murtaza Bagwala

Rails 7.1 datetime_field include_seconds

Rails now allows to omit seconds part in the input field by adding the include_seconds option to datetime_field
authorImg Murtaza Bagwala

Expo React Native CI/CD with GitHub

In this blog, we will see how to set up a CI/CD workflow using Github Actions for the Expo React Native application.
authorImg Murtaza Bagwala

Rails Beginless Range in Validations

Rails now adds support to include the beginless range in active record inclusivity/exclusivity validators.
authorImg Murtaza Bagwala

Rails Skips Contradictory Relation Queries

Rails now avoids making a query to the database if the calculation contains a contradictory relation
authorImg Murtaza Bagwala

Avoiding Overuse of Rails Engines

In this post, we will see how the overuse of engines could lead to some serious issues.
authorImg Murtaza Bagwala

Rails Multi-DB reading_request? Override

Rails moves reading_request? method from the DatabaseSelector to the DatabaseSelector::Resolver class so that we can override the method in custom Resolver.
authorImg Murtaza Bagwala

Rails Max Records in Async Destroy

Rails adds an active record configuration to limit the maximum number of dependent records destroyed in a single background job.
authorImg Murtaza Bagwala

Rails Aliased Attributes in insert_all

Rails is continuously adding convenience to make active record queries more flexible.
authorImg Murtaza Bagwala

Kubernetes Rollout and Rollback

As people and businesses increasingly depend on SaaS products, DevOps have started on creating reliable infrastructure.
authorImg Murtaza Bagwala

Ruby 3.1 Variable Width Allocation

In this blog let us understand how Variable Width Allocation works in Ruby
authorImg Murtaza Bagwala

How Does Ruby Manage Memory Allocation

Each programming language has its version of memory management so, let us look into how Ruby does this under the hood.
authorImg Murtaza Bagwala

Rails 7 Deferrable Foreign Keys

By default, foreign key constraints in PostgreSQL are checked after each statement.
authorImg Murtaza Bagwala

Rails 7 with_lock Transaction Args

With Rails 7 we can pass transaction arguments like isolation, joinable, etc directly to with_lock
authorImg Murtaza Bagwala

React State management - Part 2

Learn some of the inherent ways of managing state without using any external state management tool.
authorImg Murtaza Bagwala

Amazon Personalize Recommendation System

A Step-By-Step Guide to Building a Recommender System using Amazon Personalize with its Similar-Items Recipe
authorImg Murtaza Bagwala

Rails 7 adds caching? and uncachable! helper

Starting with Rails 7, we can add caching? helper to check whether the current code path is being cached and uncacheable! helper to avoid fragment caching.
authorImg Murtaza Bagwala

8 Ways to Handle State in React Apps

Sometimes, it is better not to use any external state management tool unless our application is that complex.
authorImg Murtaza Bagwala

Normalizing Redux State for Performance

Normalize Redux state by flattening nested data into separate entities with IDs, enabling simpler reducers and faster lookups.