Better Dev https://betterdev.blog Coding is an art. Be an artist. Wed, 13 Oct 2021 12:21:23 +0000 en-US hourly 1 https://wordpress.org/?v=5.8.2 https://betterdev.blog/app/uploads/2020/09/untitled-2-150x150.png Better Dev https://betterdev.blog 32 32 Headless CMS with Gatsby on AWS for $0.00 per month https://betterdev.blog/gatsby-website-with-headless-cms-on-aws/ https://betterdev.blog/gatsby-website-with-headless-cms-on-aws/#comments Wed, 13 Oct 2021 12:21:22 +0000 https://betterdev.blog/?p=2579 Can you have a website with a CMS on AWS and not pay just for its existence? I looked at Amazon Lightsail, headless WordPress, and Webiny CMS but found none of those suitable. So I choose Prismic – a SaaS headless CMS, and Gatsby to create the site. Yes, I […]]]> https://betterdev.blog/gatsby-website-with-headless-cms-on-aws/feed/ 2 Choosing between SQS, SNS, Kinesis, and EventBridge https://betterdev.blog/aws-messaging-services-sqs-sns-kinesis-eventbridge/ https://betterdev.blog/aws-messaging-services-sqs-sns-kinesis-eventbridge/#comments Thu, 05 Aug 2021 12:21:23 +0000 https://betterdev.blog/?p=2487 AWS can overwhelm with the number of services. Especially if multiple services seem to do a very similar job. Let’s look at the cloud-native AWS messaging services – the SQS, SNS, Kinesis, and EventBridge. What are the differences and when to use which one? This post is an extension to […]]]> https://betterdev.blog/aws-messaging-services-sqs-sns-kinesis-eventbridge/feed/ 3 Things I Found Interesting #3 https://betterdev.blog/tifi-3/ https://betterdev.blog/tifi-3/#respond Tue, 13 Jul 2021 13:12:32 +0000 https://betterdev.blog/?p=2471 Here we are again, with selected content from all over the internet about Tools, Tech, Cloud, Programming, Work, and a single article I couldn’t categorize. Probably because I’m still in shock after reading it. As always, if you don’t want to miss the next issue, I recommend subscribing here ūüĎá […]]]> https://betterdev.blog/tifi-3/feed/ 0 Don’t help others (immediately) https://betterdev.blog/dont-help-others-immediately/ https://betterdev.blog/dont-help-others-immediately/#comments Thu, 01 Jul 2021 13:22:05 +0000 https://betterdev.blog/?p=2423 I know my coworkers and teammates are reading this, and probably my boss as well. But let’s risk it. If you only read the title and few first sentences to came to conclusions, here you go: as a senior developer, when asked for help, don’t rush to answer. But if you […]]]> https://betterdev.blog/dont-help-others-immediately/feed/ 3 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/ 2 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