Engineering
- Engineering
- Last Updated: June 22, 2020
- Ed Morley, Casey
This blog post is based on From Project to Productionized, a talk given at PyCon 2020 at the height of the COVID-19 pandemic. You can use this post today to learn how to deploy a Python application on Heroku. More specifically, we’ll show you how to deploy Django apps, including setting up your Django configuration, building continuous delivery pipelines, adding middleware, and everything else that goes into deploying Django on Heroku.
If you’d prefer …
- Engineering
- Last Updated: April 30, 2020
- Chris Castle
This blog post is adapted from a discussion during an episode of our podcast, Code[ish].
Over the last twenty years, software development has advanced so rapidly that it’s possible to create amazing user experiences, powerful machine learning algorithms, and memory efficient applications with incredible ease. But as the capabilities tech provides has changed, so too have the requirements of individual developers morphed to encompass a variety of skills. Not only should you be writing …
- Engineering
- Last Updated: May 02, 2024
- Garen Torikian
Text-based communication has a long history weaved into the evolution of the Internet, from IRC and XMPP to Slack and Discord. And where there have been humans, there have also been chatbots: scriptable programs that respond to a user’s commands, like messages in a chat room.
Chatbots don’t require much in terms of computational power or disk storage, as they rely heavily on APIs to send actions and receive responses. But as with any kind …
- Engineering
- Last Updated: June 03, 2024
- Jamie White
In the early years of web development, there were three standard fundamentals upon which every website was built: HTML, CSS, and JavaScript. As time passed, web developers became more proficient in their construction of fancy UI/UX widgets for websites. With the need for newer ways of crafting a site coming in conflict with the relatively slow adoption of newer standards, more and more developers began to build their own libraries to abstract away some of …
- Engineering
- Last Updated: June 03, 2024
- Lenora Porter
In this post, we will cover changes coming to Chrome (and other browsers) that affect how third-party cookies are handled—specifically SameSite changes, how to test to see if your site is impacted and how to fix it.
- Engineering
- Last Updated: January 15, 2020
- chris le roy
@media only screen and (max-width: 414px) and (orientation: portrait) { #cover-image { width: 100%; } }
As part of our Blackhat Europe talk “Reverse Engineering and Exploiting Builds in the Cloud” we publicly released a new tool called Terrier.
Announcing Terrier: An open-source tool for identifying and analysing container and image components.In this blog post, I am going to show you …
- Engineering
- Last Updated: December 19, 2019
- Ben Fritsch
This blog post is adapted from a lightning talk by Ben Fritsch at Ruby on Ice 2019.
There can be a number of reasons why your application performs poorly, but perhaps none are as challenging as issues stemming from your database. If your database’s response times tend to be high, it can cause a strain on your network and your users’ patience. The usual culprit for a slow database is an inefficient query being executed …
- Engineering
- Last Updated: June 03, 2024
- Richard Schneeman
Update: On closer inspection, the lock type was not on the table, but on a tuple. For more information on this locking mechanism see the internal Postgresql tuple locking documentation. Postgres does not have lock promotion as suggested in the debugging section of this post.
I maintain an internal-facing service at Heroku that does metadata processing. It’s not real-time, so there’s plenty of slack for when things go wrong. Recently I discovered a Postgres …
- Engineering
- Last Updated: December 18, 2019
- Julián Duque
This blog post is adapted from a talk given by Julián Duque at NodeConf EU 2019 titled “Let it crash!.”
Before coming to Heroku, I did some consulting work as a Node.js solutions architect. My job was to visit various companies and make sure that they were successful in designing production-ready Node applications. Unfortunately, I witnessed many different problems when it came to error handling, especially on process shutdown. When an error …
- Engineering
- Last Updated: October 31, 2019
- Jason Draper
@media only screen and (max-width: 414px) and (orientation: portrait) { #sorbet-logo { width: 100%; } }
As an experiment to see how static typing could help improve our team’s Ruby experience, we introduced Sorbet into a greenfield codebase with a team of 4 developers. Our theory was that adding static type checking through Sorbet could help us catch bugs before they go …
Subscribe to the full-text RSS feed for Engineering.