The high-level design and description of a software system. Architectural design distills away details of implementations, algorithms, and data representation to concentrate on the interaction of "black box" components.

learn more… | top users | synonyms

2
votes
1answer
239 views

How should I handle database failures in a web application? [duplicate]

I'm developing a simple RESTful API using Go's Goji framework (although this question is language-agnostic), in which parameters from the URL are queried against a PostgreSQL database. Here's how it ...
1
vote
0answers
157 views

What architecture is suitable for players matchmaking?

The system should match players to game rooms. When the room is ready it moves to a game server. Each game start request can have a list of prefered game servers and specifies exactly game mode ...
2
votes
1answer
64 views

Is storing data directly in a list node better than storing a pointer to data?

Suppose we have two different doubly-linked list structures: One has content of the node embedded directly in the node: struct Content { // some stuff }; struct Node { struct Node *next; ...
2
votes
1answer
27 views

Queue rescheduling naming convention (Command pattern)

For my project I'm creating a queueing mechanism based on the Command Pattern, which can execute one of a number of jobs. Jobs can add other jobs to the queue or can be added by a human. Most of the ...
2
votes
2answers
56 views

How hidden classes allows faster access to properties in google's V8?

As Lars Bak and Jay Conrod described in several videos and papers, the main idea of hidden classes in V8 is to store concrete offset or transition to another hidden class which probably contains this ...
9
votes
2answers
128 views

How do you handle shared concepts in a microservice architecture?

I am researching architectural patterns for an application I'm developing and a microservice approach seems like it would be a good choice but I am not sure how to handle interactions between the ...
-4
votes
0answers
37 views

image upload fuctionality in a web application [closed]

I am working on a social networking site and I want to implement image upload functionality. So I was wondering, where should I store the images uploaded by any user Some folder in the server ...
-4
votes
0answers
44 views

What is the most advised way to handle i18n on microservices? [closed]

What would be the most common pattern to do this? Every service treat their own problem? A central DB or file? A Central service? Would be great to get answers from people have actually done it ...
-1
votes
0answers
39 views

Wearable devices that communicate with my Apps or Applicaiton [closed]

I was looking for a door form where i kickstart my jurney. What i want to do is to make a device that will push things on internet.Device means a wearable small piece. What i don't understand is ...
1
vote
1answer
88 views

Layers of confusion (abstraction)

I have been assigned to a project where the end-product is a website as a music community. So it's uploading of music, sharing it amongst other users, listening to music from the website and so forth. ...
3
votes
3answers
210 views

How granular should we get with repositories?

Is it better to have a repository per model (this could be a class that represents a table from the database) or should just have one big repository for all data access methods? I have done the ...
0
votes
2answers
110 views

storm topology to handle “dating website”-like workloads

suppose im writing a dating website, similar to okcupid. there are profiles, and i need to compute the (N^2) "match" table - given every 2 profiles whats the match between them? i was thinking this ...
1
vote
5answers
381 views

Do bare computer systems (without OS installed) use (executable) files?

As far as I read, files are introduced in OS books. Before an OS is installed on a bare computer system, does the computer use files? In particular, executable files have formats in OSes, e.g. ...
-3
votes
1answer
54 views

Does cpu cache affects boot time?

...and most probably I should refer to the instruction cache, since data cache is unlikely to have major effects in boot time of a system... lets say for windows 7 64bit or any other example you may ...
-1
votes
2answers
36 views

Points to Understand Architecture of an Application/System [closed]

We are working on a knowledge transition of multiple applications (around 700). To make the process easy, I am preparing a list of key points we need to consdier for understanding the architecture of ...
0
votes
3answers
72 views

What level of a computer system does firmware run on?

In the following levels of a computer system, on which level does firmware (e.g. BIOS) run? I guess: BIOS doesn't depend on OS, so it must run on some level lower than level 3. BIOS is written in ...
2
votes
0answers
25 views

Best way to accelerate data access to two data warehouses?

I am embarking on a business intelligence project which will require abstracting access to two existing data warehouses. I need to design an application architecture to allow self-service business ...
0
votes
1answer
32 views

Client-Server Application Object with child Objects

Actually I'm going to build an Client Server Application, at the Login I recive the User Object from the Server. An user has a List of tasks, but I don't want to load them at the Login. So what would ...
1
vote
2answers
42 views

What's the correct way to architect multiple ASP.NET MVC applications dealing with similar data?

I am currently working to replace a bunch of legacy applications. The first one is getting close to being released, which will mean I will be starting the second one. Each application deals with a ...
7
votes
5answers
180 views

How do microservice system architectures avoid network bottlenecks?

I've been reading a lot about microservice architectures for server applications, and have been wondering how the internal network usage is not a bottleneck or a significant disadvantage compared to a ...
3
votes
1answer
245 views

OOP - How to refactor a “pyramid architecture”

Unbeknownst to me while I was building it, I built a "pyramid" architecture. I did not realize this until I laid it out in my new Visual Studio 2013 Layer Diagrammer. Each layer depends on the layer ...
0
votes
2answers
78 views

Class design and object references

Here is a very basic example of what I am trying to do. In reallity there are more relations but not something extreme or memory heavy. public class ClassA : ISomething { public double property ...
1
vote
3answers
152 views

Differences between Instruction set (architecture) and machine language?

Tanenbaum's Structured Computer Organization says: Every computer has an ISA (Instruction Set Architecture), which is a set of registers, instructions, and other features visible to its ...
0
votes
2answers
58 views

Content delivery design

I'm designing a system where users can access files stored in an external content storage service such as AWS's S3. Here's a simple diagram: ------ ------------ ----------------- | User ...
4
votes
4answers
314 views

What architecture/design to adopt when consuming a RESTful API? (iOS App)

TL;DR Part 1) I want to refactor the biggest part of the app on which I work - and it is pretty much spaghetti. It's a single class that makes the requests to the server, parses the JSON and saves ...
0
votes
1answer
28 views

SOC and self-initializing configuration

Disclaimer: I'm using C# for code examples. But I guess they should be readable/understandable for everyone. If they are not: please leave a comment. Okay I have a Client-Server application. The ...
3
votes
1answer
152 views

Grouping and nesting of REST APIs

My question is around best practice of aggregating or grouping REST APIs. I have a scenario where there are many different vendors, data sources, etc. and I think grouping REST APIs would make a lot ...
2
votes
3answers
162 views

3 tier architecture in .NET web applications

Nowadays most systems are designed as web apps. In the .NET world the famous three tier architecture is usually translated like this. Front End (Web Application) Middle Tier (custom DLLs using an ...
4
votes
1answer
70 views

Should I implement the consumer/producer pattern in my java video app, and if yes, how?

I built a small video frame analysis app with desktop Java 8. On each frame, I extract data (5 doubles now, but could expand to a 1920x1080x3 OpenCV Mat in the future). I would like to store this data ...
15
votes
3answers
1k views

Which version of Java should I use for a desktop application to reach the most users? [closed]

Am I correct to assume that most end users are using an older version than Java 8? Since I do not want to force people to upgrade in order to use my application, should I plan it to use Java 7 or even ...
1
vote
1answer
143 views

Problems with OO design for application with pluggable components

I'm trying to refactor an ugly code and make it easly extendable in the future. The application should be nothing else but a series of components that have input(s) and output(s). The components ...
1
vote
1answer
42 views

Setting Up “Internal” Network Between Multiple Servers?

So I have a few servers who handle different things. One is for a forward-facing website, one is an internally used website, as well as a few servers that host DB's. I am in the process of writing a ...
0
votes
0answers
28 views

Cache Memory Vs Main Memory [duplicate]

Why is the access time of the cache memory lesser than the access time of the main memory? I have tried looking at the sites as - tutorialspoint.com, education-portal.com etc. I know that the ...
1
vote
2answers
44 views

What layer generates commands for dependent services?

Our business works with truck drivers making pickups/deliveries of containers. The location of containers needs to be tracked. The drivers use mobile devices to generate a "DriverReport" (a log of ...
0
votes
0answers
28 views

What parallelism happens in a vector processor?

From Tanebaum's Structured Computer Organization A vector processor is very efficient at executing a sequence of operations on pairs of data elements. All of the operations are performed in a ...
0
votes
1answer
32 views

What does “address translations” mean in discussing advantages of vector processors?

From the quote from Wikipedia, does "address translations" here mean the translation from virtual memory address to physical memory address? Vector processors take this concept one step further. ...
2
votes
0answers
363 views

How does the Zope Component Architecture (ZCA) relate to Service Component Architecture (SCA)?

I'm very new to the principle of Service Component Architecture and Zope in general, but the more I look, the more ZCA seems to be a good solution for a certain class of problems I often encounter. I ...
6
votes
3answers
182 views

Are there memory-memory instructions?

From Tanenbaum's Structured Computer Organization, Most instructions can be divided into one of two categories: register-memory or register-register. Register-memory instructions allow ...
1
vote
2answers
50 views

Performing data operations that involve separate applications and data sources

I'm designing an enterprise application that produces output based on some input data from another application. In this case, I happen to have also built and thus do control the source application ...
0
votes
2answers
62 views

Instructions in ISA and microinstructions?

Is it correct that: a microinstruction is what can be executed directly on hardware? an instruction in ISA either can run on hardware (in this case, the instruction is a microinstruction?), or ...
13
votes
7answers
2k views

How to sell DRY architecture [duplicate]

I'm sure most are familiar with the phrase DRY in the software world - Don't Repeat Yourself. This is a fundamental principle of good software development. Here is a question (background first). ...
1
vote
0answers
82 views

How shall I project CQRS command and query services through WCF

I got directed to this site for more conceptual questions. Here is my issue: Im designing an application that uses CQRS to expose functionality to higher levels in the stack. This looks like below ...
1
vote
4answers
159 views

Making an automotive system more 'modular' in terms of software?

I am working on an automotive project that we are supposed to make more modular. I am a software guy and I have very little knowledge of automotive hardware.I dont have any requirements or details ...
1
vote
1answer
111 views

Consuming a rest API that exposes nested objects

I have a series of nested objects, exposed over a REST API, like so: class Categories { int id; string name; List<Subcategories> subcategories; } class Subcategories { ...
1
vote
2answers
87 views

Building an Amazon S3 based file sharing app using FTP [closed]

I am tasked with suggesting and building a solution for a company which wishes to share data efficiently with their clients through their own custom interface instead of using other data sharing ...
1
vote
1answer
109 views

One dll or many? [duplicate]

I currently have one "library" dll that has one module for each topic: Text, Reflection, Security, Math, FileSystem, FTP, Mail, Serialization, etc. In each module are public helper methods that may ...
0
votes
1answer
33 views

Architecture: Validate polymorphic votes - Controller or Model?

I have a question because I don't want to do something wrong. I have a polymorphic relation called votes. Well, I want to save votes but I need to validate if a user already has voted. But even if, ...
20
votes
10answers
2k views

Do algorithms depend on computer architectures?

I read somewhere (forgot which book it is) that algorithms are independent of computer architectures. Some even say algorithms are themselves computation (machines?)? On the other hand, books on ...
1
vote
1answer
86 views

Software architecture confusion App-Server/Client

i have a question about the following software architecture: So, there is one database, an app server, which provide a restful service, a client and a framework, used by the app server and the ...
1
vote
2answers
127 views

How do latency and bandwidth form tradeoff?

From Instruction pipelining section in Tanenbaum's Structured Computer Organization: Pipelining allows a trade-off between latency (how long it takes to execute an instruction), and processor ...