In our team, we often use downstream services to fetch some data. Most of these services control call rate though limiting Throughput Per Second (TPS) for callers.
We had an allowed TPS of 1000 for one of our downstream services, but we started getting throttling exceptions. The oncall did some…
This is more of an appreciative post for starship, an amazingly cool and customizable prompt for any shell. And the reason why it is so amazing is because even by default it has too many cool features while being super fast.
Just to show how it looks by default for…
A while back I wrote a post on
So This time around, I didn’t wanted to make the same mistake, which brings us back to this post.
Let’s start with a simple exercise for people familiar with
dependency injection. …
I was working on a project, and I wrote some code which I expected to work fine. The snippet was like
But to my surprise, I got a
Medium Priority Warnings from
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE: Nullcheck of value previously dereferenced
Basically it started complaining that I have non null check…
At some point or the other, we all read about importance of decoupling components while writing code. The coupling doesn’t just exists in low level code, but one can also observer it at architecture levels. With the exploding popularity of micro services, and the lack of knowledge around building them…
I was recently trying to perform batch inference on sagemaker using its spark-sdk. The benefit of doing it is that it allows to perform inference directly on spark data frame, so we can combine inference with other transformation task in the same job.