7 votes
Accepted

What is the difference between Hexagonal Architecture and Anti Corruption Layer Pattern?

These are orthogonal architectures: The anticorruption layer is an architectural pattern that intends to isolate one bounded context from the modifications of another bounded context, at the domain ...
Christophe's user avatar
  • 77.2k
6 votes

Allow-Rendering-Prevent-Download Architecture

Fundamentally, you are trying to solve an impossible problem - there is no difference between "rendering a file in the client's browser" and "download the file". They both involve ...
Philip Kendall's user avatar
3 votes
Accepted

Where to store config when using a external binary in a web service?

I'm kinda confused because in web app, I store configurations in DB but then it needs to be copied to the config file for a binary to receive. It looks like violating SSOT(Single Source of Truth). ...
Bart van Ingen Schenau's user avatar
2 votes

How to reuse parts of a Trie data structure (like a Trie DAG)?

An effective spell checker will need more than just a dictionary; it will need relative word frequencies. So it might e.g. have raw word counts from some training corpus. This will help highlight the ...
J_H's user avatar
  • 6,830
2 votes
Accepted

Allow-Rendering-Prevent-Download Architecture

The solution is to do the rendering on the server and just send an image of the part of the file currently being viewed. This is fairly simple, but you need some sort of rendering engine for the file ...
Ewan's user avatar
  • 75.6k
1 vote

How do you build a high availability, horizontally scaling application

You are asking about several concepts here, so I will take them one by one Horizontal scaling The general approach for building horizontal scaling applications is to identify the performance ...
Ccm's user avatar
  • 1,172
1 vote
Accepted

Combining Command and Visitor design patterns

I think you got a little bogged down with the two patterns. Maybe you thought throwing just a few patterns at your problem will improve the design, but IMHO that's not the case here, quite the ...
Doc Brown's user avatar
  • 207k
1 vote

Reduce duplicates in outbox pattern in event driven systems

does it make sense to at least improve the message relay and reduce chance of duplicates? It might make sense to do this, depending on your priorities (requirements) and options. First off, you may ...
Avius's user avatar
  • 397

Only top scored, non community-wiki answers of a minimum length are eligible