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 ReadingChoosing 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 ReadingThis 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 ReadingA 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 ReadingDatabase 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 ReadingIn 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 ReadingI 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 ReadingLet’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 ReadingThis 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 ReadingThis 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 ReadingIn 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 ReadingI’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 ReadingIt 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 ReadingWhen 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 ReadingIt’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 ReadingConsistent 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 ReadingHave 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