Rust And Go Web API Performance Testing — Rust Baseline

It is a common belief that RUST APIs are the most performant APIs because of its language semantics and manual memory management. It’s often compared to C++ in terms of performance. An aspect that makes me curious is also how does RUST compare with Golang

Continue Reading
Golang vs Rust for Web API Development Projects - A quick comparison

Choosing a web framework is an extremely tough decision. This article highlights a few design choices for High-Performance web APIs projects and contrasts both Golang (go) and Rust

Continue Reading
Understanding Columnar vs Row Storage Formats for Data Analytics and Reporting

This post aims to provide a brief overview of two major data storage formats used by these database systems — Row Oriented and Column Oriented Storage.On the surface, every dataset can be represented as a Table. But the underlying storage may be entirely different

Continue Reading
Choose the right database for your Application - Considerations & my Opinionated view for startups and more.

Database decisions and issues are faced by every single application developer at some point in their careers. Databases form a critical component of practically every back-end system.

Continue Reading
REST APIs & Custom Authentication in RUST— Writing Extractors in Axum

A common requirement while writing REST Apis is that we may need to extract User information from the Request Context. In a majority of the use cases, it can as simple as extracting the User Authorization Header.

Continue Reading
Working with iterators in Rust — A brief Introduction

In this short tutorial, we’ll look at Iterators in Rust, and how to work with for loops using iterators — both mutably and immutably. Iterators, like the name implies, allow us to loop through list…

Continue Reading
Exploring the Box Wrapper (Smart Pointers ) in Rust — In depth with examples!

I was struggling with Box, Ref, RefCell, Rc, Arc for a while when I decided that I need to implement each one of them to really understand them. To do this, I played with Box type on both primitive…

Continue Reading
Full-Text Search in PostgreSQL — Creating the Right Index for the best Performance

Let’s look at full-text search indexing in PostgreSQL. Text search is a common task for a lot of application developers and startups in the initial stages. But one may not have the infra/capacity to…

Continue Reading
How to Write a REST API Using Rust and Axum Framework with Postgres connection pooling

This article will demonstrate writing a REST API from scratch using Rust and Axum framework. I’ll show you how to set up a production-ready Rust Workspace, plan the API and add request validations…

Continue Reading
Error Handling in Rest APIs using the Axum Framework and Custom Error Model

This article discusses error handling strategies while working with the Axum framework and writing REST APIs in Rust. While Axum is a very well written framework and has nice paradigms, it is our…

Continue Reading
Cell<T> and RefCell<T> — Wrapper Types in Rust In Depth with Examples

In the last post, we saw that Box Pointer as a unique smart pointer that can be used to initialize values on the heap or of unknown size. In this post, we’ll take a look at Cell and RefCellwrapper…

Continue Reading
A Golang and GraphQL Project Starter to build High Performance, Cloud Native production APIs — fast!

I’ve been working with writing Graphql APIs for a while now — primarily writing Backend Services using Golang and PostgreSQL . Very recently, I also had the need to create a new project that exposed…

Continue Reading
Smart Pointers in Rust — RC<T> type explained (Reference Counted )

It was very daunting for me initially to see Rc , Arc , being used in almost every open source repository I explored. I started reading books and tried to understand the underlying concepts behind…

Continue Reading
All about Error Handling In Rust — With Examples, Define custom errors and Boxed errors with Box<dyn Error>

When I started learning Rust lang, the first roadblock was it’s memory management and ownership rules. The next one that really got to me was error handling. As developers, at some point in writing a…

Continue Reading
Understanding Rust Ownership Model by Example - Rules that are foundation to Rust’s ownership Model

It’s important to understand that Rust Doesn’t have a garbage collector like other high level programming languages. It also doesn’t have manual memory management like C / C++ for most of the parts. _It is therefore a preferred choice when we desire performance as well as memory safety.Below are the rules when working with Language objects and variables.

Continue Reading
Consistent Hashing Simply Explained — Problems solved in a distributed system

Consistent hashing forms the core of many distributed systems. It is a hashing technique that solves the problem of data distribution and locality with minimal impact to the system.

Continue Reading
Our food choices may be degrading our health and fitness sooner than we think!

Have you ever eaten out in a restaurant and wondered why are you gaining weight? Do you feel heavy and not so good after having a nice

Continue Reading