system-design Questions
1
This is my button component type
import React from 'react'
export type ButtonProps = {
label: string;
color?:'primary' | 'secondary' | 'tertiary';
size?:'mobile' | 'tablet' | 'desktop',
handleC...
Hispid asked 31/5, 2023 at 12:55
6
Solved
I have always worked on mobile technologies and now I am stepping into backend systems, more specifically systems design. I keep coming across conflicting statements for the roles of api gate...
Douse asked 12/4, 2020 at 16:42
2
Solved
I have setup celery, rabbitmq and django web server on digitalocean. RabbitMQ runs on another server where my Django app is not running.
When I am trying to add the tasks to the queue using delay I...
Denaedenarius asked 9/6, 2022 at 17:47
2
Solved
I am looking for a best practice solution for the next task.
I use ASP.NET Core 6.0.
I created an SDK which works with public API. The SDK communicates with API via Http request. I use HttpClient c...
Checkup asked 12/3, 2023 at 16:49
2
I am reading book 'Designing Data-Intensive Applications' by Martin Kleppmann. At one point author has explained different approaches Twitter takes to publish tweets(fanout) to users. As per one of...
Drummer asked 27/3, 2021 at 7:38
3
I was asked below object oriented system design question in an interview.
There are multiple devices like Echo show, Echo dot, Echo tab, Smart microwave, Fire tv stick etc.
Echo show - It has dis...
Primer asked 22/12, 2021 at 14:25
0
I am trying to understand how different Load Balancing strategy works.
One way is to use consistent hashing algorithm where we divide the entire space into multiple virtual nodes and each physical ...
Grillo asked 3/9, 2021 at 11:13
2
Solved
So I am trying to learn performance metrics of various components of computer like L1 cache, L2 cache, main memory, ethernet, disk etc as below:
Latency Comparison Numbers
------------------------...
Forage asked 6/4, 2020 at 17:36
2
Back of envelope calculations:
Imagine that I have some requirements and after some calculations, I get that I will get about 100k request per second to my server. How many servers would I need? Le...
Mishnah asked 2/6, 2021 at 2:11
2
What is the preferred way of serving static files for an application that is deployed in a microservices architecture (in production)?
Let's say for simplicity that I have 3 application servers an...
Automate asked 22/12, 2017 at 8:26
4
can someone please explain the difference between system design and object oriented design?
Object oriented design involves object modeling and uses object oriented concepts such as Abstraction, E...
Degression asked 19/11, 2017 at 9:16
1
Forgive my ignorance as my experience with load balancers and websockets are limited. I'm trying to understand how a client can connect to a cluster of servers that sits behind a load balancer thro...
Pym asked 6/12, 2020 at 23:24
2
Solved
As Dynamodb store the data in form of key value pairs, where key is the sort of primary key and value is the data associated with it.I want to know whether dynamo db actually understands the value(...
Nightshade asked 29/11, 2020 at 19:25
2
As Per CAP
Consistency - All nodes gave the same data
Availability means the ability to access the cluster even if a node in
the cluster goes down.
Partition tolerance means that the cluster conti...
Fyrd asked 28/10, 2020 at 18:6
1
I am building a data pipeline that reads the MySQL binlogs in realtime using Maxwell Daemon and Maxwell Daemon pushes the data to Redis streams. I've built a client that consumes the data from Redi...
Slush asked 1/8, 2020 at 14:0
2
Solved
What technical detail should programmers consider while developing their own oAuth service?
Have been trying to find out guidelines, but found most of the oAuth related articles discuss as a consu...
Disrepute asked 23/2, 2020 at 15:48
1
I have my django website, which I want to make distributed, I know all the concept of system design and distributed system but still cannot figure out how can I serve it using multiple server. I am...
Reynoso asked 28/11, 2019 at 6:53
3
This question was asked in one of the big software company. I have come up with a simple solution and I want to know what others feel about the solution.
You are supposed to design an API and a ...
Mandrel asked 27/12, 2012 at 21:13
1
Solved
I just started learning load balancers. Taking a server side application (http/https) load balancer as an example, I assume it listens a specific ip address, then forward the http requests to avail...
Hinson asked 16/3, 2019 at 20:12
2
Solved
I failed to find any definite answer on Google or even StackOverflow to answer this question.
From my understanding
Threads that use locks can break abstraction
Locks are not composable
But h...
Volution asked 11/11, 2017 at 6:13
2
I am in the process of designing a system where there's a main stream of objects and there are multiple workers which produces some result from that object. Finally, there is some special/unique wo...
Deathday asked 22/11, 2018 at 8:10
2
Solved
From a systems design/scalability perspective, what are some industry-standard strategies in dealing with a system that requires heavy writes to a particular table in a DB.
For simplicity sake, let...
Eyeleen asked 29/10, 2018 at 1:48
6
I want to design a job scheduler cluster, which contains several hosts to do cron job scheduling. For example, a job which needs run every 5 minutes is submitted to the cluster, the cluster s...
Muley asked 12/11, 2014 at 15:17
2
Solved
When to use service or component in spring?
For example, is a module responsible for sending email or common business logic a "service" or a "component"?
and what's the difference?
Is a ser...
Uncaredfor asked 18/9, 2017 at 5:55
1
Solved
Kong uses Cassandra or Postgres. Cassandra is know for write heavy application.I don't see Kong api gateway is that much write heavy,also none of table uses Cassandra one of the important feature p...
Hl asked 3/8, 2017 at 12:1
1 Next >
© 2022 - 2025 — McMap. All rights reserved.