17,216 questions
0
votes
0
answers
37
views
Self-replacing binary using Rust, failed to restart application on widnows
we use self-replace to replace binary when we download new update.
we download the archive from the server, unpack and replace the old exe file with a new one, but after the replacement, we still have ...
0
votes
0
answers
35
views
Android how to implement a pending action depending on state
I’m working on an android app where users can add products to a cart, but there’s a conditional flow based on whether a delivery address is selected or not:
1. If the address is already selected, the ...
0
votes
0
answers
19
views
Should I use an event-driven architecture for DynamoDB updates or stick with direct writes? [closed]
I'm considering setting up an event-driven architecture for our new DynamoDB integration.
The main goal is to handle potential spikes in traffic or failed data insertions by placing the data into a ...
-2
votes
0
answers
23
views
Intercommunication between microservices [closed]
I am a beginner for software development. I want to know that does communicating directly from one microservice(e.g., SpringBoot) to other microservice through REST APIs violate microservice ...
-4
votes
1
answer
25
views
ddd - Is the authentication process another domain or part of my business?
I have been thinking about to move part of my application into a new microservice but I'm kinda confuse if makes sense when we talk about DDD.
Let's imagine the following scenario: I have a micro-...
0
votes
0
answers
33
views
optimized multi-tenant data model to support tenants without increasing the storage, using Kafka as a message queue
I'm working on a SAAS product where we have a multi-tenant data model with multiple fields that are specific to tenants. I am using Kafka as a message queue and PostgreSQL as datastore.
The way I ...
0
votes
0
answers
18
views
Architecture for near real-time DWH
I am trying to create a data flow architecture that is able to include different data sources (some of them will be real time events (insert, update, delete), some of them batch). The output should be ...
-1
votes
0
answers
26
views
How to map HS code products to Alibaba categories?
I'm trying to map a list of products (based on HS codes) to the closest Alibaba categories.
I have two json files, one contains hierarchical product data based on HS codes
Example:
[
{
"key&...
0
votes
0
answers
20
views
How to configure Keycloak to publish events to Kafka?
I'm developing a backend application divided into microservices and, for performance reasons, I need to duplicate some of the user's data (like his id and username) across every microservice with ...
0
votes
0
answers
26
views
How to eliminate a dependency cycle
1.When an agent is created, a token is automatically generated.
2.When a token is created, a corresponding UI is also automatically generated.
3.Since the token and UI are tightly coupled, a combined ...
0
votes
1
answer
25
views
Not understanding the infeasibility of P2P architecture for a fast-paced multiplayer video game?
Let's consider a fast-paced multiplayer web 2d game controlling a character where the client broadcasts the character's movement. Then every client will keep track of the environment and receive ...
-1
votes
0
answers
15
views
Azure private cloud calls external API
I have Azure in private cloud.
I would like to call an external API (external means public API in internet) and use the response to write data in a dedicated Azure Gen2 container.
How should I do? I ...
-4
votes
0
answers
35
views
Local DB vs. Payment Provider Records: Transaction History Strategy
So i am in the process of integrating a third party payment provider in my app.
I am at a cross road, seems to me that anytime a user want to see their transaction history i should hit the third party ...
1
vote
1
answer
39
views
Handling Multi-Table Updates in Kafka
We have an application that serves as a configuration repository, storing data in a relational database. Whenever a user changes a configuration item, it is persisted to the database and our goal is ...
0
votes
1
answer
15
views
Which component or layer should be responsible for base36 ID conversion?
I am developing a web application and want to implement base36-encoded IDs for URLs, similar to Reddit's approach (e.g., reddit.com/r/programming/comments/1jkgh2s/ where 1jkgh2s is the base36-encoded ...