Timeouts and Retries

TL;DR In this post, I will walk through how to use timeouts and retries with Celery. The Code Refer this gist Code Walkthrough This part will cover some of the functions and their results Func: timeout_test This simple function shows how a timeout exception can be caught. Note that the timeout has been defined in... Continue Reading →

Playing with Chords – Celery

TL;DR In this post, I will walk through how to use "chord" structure in Celery. The Basics Chords is a complex workflow that is present in Celery. It is a combination of two things - Groups - Groups are a way of combining several independent tasks so that they run in parallel. In a previous post,... Continue Reading →

Celery – Groups, Loops & Parallelism

TL;DR In the post, I am exploring a few questions I had with Celery and parallelism on it using groups and implementing the same feature using blocking for loop and non-blocking for loop. I decided to do these experiments based on certain optimization challenges on an application I am working on. The Question I have... Continue Reading →

To Optimize or Not To Optimize

TL;DR Oft times, coding is trying to find a balance between multiple parameters. Some good factors we measure code upon are - Performance Efficiency Speed Correctness Occasionally, we do miss out on factors such as - Readability Ease of Troubleshooting In this post, I will walk you through an interesting case I encountered while developing... Continue Reading →

When “Private” Ceases to Exist

Data Collection, Data Profiling and Issues With the advent of the 21st century, connected devices are becoming the norm. Each hacking incident draws eyeballs on the security of the device and/or the services we use. Google, Facebook, Apple and most other companies are collecting data about us for targeted marketing and advertising, ways to seek new... Continue Reading →

Theremin and Clara Rockmore

I played this Google Doodle today. The instrument in the doodle is called a Theremin and it was put in there to commemorate the 105th birthday of Clara Rockmore, a Lithuanian Virtuosa performer of the Theremin. Why does this instrument appeal to me? What Theremin dreamed up was an electronic instrument with two primary circuits: a pitch... Continue Reading →

Powered by WordPress.com.

Up ↑