Kavya GoyalMulti-threading in Ruby 🧵A thread is a light weight execution of a program. A multithreaded program has more than one thread of execution. Code inside a thread is…Mar 4Mar 4
Kavya GoyalThe story of `.bytesize` vs `.length` in Ruby strings 🔗Today we will walk through the difference between .bytesizeand .length in Ruby on strings. The functions do exactly what they are named as…Nov 9, 2024Nov 9, 2024
Kavya GoyalFault Tolerant, Idempotent & Retriable Code (Part-01 : When Errors Attack 🫥)Today I would like to talk about one of the crucial things in programming. How to make sure that your code is fault tolerant, idempotent…Aug 17, 2024Aug 17, 2024
Kavya GoyalRetry with Fixed and Incremental delays, Exponential Backoff 📈 (Part-02: When we Retry 🪜)In this article, we will walk through understanding why and where we would need to retry our code, how to do that and understanding…Aug 19, 2024Aug 19, 2024
Kavya GoyalSystem for Scheduling a Retry (Part-03: Cron based Retry ⚙️)In the previous article, we have seen the pros and cons of using fixed delays, exponential backoffs and what strengths they have to offer.Nov 9, 2024Nov 9, 2024
Kavya GoyalVector Embeddings, Search Similarity & Sentence-TransformersToday, we will work with understand similarity with vector search on an n-dimensional space and what does it mean to use…Oct 9, 2024Oct 9, 2024
Kavya GoyalBenchmarking (Time and Memory Based) in Ruby 💎Today, we will go over some of the tools and ruby gems 💎 that we can use for benchmarking and profiling.Aug 17, 2024Aug 17, 2024