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
-1
votes
1 answer

Google Drive Url System Design

I noticed this behavior on Google Drive. When a link is created for a file on Google Drive, the link is valid until the file is deleted. Moving the file to another folder(s) does not affect the behavior of url. I will like to understand how they…
-1
votes
1 answer

Throughput and latency

Each machine has 5 cores each with 2 threads for concurrent requests; how many machines would we require for 1K RPS throughput and 1sec latency. I am not sure if there is any way to calculate the no of machines with the data that is given.
-1
votes
2 answers

Multi Tenant dynamic key value store

I have to implement a system where a tenant can store multiple key-value stores. one key-value store can have a million records, and there will be multiple columns in one store [Edited] I have to store tabular data (list with multiple columns) like…
sobby01
  • 1,916
  • 1
  • 13
  • 22
-1
votes
2 answers

Why its recommended to use GET method for retrieve data in Rest API?

Why its recommended to use the GET method to retrieve data in Rest API? As everyone knows POST method is comparatively more secure and feasible to get data. Most of the designed systems use GET to retrieve since it's idempotent and "theoretically"…
Mad
  • 538
  • 1
  • 10
  • 27
-1
votes
5 answers

Why Java defaults to not include last value of a given range?

I am going through official TreeMap documentation. I see subMap() prototype as: public SortedMap subMap(K fromKey, K toKey) is equivalent to subMap(fromKey, true, toKey, false). I have seen everywhere, Java does not include the last value of…
-1
votes
1 answer

What are the differences between logical design and physical design?

I can't understand the difference between logical design and physical design. Can you explain the differences between them like you can list 5 differences?
-1
votes
2 answers

Fetch Unique Rows from Database in a Multi deployment Environment

I have a table (codes) in relational database MySQL which stores a list of unique codes. The schema sample is given below. Integer id String codes String user Boolean is_available id | codes | user | is_available 1 | ABC | | true 2 | XYZ…
-1
votes
1 answer

Distributed system design for quota on API

I am designing an API which can be hit only a defined number of times based on the subscription plan. Below are the plans per account: 10M hits per year - $100 100M hits per year - $300 1G hits per year - $600 I have this service running in…
-1
votes
1 answer

Whats difference between fail-over and replication?

Whats difference between fail-over and replication? I tried reading from this article https://github.com/donnemartin/system-design-primer#availability-in-numbers but I could not understand the difference.
-1
votes
1 answer

Java system design of a scenario

I have been attending interviews lately and there was one such question related to system design which I could not answer. The scenario is mentioned below : Scenario : There is a beverage machine which gives beverage like coffee, milk etc. What will…
-1
votes
1 answer

Game player matching algorithm (System Design)

Let's say we want to design a gaming platform for chess and our userbase is ~50M. And whenever a player comes to our platform to play chess we assign a random player with almost the same rating as an opponent. Every player has 4 level rating [Easy,…
Noob
  • 174
  • 1
  • 2
  • 19
-1
votes
2 answers

System Design Question :Processing third party large file every night

Our application receives a large dataset(Ex 100 GB) from third party tool every night and we need to process it and feed it to our system by end of day. We are free to use any infrastructure but processing time should be as minimal as possible , Can…
monk_7
  • 17
  • 2
-1
votes
1 answer

Database Design for continuous data stream

I am currently developing a tool where one client A can send a continuous data stream (just text) to a server and another client B should be able to watch the data stream in real time, as in fetching the same data from the server again. Of course…
-1
votes
1 answer

Azure Queue implementation vs other Azure solutions

I have to implement a ticketing system and I thought about multiple approaches, and one of them involves a queuing system between sql data and the ticketing app. Do you agree with this choice?How would you implement this? Have you got other ideas?…
-1
votes
1 answer

Kafka message filtering

I have a scenario where system A is going to get information from system B. Options/Scenarios B will send message to a topic for A to consume along with other consumers of the same topic Pros - for B things will be simple Cons - A has to consume…
ctimus
  • 87
  • 9