Better Dev https://betterdev.blog Coding is an art. Be an artist. Mon, 31 May 2021 15:48:13 +0000 en-US hourly 1 https://wordpress.org/?v=5.7.2 https://betterdev.blog/app/uploads/2020/09/untitled-2-150x150.png Better Dev https://betterdev.blog 32 32 AWS Lambda performance optimization https://betterdev.blog/aws-lambda-performance-optimization/ https://betterdev.blog/aws-lambda-performance-optimization/#comments Mon, 26 Apr 2021 07:16:54 +0000 https://betterdev.blog/?p=2313 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 […]]]> https://betterdev.blog/aws-lambda-performance-optimization/feed/ 4 Things I Found Interesting #2 https://betterdev.blog/tifi-2/ https://betterdev.blog/tifi-2/#respond Wed, 14 Apr 2021 20:20:44 +0000 https://betterdev.blog/?p=2119 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 […]]]> https://betterdev.blog/tifi-2/feed/ 0 AWS JavaScript SDK v3 – usage, problems, testing https://betterdev.blog/aws-javascript-sdk-v3-usage-problems-testing/ https://betterdev.blog/aws-javascript-sdk-v3-usage-problems-testing/#respond Mon, 22 Mar 2021 13:39:16 +0000 https://betterdev.blog/?p=2241 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 […]]]> https://betterdev.blog/aws-javascript-sdk-v3-usage-problems-testing/feed/ 0 AWS Lambda logging best practices https://betterdev.blog/aws-lambda-logging-best-practices/ https://betterdev.blog/aws-lambda-logging-best-practices/#comments Mon, 01 Mar 2021 14:01:06 +0000 https://betterdev.blog/?p=2085 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 […]]]> https://betterdev.blog/aws-lambda-logging-best-practices/feed/ 1 Things I Found Interesting #1 https://betterdev.blog/tifi-1/ https://betterdev.blog/tifi-1/#respond Fri, 12 Feb 2021 13:10:07 +0000 https://betterdev.blog/?p=2041 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 […]]]> https://betterdev.blog/tifi-1/feed/ 0 Pin exact dependency versions https://betterdev.blog/pin-exact-dependency-versions/ https://betterdev.blog/pin-exact-dependency-versions/#comments Thu, 04 Feb 2021 14:54:54 +0000 https://betterdev.blog/?p=1781 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 […]]]> https://betterdev.blog/pin-exact-dependency-versions/feed/ 8 Three ways to create Amazon Athena tables https://betterdev.blog/creating-athena-tables/ https://betterdev.blog/creating-athena-tables/#respond Tue, 12 Jan 2021 14:35:03 +0000 https://betterdev.blog/?p=1612 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 […]]]> https://betterdev.blog/creating-athena-tables/feed/ 0 Minimal safe Bash script template https://betterdev.blog/minimal-safe-bash-script-template/ https://betterdev.blog/minimal-safe-bash-script-template/#comments Mon, 14 Dec 2020 13:15:57 +0000 https://betterdev.blog/?p=1482 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 […]]]> https://betterdev.blog/minimal-safe-bash-script-template/feed/ 55 Auto-generated website environment parameters https://betterdev.blog/auto-generated-website-environment-parameters/ https://betterdev.blog/auto-generated-website-environment-parameters/#respond Mon, 16 Nov 2020 15:33:07 +0000 https://betterdev.blog/?p=1327 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 […]]]> https://betterdev.blog/auto-generated-website-environment-parameters/feed/ 0 My AWS toolbox – tools, plugins and applications https://betterdev.blog/my-aws-toolbox/ https://betterdev.blog/my-aws-toolbox/#respond Thu, 22 Oct 2020 22:05:41 +0000 https://betterdev.blog/?p=1166 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 […]]]> https://betterdev.blog/my-aws-toolbox/feed/ 0