heroku

7 Microservice Best Practices for Developers

September 27, 2021

Unless you’ve been developing software in a cave, you’ve probably heard people sing the praises of microservices. They’re agile, simple, and an overall improvement on the monolith and service-oriented architecture days. But of course, with all the benefits of microservices comes a new set of challenges.

Continue reading

Build a Customer Service Chatbot Using Python, Flask, and Pinecone

July 27, 2021

Similarity search is a subset of the machine learning field that deals with finding items that are closely related to the original input. It’s incredibly useful for things like product, music, or movie recommendations. You watched The Office on Netflix, so here are some other shows you may like. You frequently listen to Bayside on Spotify, so go check out these other pop-punk bands.

Continue reading

4 Key Observability Metrics for Distributed Applications

July 26, 2021

A common architectural design pattern these days is to break up an application monolith into smaller microservices. Each microservice is then responsible for a specific aspect or feature of your app. For example, one microservice might be responsible for serving external API requests, while another might handle data fetching for your frontend.

Continue reading

Using the Scientific Method to Debug Containerized Applications

November 17, 2020

“It works fine on my machine!” Perhaps the most famous saying in our industry. Even with the advent of containers that provide consistent environments across the SDLC, we still hear developers fall back to this claim when a defect is found. But in the end, if the code doesn’t work in test or production, it doesn’t work—even if it works locally. So as a developer, being able to deep dive into your containerized application to fix the problem—regardless of the environment—is a critical skill we must all learn.

Continue reading

Using Nginx to Customize Control of Your Hosted App

November 10, 2020

Open-source application diversity is both the biggest boon in the Free and Open-Source Software (FOSS) movement, and its greatest hindrance to adoption. You don’t always own the application you’re consuming, and it often comes with certain opinions and limitations imposed by the software author—either intentionally or otherwise.

Continue reading

Converting a Kubernetes Fullstack Application to Heroku Containers

November 9, 2020

In the last several years, Google’s Kubernetes project has generated huge buzz. The project has grown and evolved into a titan of the cloud infrastructure world. While it’s a great project and serves many purposes, it remains a complex beast. Even with the managed Kubernetes services from major cloud providers, teams have to maintain complex, interwoven architectures using an ever-expanding cosmos of plugins and paradigm shifts. With such complexity inherent with its flexibility, Kubernetes requires its own set of skills in order to implement, maintain, upgrade, and operate this diverse orchestration ecosystem.

Continue reading

How to Build a Pokedex React App with a Slash GraphQL Backend

November 3, 2020

In this article, we’re going to walk through some of the basic setup for Slash GraphQL and then take a look at how I built a Pokémon Pokédex app with React and Slash GraphQL in just a few hours! Frontend developers want interacting with the backend of their web application to be as painless as possible. Requesting data from the database or making updates to records stored in the database should be simple so that frontend developers can focus on what they do best: creating beautiful and intuitive user interfaces.

Continue reading

You Can Log Better - How to Implement Real-Time Application Monitoring

October 30, 2020

As long as I can remember, I’ve included log messages in my code to provide run-time insight into what the code is really doing. From developers running locally all the way to the eyes of a production support engineer, these extra lines of code are meant to help troubleshoot unexpected scenarios.

Continue reading

Heroku - My New Home

June 15, 2020

In the “Moving Away From AWS and Onto Heroku” article, I provided an introduction of the application I wanted to migrate from Amazon’s popular AWS solution to Heroku. Subsequently, the “Destination Heroku” article illustrated the establishment of a new Heroku account and focused on introducing a Java API (written in Spring Boot) connecting to a ClearDB instance within this new platform-as-a-service (PaaS) ecosystem.

Continue reading

Scaling Django/Postgres with PgBouncer on Heroku

June 9, 2020

Do you have an app on Heroku using Postgres? Are you running out of database connections? Maybe you’ve already tried setting CONN_MAX_AGE, but that only helped for a while. It’s time for PgBouncer, the de facto standard for Postgres connection pooling. In this article, we’ll look at how to use PgBouncer to scale your app on Heroku. We’ll use Django, a popular python web framework, as an example for the settings.

Continue reading