Better Dev Coding is an art. Be an artist. Mon, 26 Apr 2021 07:17:59 +0000 en-US hourly 1 Better Dev 32 32 AWS Lambda performance optimization Mon, 26 Apr 2021 07:16:54 +0000 There are two reasons to optimize AWS Lambda functions performance. First is money – you pay for the Lambda execution duration. The quicker you do the job, the less you pay. The second is latency – the quicker you do the job, the shorter your client waits for the result. It’s a known fact that the […]]]> 4 Things I Found Interesting #2 Wed, 14 Apr 2021 20:20:44 +0000 Two months after the previous edition, I gathered enough interesting resources to share them. In this edition, you will find content about HTTP, WebDev, Versioning, Tech, and ProblemSolving. As always, I recommend subscribing to the newsletter to not miss the next issue 👇 Also, as previously, because it makes everything on […]]]> 0 AWS JavaScript SDK v3 – usage, problems, testing Mon, 22 Mar 2021 13:39:16 +0000 The new version of AWS SDK for JavaScript / TypeScript / Node.js came with a few significant improvements. But does “General Availability” mean “ready for the production”? How to use it? And how to unit test our code using it? Let’s take a look at it. As with every major […]]]> 0 AWS Lambda logging best practices Mon, 01 Mar 2021 14:01:06 +0000 Logging in AWS Lambda functions is simple. You just print the message, and it’s sent to the CloudWatch Logs. And everything is fine until you get a surprisingly big bill for the CloudWatch usage, or you need to actually debug some live system. Here are my tips for logging in […]]]> 1 Things I Found Interesting #1 Fri, 12 Feb 2021 13:10:07 +0000 Welcome to the first issue of Things I Found Interesting – an irregular series of links to, well, interesting content. Below are eleven articles and resources on various software-related topics, which I stumbled upon in the last several weeks. The next issue will come in some time when I gather […]]]> 0 Pin exact dependency versions Thu, 04 Feb 2021 14:54:54 +0000 Buckle up, for some of you this may be controversial, but maybe for some others – obvious. This is how to prevent a problem causing your application to out of the sudden stop behaving correctly, or, even more funny, stop behaving correctly only on one developer’s computer. We can solve […]]]> 0 Three ways to create Amazon Athena tables Tue, 12 Jan 2021 14:35:03 +0000 Here I show three ways to create Amazon Athena tables. More importantly, I show when to use which one (and when don’t) depending on the case, with comparison and tips, and a sample data flow architecture implementation. Also, I have a short rant over redundant AWS Glue features. All in […]]]> 0 Minimal safe Bash script template Mon, 14 Dec 2020 13:15:57 +0000 Bash scripts. Almost anyone needs to write one sooner or later. Almost no one says “yeah, I love writing them”. And that’s why almost everyone is putting low attention while writing them. I won’t try to make you a Bash expert (since I’m not a one either), but I will […]]]> 55 Auto-generated website environment parameters Mon, 16 Nov 2020 15:33:07 +0000 There are multiple articles on how to host a static website or Single Page Application (SPA) on AWS. But they rarely go into the topic of setting up the environment variables for the frontend application. Let’s look beyond the part where most tutorials end – with the website deployed, how […]]]> 0 My AWS toolbox – tools, plugins and applications Thu, 22 Oct 2020 22:05:41 +0000 Developers, like all specialists, discover and collect their favorite tools over time. Having a good, proven set of tools makes the work easier and more pleasant. We can focus on getting the job done. Sometimes eliminating minor inconveniences or improving a small element of everyday activity makes the greatest impact […]]]> 0