Skip to content

Instantly share code, notes, and snippets.

@kaniket7209
Created December 4, 2021 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaniket7209/4a5e0d435899df23321a9db6d152e584 to your computer and use it in GitHub Desktop.
Save kaniket7209/4a5e0d435899df23321a9db6d152e584 to your computer and use it in GitHub Desktop.
What is Heroku?
1. Who can make request?
Answer: Anyone who has access to the computer running the app can make request.
2. What is Dynos?
Answer: The containers used at Heroku are called “dynos.” Dynos are isolated, virtualized Linux containers that are designed to execute code based on a user-specified command. ... Dynos are the building blocks that power any Heroku app, from simple to sophisticated.
3. Why is Heroku useful?
Answer: Heroku is useful because:
a) We can put our code in their servers
b) We can run our flask apps continuously
c) We can restart our app if it crashes or ther's an error
d) Heroku let us see logs and errors so we can debug them
4. WHat are Heroku cost.
Answer: a) Heroku has a generous free plan that we can take advantage of initially
b) It is limited to 1000 hours per month shared between all your free projects
c) After that, the cost is from $7 per month, per Dyno(Server)
5. Why you shouldn't use Heroku?
Answer: Heroku is also hard to use for non-web services that don't use HTTP. It's not really set up for them. It gets your data, which may or may not be a problem. ... And Heroku's scaling of dynos — regular, 2x everything or huge CPU and RAM for 16x the cost — may not be for you.
6. How do I save files in Heroku?
Answer: Heroku has an “ephemeral” hard drive, this means that you can write files to disk, but those files will not persist after the application is restarted. By default Active Storage uses a :local storage option, which uses the local file system to store any uploaded files.
7. What is Heroku used for?
Answer: Heroku is a container-based cloud Platform as a Service (PaaS). Developers use Heroku to deploy, manage, and scale modern apps. Our platform is elegant, flexible, and easy to use, offering developers the simplest path to getting their apps to market.
1. Are every computer set up as accessible from outside?
a) No
b) yes
Answer: a)
2. Most ISPs provide ____ IP address
a) fixed
b) dynamic
c) unpredictable
d) None of the above
Answer: b)
3. When we deploy our app , we have a ____ IP address
a) fixed
b) dynamic
c) metered
d) None of the above
Answer: a)
4. After deployment our apps is ___ to connections
a) jammed
b) open
c) clogged
d) None of the above
Answer: b)
5. Heroku is an example for
a) xaas
b) iaas
c) saas
d) paas
Answer: paas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment