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

4
votes
1answer
182 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
209 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
100 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
152 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
51 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
46 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 ...
1
vote
0answers
32 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
38 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
385 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
190 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
3answers
74 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
82 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
120 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
160 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
122 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
111 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
121 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
46 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
102 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
137 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 ...
10
votes
6answers
818 views

Bridging the gap between abstract machines and computer achitectures? [closed]

I always feel disconnected between abstract machines (such as Turing machines) and computer architectures (including virtual machines' architectures, Von Neumann's achitecture). So I would like to ...
1
vote
2answers
88 views

What does “issue or start an instruction” mean?

From Section 2.1.3 RISC vs CISC from Structured Computer Organization by Tanenbaum, While the initial emphasis was on simple instructions that could be executed quickly, it was soon realized ...
30
votes
6answers
1k views

How to handle initial state in an event-driven architecture?

In an event-driven architecture each component only acts when an event is sent through the system. Imagine a hypothetical car with a brake pedal and a brake light. The brake light turns on when it ...
3
votes
2answers
202 views

Game architecture - connecting different parts of the game

I do a bit of solo game development and always get stuck on some part of the architecture where I can't decide what the best way to tackle a problem is. I've just run into a good architecture problem, ...
0
votes
1answer
46 views

What are the languages, objects, data types, operations and features for lower levels in a multilevel model of a computer system?

From Structural Computer Organization by Tanenbuam In a certain sense, a computer with n levels can be regarded as n different virtual machines, each one with a different machine language. We ...
1
vote
0answers
21 views

Deciding between applications and services in CloudFoundry PaaS

I need some clarification on an aspect of CloudFoundry architecture guidelines. CF has two major concepts - applications and services. CF-Applications can consume CF-Services using the CloudFoundry ...
3
votes
1answer
110 views

What are subdomains, really?

In studying domain-driven design (DDD), I've come across the concept of subdomain, but I think I don't get it yet. My first understanding of this was that a subdomain is a subset of the domain of the ...
1
vote
4answers
308 views

Use JSON objects or POJOs in back end service?

I'm building a back end service for mobile clients. The requirement is that the mobile clients will pass me a token, I'll use that token to talk to other systems (behind the company firewall) in my ...
3
votes
2answers
222 views

How can I avoid tight coupling when practically every decision-logic has to check lots of distributed state?

As the senior developer in our company, I am currently starting to move our commercial php-mysql e-commerce solution (which takes data from a specific ERP-system) from procedural spaghetti-code which ...
1
vote
0answers
62 views

How to consume inconsistent REST API with Mongo DB backend?

We are using a third party REST API and we are building one of the pages on our ASP.NET site around the data it delivers. We get results in JSON, and interact with it mostly using .NET MongoDB Driver. ...
1
vote
2answers
38 views

Using many Resource URI to create a Record and handling failure

Hi Guys, I have a decision to make to solve a problem, I’m describing the problem below. Application Overview I have an ASP.NET MVC 4 webApp which uses Rest Api for almost all the tasks, from Login ...
3
votes
1answer
130 views

Web API Design advice

I am developing a Web API as services layer for a ASP.NET web forms application. There are two controllers ContractorController (gives details about the contractor) and PaymentsController (gives ...
1
vote
1answer
84 views

is a Model exactly the same as a Business Entity?

I've been programming for a long time now, and I have always seen Model classes exactly as a business entity. For instance: sales, users, products, orders, etc... But I have come to certain source ...
0
votes
0answers
33 views

moving Data mining model from “lab” to production environment

I am designing the architecture of an analytics system . I have a data mining ensemble model developed in scikit learn . I want to move this to the production environment so the new incoming data can ...
4
votes
3answers
192 views

Architectural / Application Practices to guard against 'breaking changes'

We have an application where the customer has changed their mind about a large area of functionality and this area requires a large amount of re-work. Whilst the re-work itself is not an issue, it ...
0
votes
2answers
67 views

Architecture for process that can be invoked to return errors as well as silently [closed]

I'm looking for some high level design/architectural input for the following. I have "some business process" I am writing in code (the importing of data from various CSVs into a database. There is ...
0
votes
2answers
100 views

Where should I place business logic validations?

We are having a heated discussion about this at work: For sake of simplicity, I will use examples in the question. Assume there is an application with an account request form, for which we have these ...
1
vote
1answer
253 views

Is DDD any good nowadays? [closed]

This is not a rant about DDD but rather some experiences and observations I've made through the past 2 years since I first learned about it. With this post, I'd like to hear what other programmers ...
0
votes
1answer
134 views

How does the Properties Pattern work?

I'm referring to the pattern (aka Universal Design Pattern) as discussed in this blog post Universal Design pattern I guess I'm not entirely clear how to use this in practice. And how it works to ...
2
votes
2answers
136 views

Should I use a large if statement inside a view or create a different view entirely?

I'm using the MVC architecture Laravel 4.2 to create a relatively complex web application. This application consists of a website which is very heavily based on whether an event has occurred or will ...
2
votes
2answers
100 views

Should ids be mapped to the implementation type

This is a question of model design, and hopefully some architecture nerds have strong opinions on this. I've been developing one that I will post in an answer. Typically, in every codebase I've ever ...
2
votes
3answers
342 views

Multiple users using the same script for their websites

I'm working on a project, I have a question regarding the architecture: Say I have a many python scripts on my server and there's main.py which contains all the classes. And there's a script called ...
-1
votes
1answer
88 views

What changes in .NET software architecture have taken place in the past couple of years?

I've been away from hands on development work for the past couple of years and focusing more on delivery management. I'm looking to get a couple of new projects ASP.NET MVC apps off the group and I'm ...
1
vote
3answers
170 views

Is my auto-update standard reasonable?

I'm looking to come up with a standard for how to implement a system that will automatically update software. As such, there is no actual programming (yet), but I still want to make sure my standard ...
2
votes
1answer
60 views

Integration between services in a SOA

Assume we have a Bounded Context for Inventory (InventoryBC) and another one for Shipments (ShipmentsBC). These 2 BCs need to communicate together. They are hosted on 2 different services on different ...
6
votes
7answers
260 views

How do you prioritize initial sprints to maximise the chance of catching architecture errors early?

I've worked on several projects that have used agile successfully as a means of providing continuous improvement on an already mature piece of software. But I've found it's much harder to be "agile" ...