Created
April 13, 2026 12:06
-
-
Save romankierzkowski/b38f95fec95bb0dd61ec5fc2e955234d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Adidos Survey / Poll App | |
| You are asked to design architecture for Poll app for very well know sport brand - let's call it Adidos. | |
| This application will allow users to vote in really simple polls. Each poll has one question and two answers. | |
| For example: | |
| Where do you run: | |
| - On the street | |
| - In the gym | |
| After answering user is presented with results of voting: | |
| Where do you run: | |
| - On the street [x] 32% | |
| - In the gym 68% | |
| This feature will be part of existing application. | |
| Your Poll App backend will operate as micro-service for much bigger application released by Adidos. | |
| Requirements: | |
| - API will have to support: | |
| - return list of active questions | |
| - allow user to answer a question with selected answer | |
| - see previous answers for the user for all questions | |
| - see how many people agreed or disagreed with his answer. | |
| - Each user can answer each question only ONCE. | |
| - Dont waste money. | |
| Things to consider: | |
| 1. The service will be subject to intense bursts of traffic with longer periods of small traffic. | |
| 2. The service will attacked by malicious bots trying to influence the vote. | |
| Points to Discuss: | |
| - Data storage and schema | |
| - Cloud Infrastructure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment