Newest Questions
64,330 questions
0
votes
0
answers
4
views
Best practices for serving encrypted files in Laravel?
I'm building a Laravel-based web application that functions as a personal online photo archive. Each user uploads and manages their own private collection of images. These images are encrypted at rest ...
0
votes
1
answer
15
views
Visibility between UML packages
I have been reading the book "OCUP 2 Certification Guide : Preparing for the OMG Certified UML 2. 5 Professional 2 Foundation Exam". Where-in I am unconvinced with the answer option provided ...
2
votes
1
answer
70
views
The applicability of functional core - imperative shell to a cli program which contains a wrapper around a binary
Not long ago while I was exploring for solutions to test without mocks I've found out about the functional core, imperative shell architecture. It sounds great, I also think that it would play nicely ...
-1
votes
0
answers
23
views
Is it best practice to publish avro records to redis channel? [closed]
I have a chat application built using java, spring boot, kafka, redis, and websocket. Here is the architecture.
+-------------------------+
| WebSocket ...
2
votes
1
answer
113
views
"dimension" vs "extent", "axis" vs "dimension" - when should I use which term?
I'm defining a small API involving both uni-dimensional and multi-dimensional data. In addition to representing the data itself, I also have function/methods/operators for creating a new multi-...
0
votes
3
answers
146
views
Design pattern for exposing different parts of interface to different entities
In a certain program I would like to have three objects, say, a, b, and c, with c being a shared private member (sub-object) of a and b. The data between the three objects shall only go this way:
a &...
1
vote
3
answers
115
views
Ensuring proper initialization order in event-driven C++ applications
I'm working on a C++ system where I have a concept of a "Board" object. Each board can have services attached (e.g. UpdateService, LoggingService, etc.).
I'm trying to design how these ...
15
votes
5
answers
3k
views
Is there a reason "replace conditional with table" isn't a standard refactoring?
I'm preparing a lecture where I will start with a many-branched conditional statement and replace it with a table. For example, I could start with:
function getMonthName(monthNumber) {
if (...
2
votes
5
answers
375
views
Does high quality software really use plain names like `Employee` to describe domain objects?
I am asking because we make games and each domain object most likely has different representations in different layers of the application. You have domain model, you may have some application-level ...
-2
votes
0
answers
84
views
What should I think about a compiler peculiarity that is not reproducable in simple code, is easily fixed, and probably wont bother me in the future? [closed]
Just a very strange bug:
void QSgmlParser::switch_p_LT_EX_EN ()
{
// <!-- comment -->
// <!--> -->
// <!---->
// <!---> -->
// <!-- foo --> ...
2
votes
3
answers
287
views
Handling authorization and authentication with an API gateway
Recently, I’ve found myself designing a microservices system, and I’m currently facing some challenges with authentication and authorization.
Context
All my microservices will be placed behind an API ...
-1
votes
0
answers
60
views
How can I handle API requests from a website, mobile app, and third-party apps? [duplicate]
I am designing my application to have a separate backend and frontend.
The front ends consist of a website, mobile app, and third-party apps (think Zapier).
The website will have full access to the ...
4
votes
2
answers
223
views
Managing Growth in Microservice Architecture: Is Modular Monolith the Solution?
Our team of 5 members are managing a microservice architecture that currently includes around 200 Java Spring boot microservices, with approximately 50 new services being added each year. We follow ...
2
votes
3
answers
195
views
How should small but highly requested features be prioritized in technically driven B2B products?
In technically driven B2B products — such as hosting panels, billing systems, or extensible CMS platforms — it’s common for users to request small but high-impact features, like:
Custom messages on ...
1
vote
3
answers
188
views
Design Question - Storing timeseries in a key-value store
I'm looking for a sanity check my thinking around the memory layout of a key-value store.
We have a system that periodically polls and monitors on host-level jobs. On every poll, a given job emit can ...