Outro

GetGoing: Introduction to Golang API hosting using heroku
1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
This is a free item
$0.00
د.إ0.00
Kz0.00
ARS$0.00
A$0.00
৳0.00
Лв0.00
Bs0.00
B$0.00
P0.00
CA$0.00
CHF 0.00
CLP$0.00
CN¥0.00
COP$0.00
₡0.00
Kč0.00
DKK kr0.00
RD$0.00
DA0.00
E£0.00
ብር0.00
€0.00
FJ$0.00
£0.00
Q0.00
GY$0.00
HK$0.00
L0.00
Ft0.00
₪0.00
₹0.00
ISK kr0.00
¥0.00
KSh0.00
₩0.00
DH0.00
L0.00
ден0.00
MOP$0.00
MX$0.00
RM0.00
N$0.00
₦0.00
C$0.00
NOK kr0.00
रु0.00
NZ$0.00
S/0.00
K0.00
₱0.00
₨0.00
zł0.00
₲0.00
L0.00
QR0.00
SAR0.00
SEK kr0.00
S$0.00
฿0.00
₺0.00
$U0.00
R0.00
ZK0.00
Already have an account? Log In

Transcript

Hi everyone. In the last section, we saw how we can host our application on the cloud. And then what we did was, first we rendered our application by using the tool called go vendor. Then we spun up a Heroku instance by using Heroku. Create. And then after that, we created a mapping between our repository and Heroku zone repository.

We're doing Heroku get remote when I say the name of the application, and then we simply did get push Heroku master. So following all of these steps, we spun up an instance. And then you were able to achieve this full level of transformative where we could easily like, take the link of the application and then use that application right from our command line. So one thing that you need to know about Heroku is it's totally free. The only downside is the fact that Heroku uses dinos which go to sleep every 30 minutes of inactivity. So this is By you'll see that if you hit the API after one hour, or let's say after two hours, then it's going to take a while for the first API to load for the first response to come.

And after that, the responses are going to be pretty fast. So the thing is that Roku is really great for hosting test applications, or if you want to do data testing. And if you really want to do some quick deployments, the Heroku Postgres SQL is free. And you also get Redis from Heroku. So this is why a lot of web developers and a lot of server side developers also in some cases, prefer Heroku for really fast deployments. So I hope you guys enjoyed the session.

And see you guys in the next session.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.