SlideShare a Scribd company logo
1 of 11
Dyno and Dyno Managers
Micheal Iyanda
IT Director, Python Nigeria
North East CPA Trailblazer Nigeria
National Secretary General NACOSS
Facebook, gitlab, github, instagram --- miyanda2
Twitter - @miyanda000
micheal.iyanda@trailblazercgl.com
Dynos are isolated, virtualized Linux containers that are designed to execute code based on a
user-specified command.
Dynos: the heart of the Heroku platform
Learn about how dynos work on Heroku
Buildtime: preparing code
to run in a dyno The dyno lifecycle
Dynos in Heroku Private
Spaces
Runtime: configuring
process and dyno types Scaling apps with dynos
vamos a empezar
Buildtime
Preparing code to run in a dyno
Heroku needs only three things from the developer: source code, a list of dependencies, and
a “Procfile” (a text file that indicates which command should be used to start the code
running).
The dyno lifecycle
With Heroku, developers don’t need to worry about dyno or container operations while
their app is running. Dynos are automatically managed by the platform. A dyno is
composed of an isolated virtualized runtime environment and file system. Dynos are
ephemeral by design. They are cycled (restarted) at least once a day to help maintain the
health of your app and overall system, and they permit graceful exit to process remaining
requests. For apps running multiple dynos, each will be cycled at different intervals.
Dynos in Heroku Private Spaces
Private Spaces enable developers to build and run Heroku apps that meet strict
requirements for data protection and change control. Apps running in a Private Space
can only run Private Dynos.
Runtime
Configuring process and dyno types
When you deploy or scale your app, Heroku will automatically create one or more dynos,
each loaded with the same stack and slug representing your application. Heroku's Dyno
Manager then executes the command you provided in your configuration file to start your
application running on Heroku. Heroku enables developers to fine-tune their app’s
runtime resources by choosing from a broad range of dyno types and dyno
configurations to create a “dyno formation.”
Dyno configurations
Process types
Scaling apps with dynos
Heroku provides easy-to-use tools that enable developers to instantly scale dynos to
meet demand. Post deployment, your apps may require adjustments to their dyno
formation in response to a variety of conditions, such as increased traffic, uneven usage
patterns, new functionality, or business scale. You can scale using the Heroku
Dashboard or Heroku CLI.
Heroku Dashboard
Heroku CLI
Scaling horizontally: adding more dynos
Scaling vertically: upgrading to larger dynos
Autoscaling
Dyno Types
Links
https://heroku.com/
https://www.heroku.com/dynos
https://devcenter.heroku.com/
https://devcenter.heroku.com/articles/renaming-apps#updating-git-remotes
https://www.heroku.com/elements
https://www.heroku.com/languages

More Related Content

Similar to Heroku Dynos and Dyno Managers

Null Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat DasNull Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat Dasnullowaspmumbai
 
Introduction to PaaS and Heroku
Introduction to PaaS and HerokuIntroduction to PaaS and Heroku
Introduction to PaaS and HerokuTapio Rautonen
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfNomanKhan869872
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA NITIN GUPTA
 
9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...Gear Inc.
 
9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...Carl Alston
 
Best dev ops tools to master in 2022
Best dev ops tools to master in 2022Best dev ops tools to master in 2022
Best dev ops tools to master in 2022SameerShaik43
 
Android workshop material
Android workshop materialAndroid workshop material
Android workshop materialReza Yogaswara
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_authlzongren
 
Android Penetration testing - Day 2
 Android Penetration testing - Day 2 Android Penetration testing - Day 2
Android Penetration testing - Day 2Mohammed Adam
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for BeginnersTripti Tiwari
 
Flutter vs. ionic which one should be your choice
Flutter vs. ionic  which one should be your choice Flutter vs. ionic  which one should be your choice
Flutter vs. ionic which one should be your choice Moon Technolabs Pvt. Ltd.
 
Android Technology
Android TechnologyAndroid Technology
Android TechnologyR
 
Android from A to Z
Android from A to ZAndroid from A to Z
Android from A to ZBADR
 

Similar to Heroku Dynos and Dyno Managers (20)

Null Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat DasNull Mumbai Meet_Android Reverse Engineering by Samrat Das
Null Mumbai Meet_Android Reverse Engineering by Samrat Das
 
Introduction to PaaS and Heroku
Introduction to PaaS and HerokuIntroduction to PaaS and Heroku
Introduction to PaaS and Heroku
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA
 
9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...
 
9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...9 Software Development Tools Used by Experts | What Tools You Should Use to D...
9 Software Development Tools Used by Experts | What Tools You Should Use to D...
 
Best dev ops tools to master in 2022
Best dev ops tools to master in 2022Best dev ops tools to master in 2022
Best dev ops tools to master in 2022
 
Android workshop material
Android workshop materialAndroid workshop material
Android workshop material
 
Android
AndroidAndroid
Android
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android Penetration testing - Day 2
 Android Penetration testing - Day 2 Android Penetration testing - Day 2
Android Penetration testing - Day 2
 
AndroidManifest
AndroidManifestAndroidManifest
AndroidManifest
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
 
Flutter vs. ionic which one should be your choice
Flutter vs. ionic  which one should be your choice Flutter vs. ionic  which one should be your choice
Flutter vs. ionic which one should be your choice
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Android from A to Z
Android from A to ZAndroid from A to Z
Android from A to Z
 

Recently uploaded

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Heroku Dynos and Dyno Managers

  • 1. Dyno and Dyno Managers Micheal Iyanda IT Director, Python Nigeria North East CPA Trailblazer Nigeria National Secretary General NACOSS Facebook, gitlab, github, instagram --- miyanda2 Twitter - @miyanda000 micheal.iyanda@trailblazercgl.com
  • 2. Dynos are isolated, virtualized Linux containers that are designed to execute code based on a user-specified command. Dynos: the heart of the Heroku platform
  • 3. Learn about how dynos work on Heroku Buildtime: preparing code to run in a dyno The dyno lifecycle Dynos in Heroku Private Spaces Runtime: configuring process and dyno types Scaling apps with dynos
  • 5. Buildtime Preparing code to run in a dyno Heroku needs only three things from the developer: source code, a list of dependencies, and a “Procfile” (a text file that indicates which command should be used to start the code running).
  • 6. The dyno lifecycle With Heroku, developers don’t need to worry about dyno or container operations while their app is running. Dynos are automatically managed by the platform. A dyno is composed of an isolated virtualized runtime environment and file system. Dynos are ephemeral by design. They are cycled (restarted) at least once a day to help maintain the health of your app and overall system, and they permit graceful exit to process remaining requests. For apps running multiple dynos, each will be cycled at different intervals.
  • 7. Dynos in Heroku Private Spaces Private Spaces enable developers to build and run Heroku apps that meet strict requirements for data protection and change control. Apps running in a Private Space can only run Private Dynos.
  • 8. Runtime Configuring process and dyno types When you deploy or scale your app, Heroku will automatically create one or more dynos, each loaded with the same stack and slug representing your application. Heroku's Dyno Manager then executes the command you provided in your configuration file to start your application running on Heroku. Heroku enables developers to fine-tune their app’s runtime resources by choosing from a broad range of dyno types and dyno configurations to create a “dyno formation.” Dyno configurations Process types
  • 9. Scaling apps with dynos Heroku provides easy-to-use tools that enable developers to instantly scale dynos to meet demand. Post deployment, your apps may require adjustments to their dyno formation in response to a variety of conditions, such as increased traffic, uneven usage patterns, new functionality, or business scale. You can scale using the Heroku Dashboard or Heroku CLI. Heroku Dashboard Heroku CLI Scaling horizontally: adding more dynos Scaling vertically: upgrading to larger dynos Autoscaling

Editor's Notes

  1. The build system takes the application, its dependencies, and the language runtime and produces a “slug.” A slug contains everything needed to run the app, except for the operating system.
  2. Dyno configurations Most modern applications are composed of interacting pieces. For example, a typical web application may have a web component that is responsible for handling web traffic. It may also have a queue (on Heroku typically represented by an add-on), and one or more workers that are responsible for taking elements off of the queue and processing them. Heroku lets you create this kind of architecture by allowing you to configure your dyno formation with dynos of a specific “process type.” Process types Heroku apps use a single configuration file, the "Procfile," to specify the process types needed to run the app. Each process type represents a command that should be executed by the Dyno Manager when starting a dyno. There are three primary process types: Web dynos: receive HTTP traffic from routers and typically run web servers. Worker dynos: execute anything else, such as background jobs, queuing systems, and timed jobs. One-off dynos: are temporary and not part of an ongoing dyno formation. They run short-lived commands, possibly attached to a local terminal, and are typically used to handle administrative tasks such as running a REPL shell to execute database migrations or occasional background work.
  3. heroku ps:scale web=2 heroku ps:scale web=0 heroku ps:scale web=2:standard-2x