By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
The internet is the invisible plumbing behind every digital product—from a fintech app fetching real-time stock prices to an e-commerce checkout processing payments. Understanding how data moves (HTTP/S), how users find your product (DNS), how your frontend talks to your backend (APIs), and how you deliver content globally (CDN) helps you: - Debug performance issues (e.g., why a checkout page loads slowly in Europe but not the U.S.).- Design scalable features (e.g., building a real-time chat feature with WebSockets vs. REST).- Prioritize technical debt (e.g., migrating from REST to GraphQL to reduce over-fetching in a mobile app).- Collaborate with engineers (e.g., explaining to stakeholders why a DNS change takes 48 hours to propagate).
Real-world example: When Stripe launched its "Payment Links" feature (a no-code way to accept payments), the team had to optimize DNS routing to ensure low latency globally, use REST APIs for payment processing, and leverage a CDN to serve static assets (like the payment form) quickly. Without this, users in Asia might see a 5-second delay—enough to kill conversions.
google.com
172.217.3.110
.com
GET
POST
PUT
DELETE
/users/123
{ user(id: 123) { name, email } }
Total Load Time = Latency + (Data Size / Bandwidth)
app.com
api.com
Access-Control-Allow-Origin: app.com
PUT /users/123
Scenario: Your team is building a social media app with a "Stories" feature (like Instagram). Users complain that Stories load slowly in Brazil.
Example: You find that the GET /stories API call takes 1.2s in Brazil vs. 200ms in the U.S.
GET /stories
Map the data flow:
User (Brazil) → DNS Lookup → CDN (for images) → API (for story data) → Database
Identify bottlenecks:
Prioritize fixes:
WebP
Long-term (1–3 months):
Measure impact:
A/B test: Compare load times before/after CDN implementation.
Communicate with stakeholders:
Correction: GraphQL lets clients request exactly what they need, while REST returns fixed data structures. Use GraphQL for complex frontends (e.g., dashboards with many filters) and REST for simple CRUD apps.
Mistake: Ignoring DNS propagation time when launching a new domain.
Correction: DNS changes can take up to 48 hours to propagate globally. Plan launches accordingly (e.g., don’t announce a new feature at 9 AM if DNS updates at 8 AM).
Mistake: Not using a CDN for static assets (e.g., images, JS files).
Correction: CDNs reduce latency by 50–90% for global users. Always use one for static content. ⚠️ Don’t use a CDN for dynamic API responses (e.g., POST /payments).
POST /payments
Mistake: Overlooking HTTPS for "non-sensitive" pages (e.g., marketing sites).
Correction: Google ranks HTTPS sites higher, and browsers show "Not Secure" warnings for HTTP. Always use HTTPS.
Mistake: Not designing APIs for idempotency (e.g., allowing duplicate payments).
Idempotency-Key
Why it matters: Interviewers test if you understand trade-offs between cost, speed, and engineering effort.
Distinction: REST vs. GraphQL
GET /users
name
email
address
GraphQL: Good for complex frontends (e.g., dashboards with many filters). Lets clients request only what they need (e.g., { user { name } }). Harder to cache.
{ user { name } }
Stakeholder trap: "Why can’t we just cache everything in the CDN?"
Answer: CDNs are great for static content (images, JS, CSS) but not for dynamic data (e.g., GET /user-profile). Caching dynamic data can lead to stale responses (e.g., showing an old profile picture). Use TTL (Time-to-Live) headers to control cache duration.
GET /user-profile
Debugging scenario: "Users in India report that your app crashes on launch. How do you debug?"
dig yourdomain.com
ping your-api.com
Answer: WebSockets. REST is request-response (slow for chat), while WebSockets keep a persistent connection for real-time updates.
A user in Japan reports that your website loads slowly. The Network tab shows a 1.5s delay for the initial HTML request. What’s the likely cause?
Answer: High latency due to the server being far from Japan. Fix: Deploy servers in Asia or use a CDN for the HTML (if static).
Your frontend team complains that the GET /orders API returns 10MB of data, but they only need 5 fields. Should you switch to REST or GraphQL?
GET /orders
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.