Unanswered Questions
321 questions with no upvoted or accepted answers
2
votes
0
answers
572
views
Designing large nanoservice architecture with AWS Lambdas
I'm moving from a coupled architecture to a decoupled architecture using microservices with AWS Lambda.
Here is my current architecture:
Each API Gateway route is linked to a specific Lambda, each ...
2
votes
0
answers
249
views
CQRS "private" command
In CQRS, if a saga (or more precisely a process manager according to the CQRS Journey book) sends out a new command to change aggregates how can I ensure that this command is not possible to send from ...
2
votes
0
answers
705
views
Is it OK to use mongodb's query object format as a parameter for my api?
I am designing an api that can give developers read-only access to a large dataset. The data is stored in a mongodb database.
All the results of the api, will basically either be a count of matches ...
2
votes
0
answers
146
views
How to design an interface for two similar but distinct objects
I'm designing an API for a JavaFX control to be submitted to the ControlsFX library. This control is called the ViewManager, and its purpose is to hold a collection of View instances, all of which ...
2
votes
0
answers
418
views
vert.x message bus architecture
A large part of the vert.x architecture is around the message bus, and message passing between verticals. The main idea I guess being that I can create multiple modules (possibly in multiple languages)...
2
votes
1
answer
587
views
Dependent Object Serialization
What's the recommended way to serialize dependent objects, especially when objects are being freshly constructed (to avoid malicious byte streams, or whatever)? For example....
After creating a (...
1
vote
0
answers
142
views
Package-by-feature within maven multi module package-by-layer project
As a consultant working for multiple companies that are using maven multi modules I have made the same discovery with all of them that I find strange. Lets say they want to build a webapp for a ...
1
vote
1
answer
667
views
AWS Java Lambda Class Naming Convention?
I wonder if there is a naming convention or a best practice to name Java Classes when building AWS Lambda functions with Java for REST API?
For example, if I have a Java project that contains Lambda ...
1
vote
0
answers
110
views
Best Practices for multiple development efforts, different versions of Java
I'm the sole developer working on multiple projects on different versions of Java, plus some Microsoft Sharepoint front end projects. I REALLY need to figure out a better setup for my development ...
1
vote
0
answers
45
views
Managing external-source depending workflows and rollback
I am looking for an elegant way to manage workflows and rollback when needed but the system is depending on various external services most steps of these workflows are triggering by external sources (...
1
vote
0
answers
71
views
advice for web communication protocol for "streaming" multiple JSON objects to multiple clients
As a hobby / to learn I am building an app in JavaScript using Node.js where a component of it will take input from a client, send it to a server, and then broadcast it to other clients. For ...
1
vote
0
answers
99
views
Multitenancy - Multischema DB and should we handle by individual microservice basis?
I am looking into the revamping my organization's application by moving from a monolithic into a microservice-architecture. My database is a multi-schema shared in one database. Each of these schemas ...
1
vote
0
answers
455
views
Simple Message Handler in Java with generics
I can easily put together a message handling set of generic apis in C# with the following quick and dirty code:
void Main()
{
var messageClient = new MessageClient(new TestMessageHandler(), new ...
1
vote
0
answers
114
views
Reactjs + nodejs external authentication flow
I am developing a RESTful application with nodejs in the backend with express.js as middleware. I am also developing a client in Reactjs.
I want to use an external authentication service (LDAP/AD/ADFS)...
1
vote
0
answers
145
views
Correct usage of ETags?
Currently my code makes a series of updates to some resource via a REST API but I also have some "rollback" logic that basically updates the resource to its original state before my updates ...