Saturday, October 24, 2020

Ask HN: How do I deploy a backend?

Hey guys, I'm kind of inexperienced in backend web stuff.

How do I deploy a backend that will eventually be scalable and easy to maintain? Or, where should I go to learn?

I want to: - deploy a REST API, with WebSockets that should be able to handle potentially many concurrent connections - be able to store user sessions in Redis - store data in a scalable SQL database - be able to continuously deploy as I push code

I'm confused by the number of services and options I have. - I'm not interested in Firebase, or similar services, because I don't want to be locked in. - I'm not interested in cloud functions, or lambda functions, I don't want to deal with cold starts - I'm not sure about Heroku, I don't want everything done for me. I feel like this will inhibit learning and growth rather than encourage it.

Do I: - Use Amazon EC2, or some other container service? I'm not sure if this is what they're even for. Would these services help me spread connections and requests across multiple containers? - Use a managed SQL database like RDS, or DigitalOcean managed databases? Will this be cost-effective in the long run? What other ways do I have to handle my database? - Use something like Elasticache for Redis? Is there something else I can do here too? - How can I implement a CI/CD pipeline along with all this?

Any advice would be greatly appreciated. Any recommendations for books or other resources to learn what to learn would also be appreciated.


Comments URL: https://news.ycombinator.com/item?id=24882793

Points: 2

# Comments: 0



from Hacker News: Newest https://ift.tt/2HnGXzz
via IFTTT

No comments:

Post a Comment

England see off USA to return to winning ways

England's Red Roses return to winning ways, but without entirely vanquishing doubts over their position at the top of the women's ga...