[ ] Tag

Backend Developer

A database with no way in: connecting a serverless app to a private RDS with no public access
A database with no way in: connecting a serverless app to a private RDS with no public access

Private means no route, not just a closed door When a client's security requirements say the database may not be reachable from the internet, the interesting work isn't securing the database, it's reaching it. We were building a serverless application: a Next.js front end rendered on AWS Amplify, with its data in a Postgres database on RDS. The requirement was that the database have no public endpoint at all. Those two facts don't obviously fit together, because the part of our stack that ne…

The same result twice: Debugging an infinite scroll that duplicated, skipped, and died
The same result twice: Debugging an infinite scroll that duplicated, skipped, and died

Three sentences, three bugs The bug report was three sentences long and, as it turned out, described three different bugs. Users on a filterable result list were occasionally seeing the same entry twice as they scrolled. Support had also noticed the total count didn't always match what you could actually scroll through. And once in a while, scrolling simply stopped loading anything, no spinner, no error, no network request, until the page was refreshed. None of it threw. Nothing appeared i…

Deploying a Next.js App to AWS Elastic Beanstalk
Deploying a Next.js App to AWS Elastic Beanstalk

Why Elastic Beanstalk for a Next.js app Elastic Beanstalk is one of the more pragmatic ways to run a server-rendered Next.js app on AWS. It provisions EC2 instances behind an Application Load Balancer, handles scaling and health checks, and still leaves room to drop in custom nginx config, ALB rules, and CloudWatch monitoring through `.ebextensions` and `.platform`, without having to hand-build all of that from scratch. This isn't the only way to run Next.js on AWS, and it's worth saying th…

Off the Edge: How AWS costs were cut by ~63% by moving off serverless
Off the Edge: How AWS costs were cut by ~63% by moving off serverless

Understanding why serverless stopped paying off Serverless is an easy sell at the start of a project. No servers to patch, automatic scaling, and pricing that's billed per request instead of per hour. But as one of our client's Next.js applications grew, that same pricing model quietly turned into its biggest cost driver. Moving the project off serverless cut AWS costs by roughly 63% — with the same traffic and the same codebase. Recognizing when a serverless architecture stops fitting a…

From 912 Second Timeouts to Sub-Second Pages: A Web Performance Case Study
From 912 Second Timeouts to Sub-Second Pages: A Web Performance Case Study

The symptom A content platform, a directory-style site with thousands of dynamically filtered listing pages, was showing serious performance problems in a routine site audit. A full crawl of roughly 6,000 pages, combined with PageSpeed Insights (PSI) API data, turned up two things that looked unrelated at first glance: - Server response times were bad, and occasionally catastrophic. Median time-to-first-byte (TTFB) sat around 0.7 seconds, with over 1,500 pages taking longer than a s…

Maximizing Web Application Security on AWS with WAF
Maximizing Web Application Security on AWS with WAF

Web Application Development: Best Practices for Creating Effective and Efficient Solutions Web applications have become an integral part of our daily existence, influencing everything from social media platforms to online marketplaces. The development of a web application requires significant effort and time, and it is crucial to adhere to best practices to ensure the application's effectiveness and efficiency. In this article, we will discuss the best practices for developing web appl…

A Technical Overview of Web Applications
A Technical Overview of Web Applications

Web applications, or "web apps," are software programs that are accessed over the internet through a web browser. They are designed to be run on a web server and can be accessed by any device that has an internet connection, including smartphones, tablets, and laptops. Web apps are made with a variety of programming languages and frameworks, such as HTML, CSS, JavaScript, and different web development frameworks like Ruby on Rails, Django, and AngularJS. These programming languages and framewor…

Software Development Facts – Part 1
Software Development Facts – Part 1

Check out the first part of our collection of the most eye-opening software development facts. 1. Reading computer code does not engage the areas of the brain that understand language. According to this research, “a distributed network called the multiple demand network” is activated, which is similarly activated for more difficult cognitive tasks like mathematics or crossword puzzles. While reading computer code activates the mu…

Top Programming Mistakes
Top Programming Mistakes

We came up with a list of mistakes we think developers make through their careers. Check it out and let us know if you can relate to any of them, or if you have any more to add. 1️⃣ Failure to properly document the Specifications or NOT documenting at all because “the code is its own documentation” We previously talked about the things that developers love to hate and documentation is one of them. If you believe that you or someone else can deduce what an app can accomplish by reverse-engi…