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
12
votes
3 answers

Interview: System/API design

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 backend for a system that can allot phone numbers to…
NPE
  • 1,401
  • 4
  • 18
  • 31
11
votes
1 answer

How do you implement one to many relationships in Clean Architecture

I'm having problems using Clean Architecture. For those of you who have read Fernando Cejas' blog post http://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/, my question is based on it, and his code. His example project has only…
MikeWallaceDev
  • 1,458
  • 2
  • 14
  • 28
11
votes
2 answers

CQRS aggregates

I'm new to the CQRS/ES world and I have a question. I'm working on an invoicing web application which uses event sourcing and CQRS. My question is this - to my understanding, a new command coming into the system (let's say ChangeLineItemPrice)…
amitayh
  • 770
  • 1
  • 8
  • 19
10
votes
1 answer

How can I serve my django website from multiple machines, that is how can I make it distributed?

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 trying to make my systems distributed, so that I…
user10798329
9
votes
5 answers

How to implement undo functionality?

In my application I want to provide the user with a small undo functionality. There aren't many actions than can be undone by the user. Particularly the actions are: Add notes to an object Color an object Tag a objcet with a string Now I thought…
anon
8
votes
1 answer

Design patterns to facilitate these behaviours (audit trail behaviour and undo)

I am working on a system that needs to exhibit these behaviours: Audit Trail Undo / Revert to a particular version (such an action will itself be audit logged) I have seen a slightly similar question here, but it deals with only part of what I'm…
oompahloompah
  • 9,087
  • 19
  • 62
  • 90
8
votes
2 answers

What is reference when it says L1 Cache Reference or Main Memory Reference

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 -------------------------- L1 cache **reference** 0.5…
8
votes
2 answers

What technical detail should programmers consider while developing their own oAuth service?

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 consumer point of view (i.e. how to consume others…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
8
votes
4 answers

How to overcome shortcomings in reporting from EAV database?

The major shortcomings with Entity-Attribute-Value database designs in SQL all seem to be related to being able to query and report on the data efficiently and quickly. Most of the information I read on the subject warn against implementing EAV due…
7
votes
2 answers

Stream processing architecture

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 worker (sort of a "sink", in terms of graph theory)…
7
votes
2 answers

Serving static files in a microservices environment?

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 and one load-balancer that forwards requests to these…
Yoaz Menda
  • 1,555
  • 2
  • 21
  • 43
7
votes
4 answers

difference between system design and object oriented design

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, Encapsulation, Decomposition and Generalization. Both…
7
votes
1 answer

Why Cassandra is used for Kong Api Gateway

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 partition key. My doubt is why Cassandra is used for…
Nishat
  • 881
  • 1
  • 17
  • 30
6
votes
2 answers

Twitter fanout design

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 the approach, when someone posts a tweet, Twitter…
Mandroid
  • 6,200
  • 12
  • 64
  • 134
6
votes
1 answer

CLI design and implementation?

I am developing a time management tool for my personal use. I prefer using keyboard over mouse, and on the interface have a general purpose text box which will act like a command line. I have just started thinking about what commands I need, what to…
Majid Fouladpour
  • 29,356
  • 21
  • 76
  • 127
1
2
3
41 42