Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this page.

Table of Contents

Introduction

How do you build a similar online shopping system that stores an inventory of products under different categories, allow customers to search through them, and make purchases. Furthermore, how do you handle the expanding load on the website and prevent it from crashing down, particularly on busy days, such as the Black Friday Sale?

Step 1 - Understand the problem and establish the scope

Features ?

See below

Supported devices ?

laptop/desktop, mobile.

Functional requirements

  • User Profile Management

  • Product on boarding

  • Select Product

  • Search Product

  • Cart facility

  • Proceed to buy

Non Functional requirements

  • Consistency

  • Availability

  • Latency

Step 2 - High-Level Design

3 major flows could be considered : Product on boarding, Search Product & Cart / buy Product.

On-Board Product Flow

Search Product Flow

Cart / Buy Product Flow

Step 3 - Design deep dive

Step 4 - Wrap up