Say you're asked to design a backend system to upload videos. Should you FIRST start thinking about architecture layer (infrastructure, what db or server technologies to use) or think about api layers and then mention what infra you'd use? I feel like I always jump into architecture and i end up saying, heres server, here's db. done. edit: assume we're past the requirements gathering TC: peanut
There is a template. Search google. First you ask for requirement n clarify. Second back of the envelope calculation. Third rough architecture. Fourth api n finally database schema
First outline requirements
Always start with the customer. Understand what customer needs and work backwards from there
Customer backwards
You should start with questions
Then architecture
Back of the napkin estimates for scale, then architecture. Make sure to discuss 1-2 alternatives and defend your choice