5 ms·
Ah, the ol' HN hug of death. For future reference (and I haven't been able to access the site yet, so this may or may not be relevant to Taaalk), if the site h
by satvikpendem 6y ago
Ah, the ol' HN hug of death.
For future reference (and I haven't been able to access the site yet, so this may or may not be relevant to Taaalk), if the site has a landing page, make it with static files, and put it behind a CDN or just use a free service like Netlify. Put the actual app behind a subdomain which you can then host however you want.
This way, people who visit can still check out what the service does and check it out later when not as many people are present on the server. This is a concept known as graceful degradation, trying to make a service as accessible as possible during most if not all conceivable situations.
- FailMore 6y agoHey, I tried to scale up my server mid hn ride and now I'm just getting a 404. I'm not experienced with doing this, and I can log into the server and everything seems to be working/up to date. So I don't understand why it's not working. I'm using a Hetzner, and I'm bummed :(
- SteveNuts 6y agoMake sure you remounted /var/www after your server rebooted.
- FailMore 6y agoHey, I'm a server n00b. Do you know where I would do that? Or what that means in more layman's terms?
- FailMore 6y agoHey, thanks for writing to me. I'm using Hetzner Cloud. They have a 'Rescale' option which I used. To activate it I had to turn off my server. I did that. Then rescaled and it went on again. When I log into my server or run 'git push dokku master' everything seems the same/is up to date. But getting a 404 for the entire app. Server logs seem to be ok (found with dokku logs taaalk -t). So I'm just very confused and very sad. The server still has the same IP address. It is also saying: server.request_console taaalk taaalk Joshua Summers 8 minutes ago server.request_console taaalk taaalk Joshua Summers 18 minutes ago server.change_type taaalk taaalk Joshua Summers 37 minutes ago server.stop taaalk taaalk Joshua Summers 39 minutes ago server.request_console taaalk taaalk Joshua Summers 2 months ago This server.request_console is new...
- gtirloni 6y agoI have some hours before bed that I could use to take a look at this. Shoot me an email with SSH credentials if you want some free help.
- harpratap 6y agoThis is why standardized solutions like K8s are necessary (or at least a managed container platform). Right now we have no idea about your stack or how it is hosted. With containers it wouldn't have mattered. And with K8s it would have been a simple `kubectl scale deploy/taaalk --replicas 10` regardless of on-prem, cloud X, Y or Z.
- gtirloni 6y ago> regardless of on-prem, cloud X, Y or Z Are you speaking from experience? Because my experience with k8s is far from that.
- bostonsre 6y agoThe guy has a single web app. Not sure using kubernetes would make it easier.
- harpratap 6y agoAWS Lambda, Google Cloud Run are pretty easy to use for a single web app.
- abiogenesis 6y agoIt's the future: https://circleci.com/blog/its-the-future/ https://circleci.com/blog/its-the-future/
- psychometry 6y agoYou should stick to solutions like Heroku, netlify, github pages, etc., if you don't have enough experience to manage your own stack. Plenty of people who DO have that experience still prefer highly-managed, autoscaling solutions.
- viraptor 6y agoWith less architecture work: enable local caching of the front page/resources on your nginx/apache/whatever. They should be able to ride the HN wave on almost any hardware.
- boyter 6y agoFor static websites you don't even need that. The OS disk cache kicks in and it becomes more about bandwidth than disk performance.
- viraptor 6y agoI meant for the generated content. You don't need to nginx-cache the static files of course. Just anything that actually hits the app server.
- FailMore 6y agoTHE SITE IS BACK UP! (I can't edit the title.) Credit to the extremely kind Antoine Grondin @ Github for helping sort it out! You can find him here: https://twitter.com/antoinegrondin?lang=en https://twitter.com/antoinegrondin?lang=en to say thank you Also thank you to everyone who reached out to try to help me with my server issues :) P.S. If a mod sees this and could edit the title that would be great.
- CamelCaseName 6y ago> P.S. If a mod sees this and could edit the title that would be great. I believe the best way to get a hold of the moderators is via email, at hn@ycombinator.com