Questions tagged [system-design]

Systems design is the process of defining the architecture, components, modules, interfaces, and data for a system to satisfy specified requirements. (wikipedia)

Systems design is the process of defining the architecture, components, modules, interfaces, and data for a system to satisfy specified requirements. Systems design could be seen as the application of systems theory to product development. ref

618 questions
2
votes
2 answers

Verifying source of message across a unsafe transport boundary

I am building a system comprising of 3 parts. System A, system B, system C. System A cannot directly talk to system C and needs to go through system B. System B may contain many System Cs. One more concern here is that it's possible for system B to…
shreyasva
  • 13,126
  • 25
  • 78
  • 101
2
votes
0 answers

Message queue oriented design in e.g. Activemq Artemis

I have problems on designing message queue oriented design on a clustered fault tolerant system. There are three sites A B C. B is clustered as B1 B2 B3. C is clustered as C1 C2 C3. A message X (1000-5000 Xs per second actually) is sent to B…
user706071
  • 805
  • 3
  • 10
  • 25
2
votes
2 answers

Static Vs Dynamic controls + Situation based

I'm building an web application to manage instructions based on different parameters (eg. JobCode, State, Customer, Product etc..). I have allocated some 20 filler fields for each of such parameters. The display names of the fields may differ from…
The King
  • 4,600
  • 3
  • 39
  • 58
1
vote
0 answers

How can the Factory design pattern be employed in designing a system similar to Amazon shopping?

I have been reading system design of an amazon shopping website like system on educative, it is mentioned in the solution that In the Amazon online shopping system, we can use the Factory design pattern to maintain different orders and the bill…
Thejesh
  • 33
  • 3
1
vote
1 answer

One profile on multiple domains

I'm planning to build a link-in-bio type of service, let's say I have 3 domains: 1. main-domain.com 2. second-domain.com 3. third-domain.com When user registered an account at main-domain.com, the user will get a public page at…
xxx
  • 3,315
  • 5
  • 21
  • 40
1
vote
1 answer

How to architect a solution for generating and expiring short codes in a web application?

I'm working on a USSD application where I have a specific requirement to generate short codes for users after they receive a call with a pharmacy practitioner. These short codes should expire after 72 hours or become invalid once used by the user.…
1
vote
0 answers

What are some good ways to handle a continuously growing queue?

I have an application built with an Electron (node) "backend" and an Angular front end. The real world problem we are trying to build for is a long term (days at a time) monitoring solution. There is a 3rd party instrument that will generate files…
1
vote
0 answers

System design: Analytics data ingestion API

I just watched this Mock System Design Interview: https://www.youtube.com/watch?v=S1DvEdR0iUo Is it forbidden to use GCP services in a design interview process? E.g. Google Pub/Sub instead of Kafka. Btw the interviewee does use BigQuery at the…
stkvtflw
  • 12,092
  • 26
  • 78
  • 155
1
vote
0 answers

Service caller caching design in microservices

Our services just need to store stable information like the name and barcode of products or the name of warehouses. That's why I want to implement a cache layer to reduce network request in each time. The cache layer cannot be the database layer…
1
vote
1 answer

Optimising feedback forms backend design for gaming applications

I have to design and develop a feature in the backend for feedback forms in a gaming application. So the use case is that admin will create multiple feedback forms which will be shown to the user in the gaming application. This form will consist of…
nitin
  • 80
  • 4
  • 14
1
vote
0 answers

Mantine Ui for component library

I'm Developing a Component library for my company internal projects and will use that as a npm package. I'm using Mantine as a starter and will add customization using tailwind. I wrote this as a test button just to check things import React from…
Haseeb Ali
  • 43
  • 3
1
vote
1 answer

How to design a system with pub/sub with time-based coordination

I am working on a high-level design for a pub/sub model where the subscribers should not process messages until a specified time. For example, let's say a set of stock orders need to be cancelled exactly at some predefined expiration datetime. Let's…
1
vote
1 answer

Integrating multiple system with graphql and postgres

Application is built using graphql (hasura), postgres and nodejs. The app gets deployed to each clients separately having different DB and so on. Currently, we need to make connection to different clients, so they can access each other DB. One…
phantom
  • 1,014
  • 1
  • 7
  • 15
1
vote
1 answer

Flink operator design advice

I have some data that I need to process and aggregate, ideally avoiding data skew but I am unsure how to design a topology that would do so. As an example, my data would look like this: struct Object { int a int b int c } Now, the goal…
Baiqing
  • 1,223
  • 2
  • 9
  • 21
1
vote
0 answers

How to automate running multiple nodejs apps through console with different config files?

I have a node app that I need to run PER user account. The contents of the app will all be the same besides the config file that the user will edit. So, the user would be able to freely edit their config file and submit it to my server. Then, I…
John Park
  • 23
  • 3