Lurker News
I’d like to learn more about backend development but most of what I find while searching are results like “Build a nodejs backend in 20 minutes” or “learn backend development in an hour.” I think part of the problem is I don’t know enough to ask the right questions.

Comments (130) 48 threads

Earlier comments
sotojuan2 replies#
My #1 thing would be learning databases and data modeling - most of the time I've made mistakes at work has been because of a bad data model. Most of the time I've made slow software was because I lacked understanding of SQL queries.
collyw#
Most of the crap software I have worked on has been bad because of a poor data model. I don't think of database design / data modelling as particularly hard, but working on other peoples software, some people make a really bad job of it.
umeshgmrl2 replies#
Can you provide link to resources for this? Searched, but there is no proper place to learn it online.
nudpiedo#
In addition to development, there is always a tone of work related with the system that cannot be avoided unless paying big bucks. Do not forget the basics for operating systems:

there are thigns that are absolute basics:
- bash/linux scripting, understanding
- usage of basic linux commands, grep, awk, sed...
- the basics of posix (stdin/out/err pipes, stderr)
- Monitor your system: observe CPU/network
- Configure firewall, ssh services, cronjobs, set up a systemd job
And from here how to deploy anything with the stack/framework which is popular this year, kubernetes, docker or ansible or whatever infrastructure it is in the backend.
Very rarely someone works "just coding".

olingern1 reply#
Going to give the advice I would have gave to my younger developer self:

General:
- Use a debugger. Stepping through code or existing code is an incredibly quick way to grasp what is going on.
- Exercise healthy paranoia. Expect your code paths to fail. How will you handle failures?
- Code hygiene. Legibility of a codebase makes me respect it a lot more. I feel that I subconsciously handle it with more care when well written.
- Interfaces. Whether your writing an API, a data access utility, etc. -- think about the design in your current and other contexts.
- Language. Whatever language you work in Node, Ruby, Go, etc. know it and its quirks well.
Backend specific:
- Docker. It really changed the way I work. I think the learning curve can be a little steep, but once you're comfortable it leads to much more productive development that is ready for production.
- Load testing. You should be able to identify potential bottlenecks in your application and decide whether they're worth fixing or not.
- Observability. Think about how you will profile and gather metrics of your application when deployed.
- DevOps. A lot of workplaces will expect their SE engineers to help with or even be DevOps. It's a big surface area, so I would focus on knowing the parts of the stack that make your application work (containers, databases, virtual networking)
- Pushing work elsewhere. Sometimes you're going to run into a problem that can't be solved by code changes alone. A basic understanding of how to push workloads elsewhere like message queues / serverless functions and the patterns associated with them. For example, a user uploads an image to your server and you need to compress it.

Dowwie#
> "- Docker. It really changed the way I work. I think the learning curve can be a little steep, but once you're comfortable it leads to much more productive development that is ready for production."

Would you elaborate on this, please?

scarface74#
I know it’s the big lock in boogeyman on HN, but learn about at least one cloud service - not just how to host a few VMs. Learn about their hosted, managed versions of open source software, managed network infrastructure (load balancers, autoscaling, etc.) and even proprietary services.

You can’t come up with a real scalable fault tolerant solution if you don’t understand the underlying infrastructure and cloud hosting is the fastest way to do it.

Load more comments