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

0
votes
0answers
41 views

Microservices - remove unnecessary boilerplate?

My thoughts: microservices are becoming popular for distributed architecture java is (for now) a main course in enterprise applications JEE stack too How to reduce a boilerplate (including Maven ...
1
vote
3answers
157 views

Why is a architecture with anemic models the JavaEE standard?

I took a JavaEE course today and I was presented to the "default" JavaEE architecture, which consists mainly of Entities, Services and DTOs. The guy presenting the course explained that it was indeed ...
-3
votes
0answers
89 views

Interface Segregation Principle and casting

We all know what ISP is. The violation of the ISP leads to degenerative implementations of methods, implementations which just throw NotSupportedException and so on. So it is recommended to separate ...
5
votes
2answers
48 views

Partitioning REST API resources into areas based on business domains

In a major application REST API that covers several related domains, does it make more sense to split resources into 'areas' based on the business domain they belong to or is it better to to maintain ...
3
votes
4answers
152 views

Architecture: Are form default values considered business logic and where should the logic to calculate them be placed?

An example of default form values on a search form might be: Start Date - Today End Date - The last day of the next month Obviously, these are fairly simple examples, but default values can get a ...
12
votes
1answer
201 views

Conceptual mismatch between DDD Application Services and REST API

I'm trying to design an application that has a complex business domain and a requirement to support a REST API (not strictly REST, but resource-oriented). I have some trouble coming up with a way to ...
0
votes
0answers
33 views

Using xsd2Code and custom c# classes

I am using the xsd2code class generator to generate classes based on a schema file provided by a system vendor. This vendor also provides a REST API to access data via Web Services, and I've had a ...
3
votes
1answer
66 views

Consistent snapshot

Suppose process A has a consitent snapshot of some entities. And it is constantly receiving updates for this enteties. Now client B connecting to A and it should receive the consistent snapshot of ...
4
votes
3answers
69 views

Web Service and Message Queue

We're looking at creating a web services/REST API layer that will be consumed by web and mobile clients. To make the solution more robust I was considering putting the commands from PUT, POST, and ...
1
vote
1answer
29 views

Synchronization of resource that has moved out of requests filter range

I have a RESTful API with corresponding clients. If a client request fetches a set of resources (Events) based on a filter, say events taking place between 2015-04-13 - 2015-04-19. If an event which ...
1
vote
1answer
53 views

Web applications and homogeneity across users

My boss is asking me to implement certain features in a web application (rails) that are relevant for only a couple users, sometimes just one user (the reason is this is targeted for businesses and a ...
29
votes
6answers
8k views

Is it okay to have code smells if it admits an easier solution to another problem? [closed]

A group of friends and I have been working on a project for the past little while, and we wanted to invent a nice OOP way of representing a scenario specific to our product. Basically, we're working ...
11
votes
1answer
515 views

Slicing up the Development Stack - diagonally?

We've got a new project going on, and at the moment developers have been split into two teams, team A and team B. This project has 2 parts to it which require development throughout the development ...
1
vote
1answer
86 views

Clarification on MVC Architecture Overview

I'm doing an MVC 4 architecture diagram for a report and since I'm relatively new to MVC,i was wondering could some one clarify with me is REST (HTTPPOST etc) between view and controller, or ...
1
vote
1answer
37 views

Databinding When View Differs From Model

I have an entity Customer. Customer has a collection of Accounts. I have corresponding classes. The Customer class has-a List<Accounts>. I have two views. First page shows the Customer's name, ...
1
vote
0answers
81 views

How long should a GET request via a REST call take? [closed]

I am building a Single Page Application, and get the data through a REST API from a PHP backend. The admin view contains a list of all available websites in the system. There, a website is an object ...
1
vote
1answer
116 views

How to optimize the application with huge number of database requests per minute

I have to provide free demo of some service to end users in my application. Free demo could be of 30 mins, 1 hours, 5 hours etc. (predefined time) for a new user for one time only. User can also ...
2
votes
2answers
80 views

Having Foreign Keys in Business Objects

Let's say I have a business object called Child. It has no persistence logic, and is not designed around the UI. It merely represents a business entity. Parent will have a reference to the Child ...
2
votes
0answers
23 views

IRLBot Paper DRUM Implementation - Why keep key, value and auxiliary buckets seperate?

Repost from here as I think it may be more suited to this exchange. I'm trying to implement DRUM (Disk Repository with Update Management) as per the IRLBot paper (relevant pages start at 4) but as ...
9
votes
2answers
328 views

Should HTTP Request/Response objects be immutable?

I think it's safe to say that most web applications are based on the request/response paradigm. PHP has never had a formal abstraction of these objects. One group is trying to change this: ...
0
votes
1answer
64 views

Architecture for web and mobile clients

The application that I work on needs to have a web interface (ASP.NET MVC) and mobile interfaces (Android/IPhone native). The features for mobile applications and web application might not overlap ...
1
vote
1answer
53 views

Where view models inside Web project of n-tier application should be placed?

Let's assume we have an ASP.NET MVC web application with following tiers: Business logic Entities (business domain and database POCOs) Common (resources, consts) Data access (database EF queries, ...
2
votes
1answer
89 views

How do sites like SquareSpace and Wix support multiple design templates? [closed]

How do these guys do it? I've worked on a couple multi-tenant sites and I have a hard time wrapping my head around how you would go about having each page of your site support many designs. Sure you ...
0
votes
2answers
292 views

Structuring project (refactoring) [closed]

I'm working on a project that requires from me to make modular and extendible code structure. This code should be able to support multiple clients. The good news is that code should not do anything ...
0
votes
1answer
94 views

Architecture for my Java application [closed]

I try to create small Java tools to help me at my work every now and then. Usually these do not have to be pretty and I find myself coding a single, sometimes massive, Java class. However, now my plan ...
0
votes
0answers
41 views

REST Services with ASP MVC WebApi architecture feedback

I'm working on a new project and I had to design some REST Services with ASP MVC WebApi. I would like to show you my app architecture and learn from more experienced architects what I have ...
2
votes
1answer
102 views

Microservice architecture: single database owned by a single service? [duplicate]

We're rebuilding a system in a microservice archiecture. I know the standard practice for SOA is to have each individual service responsible for its own database. However, does it make sense to have ...
2
votes
1answer
322 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
188 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
69 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
32 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
70 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 ...
11
votes
2answers
290 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 ...
1
vote
1answer
97 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
213 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
161 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
405 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
58 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
38 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
77 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
26 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
2answers
62 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
60 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
262 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
255 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
80 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
218 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
69 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
383 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
37 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 ...