Newest 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 ...
TimoFran's user avatar
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 ...
Nerdy's user avatar
  • 109
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 ...
 sentientbottleofwine's user avatar
-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 ...
Rahul's user avatar
  • 107
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-...
einpoklum's user avatar
  • 2,788
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 &...
Alexey's user avatar
  • 958
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 ...
bielu000's user avatar
  • 343
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 (...
Ellen Spertus's user avatar
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 ...
Anton Petrov's user avatar
-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 --> ...
Anon's user avatar
  • 3,635
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 ...
ikiwq's user avatar
  • 29
-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 ...
germanshedder's user avatar
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 ...
User1254's user avatar
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 ...
UnifyBoard's user avatar
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 ...
nz_21's user avatar
  • 137

15 30 50 per page
1
2 3 4 5
4289