Measuring object size with getsizeof

One of my colleague was running a batch to insert records in AWS firehose stream and getting service unavailable exception continuously. Probably, batch was inserting more data than allowed per second. So We thought of adding a log statement which prints the size of records which are sent to firehose.…

AWS lambda error handling with DynamoDB stream processing

If you are using DynamoDB in your application, chances are that you are also utilizing DynamoDB  stream to process any changes in the records. Here I'll just explain how you can handle the error while processing the DynamoDB stream with minimum/no code. I'm using cloud formation template to deploy…

How to update athena table with glue

I was working on an application where data was stored in s3 bucket and athena was used to query this data. Since data was frequently updated (on an average, every 30 min or so), which wipes the data in s3 folder and writes new set of data,  I had to…

this...

If you're holding back on writing that blog post because it's "too basic" or "too simple", stop holding back. I've been googling "basic" python questions for hours and it's your blog posts that have been saving…