ArticleslgStudy

computer science

Heroku

Heroku is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Heroku rather than just read about it. In short: Heroku is a cloud platform as a service (PaaS) supporting several programming languages. As one of the first cloud platforms, Heroku has been in development since June 2007, when it supported only the Ruby programming language, but now also supports Java, Node.js, Scala, Clojure, Python, PHP, and Go.

Heroku — main illustration
Heroku — illustration

Key takeaways

  • Heroku belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Heroku to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Heroku from memory before moving on to harder problems.

Reference excerpt

Heroku is a cloud platform as a service (PaaS) supporting several programming languages. As one of the first cloud platforms, Heroku has been in development since June 2007, when it supported only the Ruby programming language, but now also supports Java, Node.js, Scala, Clojure, Python, PHP, and Go. For this reason, Heroku is said to be a polyglot platform as it has features for a developer to build, run and scale applications in a similar manner across most of these languages. Heroku was acquired by Salesforce in 2010 for $212 million.

History Heroku was initially developed by James Lindenbaum, Adam Wiggins, and Orion Henry for supporting projects that were compatible with the Ruby programming platform Rack. The prototype development took around six months. Later on, Heroku faced setbacks because of a lack of proper market customers as many app developers used their own tools and environment. In January 2009, a new platform was launched which was built almost from scratch after a three-month effort. In October 2009, Byron Sebastian joined Heroku as CEO. On December 8, 2010, Salesforce.com acquired Heroku as a wholly owned subsidiary of Salesforce.com. On July 12, 2011, Yukihiro "Matz" Matsumoto, the chief designer of the Ruby programming language, joined the company as Chief Architect for Ruby. That same month, Heroku added support for Node.js and Clojure. On September 15, 2011, Heroku and Facebook introduced Heroku for Facebook. At present Heroku supports Redis databases in addition to its standard PostgreSQL. On April 7, 2022, Heroku suffered a significant security intrusion when attackers were able to obtain an access token for a Heroku account that was used for automation purposes. Heroku confirmed that the attack accessed OAuth bearer tokens used for integration with GitHub and salted and hashed customer passwords in May 2022. The OAuth2 tokens were then used in targeted attacks against an unknown set of GitHub repositories apparently in an attempt to find secret tokens, where npm was the primary repository GitHub identified as a target. It is unclear if the original source of the breach is known or not. In August 2022, Heroku announced that its free plans would be discontinued, citing fraud and abuse as reasons for the change. In March 2024 at Kubecon Paris, Heroku announced that it was replatforming onto Kubernetes. On February 6, 2026, Heroku announced that it would be transitioning to a new engineering model with a focus on security, reliability, support and stability rather than introducing new features. It mentioned that Enterprise Account contracts would no longer be offered to new users. It has emphasised that Heroku remains fully supported and existing customers would not be affected by this change.

Etymology The name "Heroku" is a portmanteau of "heroic" and "haiku". The Japanese theme is a nod to Matz for creating Ruby. The creators of Heroku did not want the name of their project to have a particular meaning, in Japanese or any other language, and so chose to invent a name.

Architecture

Applications that are run on Heroku typically have a unique domain used to route HTTP requests to the correct application container or dyno. Each of the dynos are spread across a "dyno grid" which consists of several servers. Heroku's Git server handles application repository pushes from permitted users. All Heroku services are hosted on Amazon's EC2 cloud-computing platform.

Products

The Heroku Platform The Heroku network runs the customer's apps in virtual containers which execute on a reliable runtime environment. Heroku calls these containers "Dynos". These Dynos can run code written in Node, Ruby, PHP, Go, Scala, Python, Java, or Clojure. Heroku also provides custom build packs with which the developer can deploy apps in any other language. Heroku lets the developer scale the app instantly just by either increasing the number of dynos or by changing the type of dyno the app runs in. Heroku Postgres Heroku Postgres is the Cloud database (DBaaS) service for Heroku based on PostgreSQL. Heroku Postgres provides features like continuous protection, rollback, and high availability; also forks, followers, and data clips. Heroku Redis Heroku Redis is the customized Redis from Heroku to provide a better developer experience. It is fully managed and is provided as a service by Heroku. It helps in managing instances with a CLI, associate data with Postgres to gain business insights using SQL tools, and lets customer gain performance visibility. Heroku Teams Heroku Teams is a team management tool which provides collaboration and controls to bring a customer's developers, processes, and tools together in order to build better software. With Heroku Teams, teams can self-organize, add, and manage members, get fine-grained control with app-level permissions, and also use collaboration tools like Heroku Pipelines. It also provides delegated administration and centralized billing. Heroku Enterprise Heroku Enterprise provides services to large companies which help them to improve collaboration among different teams. It provides a set of features like fine-grained access controls, identity federation, and private spaces to manage their enterprise application development process, resources, and users. Heroku Connect Heroku Connect lets users create Heroku apps that can easily integrate with Salesforce deployments at scale. This is done by having seamless data synchronization between Heroku Postgres databases and Salesforce organizations. Heroku Elements Heroku Elements provides users with Add-ons (tools and services for developing, extending, and operating the app), Buildpacks (which automate the build processes for the preferred languages and frameworks), and Buttons (a tool for the one-click provisioning, configuring, and deployment of third party components, libraries, and patterns).

References

External links Official website

Illustrations

Heroku: A diagrammatic view of the working of Heroku Platform
A diagrammatic view of the working of Heroku Platform

Worked examples

Example 1 — a first encounter with Heroku

Start with the simplest possible case. Write down what Heroku claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Heroku before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Heroku ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Heroku

In research
Heroku appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Heroku in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Heroku is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2010 mergers and acquisitions, American companies established in 2007, Cloud computing providers, so understanding it makes those chapters shorter.
In everyday life
Look for Heroku outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Heroku” →

How to study Heroku in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Heroku means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Heroku out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Heroku in simple terms?

Heroku is a cloud platform as a service (PaaS) supporting several programming languages. As one of the first cloud platforms, Heroku has been in development since June 2007, when it supported only the Ruby programming language, but now also supports Java, Node.js, Scala, Clojure, Python, PHP, and G…

Why does Heroku matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Heroku?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Heroku.

Tags

  • 2010 mergers and acquisitions
  • American companies established in 2007
  • Cloud computing providers
  • Cloud infrastructure
  • Cloud platforms
  • Cloud storage
  • Companies based in San Francisco
  • Salesforce
  • Serverless computing
  • Software companies established in 2007
  • Y Combinator companies

Keep exploring