Skip to main content

Questions tagged [event-programming]

Event-driven programming refers to the programming technique where the flow of the program is driven by recognition and handling of events such as mouse clicks, key presses, etc.

Filter by
Sorted by
Tagged with
1 vote
3 answers
194 views

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
  • 351
0 votes
3 answers
289 views

EDIT: more direct situation I need to design a program that will create particular objects and run computationally intensive procedures using its fields in order to update other fields. When a ...
Raphaël's user avatar
  • 119
2 votes
1 answer
1k views

I'm interested in integrating with an external system which uses webhooks to notify clients of events. The system is very similar to Stripe - the REST endpoints have rate limits to avoid undue polling ...
Paymahn Moghadasian's user avatar
0 votes
1 answer
325 views

I'm designing a small platform based on a series of event-based micro-services. The persistence storage I'm targeting is (the managed) Amazon PostgreSQL (Amazon RDS for PostgreSQL) — although I can go ...
user avatar
0 votes
0 answers
420 views

Let's say we have a ecommerce platform. When user create order - we should make several actions like Send push to client Send push to custome Send emails e.t.c Generally I see two diffrent aproaches ...
Ilya's user avatar
  • 101
2 votes
2 answers
1k views

I have a use case to create a service that consume messages from a message queue, process them, store them in the DB, and expose the processed results via an API. Therefore, the service I'm going to ...
Deepal's user avatar
  • 129
6 votes
2 answers
4k views

I've read and tried the Transactional Outbox pattern for communicating between services. It is clear to me what are the benefits of this pattern, as it has two main parts: By using a transaction, we ...
oren's user avatar
  • 297
-1 votes
2 answers
366 views

I'm tinkering with the new streaming plugin provided with RabbitMQ, and researching how to implement event driven architectures in general. I noticed in the default configuration (maybe I have it ...
alilland's user avatar
  • 299
1 vote
1 answer
64 views

I have an application that is receiving a live stream of files, I am using active MQ for listening to the file arrival in s3. As soon as the file arrives in s3 my application downloads the file and ...
DDM's user avatar
  • 11
0 votes
1 answer
557 views

We have a standard microservices setup (Identity Server, API Gateway, services, etc). Some of the services schedule events to be dispatched in the future (future = anything from mins to months ahead) -...
Keir's user avatar
  • 143
1 vote
1 answer
1k views

I'm in a scenario where, when a certain command is applied on an aggregate, I have to change the state of the aggregate itself if ALL related aggregates are in the same state, then notify the world ...
Carmine Ingaldi's user avatar
-2 votes
1 answer
164 views

I have a server application that runs in an infinite loop, only reacting to SIGINT. It is put inside a screen process. If I have to make any changes (reload configuration, add new plugins, etc) I ...
a.ilchinger's user avatar
0 votes
1 answer
111 views

I was going through https://docs.microsoft.com/en-us/azure/architecture/patterns/choreography, the document mentions in the drawbacks of having a central orchestrator that it can become a performance ...
takasugi's user avatar
  • 303
2 votes
1 answer
363 views

I'm using event driven architecture, to perform realtime signal proccessing and to provide independent metrics. I decided to use a redis cluster to act a cache and a message bus. I'm a bit confused ...
johnny 5's user avatar
  • 335
0 votes
1 answer
241 views

We have a microservice that integrates with a third party system via REST API to handle appointment booking for our customer. It takes advantage of the event-driven model. Our microservice emits out ...
user2884707bond's user avatar
0 votes
1 answer
845 views

Please note: although this question mentions Angular and Spring Boot (Java), and it would be great to get an answer from someone with experience in that stack, I think this is more of an architectural ...
hotmeatballsoup's user avatar
-1 votes
1 answer
227 views

Let me explain what I mean there is a logical flow runs over various event notifications based on our web app, which is event-driven and it is quite common in my opinion. User clicks a button to ...
Qiulang 邱朗's user avatar
7 votes
3 answers
1k views

I am trying to understand the best practice around the event-driven architectures. say I have 2 services order service and inventory service. An user wants to order product and sends a request to ...
RamPrakash's user avatar
4 votes
1 answer
578 views

Recently I had a conversation with a colleague, who proposed that a whole app could rely on an event aggregator (or message bus). I think this is a really good pattern if someone wants to decouple ...
Shadow's user avatar
  • 361
1 vote
0 answers
433 views

I wanted to ask what are the possibilities of maintaining reliability when exchanging messages between microservices, when one of those message is rejected. As of today, we don't want to lose messages,...
mkuligowski's user avatar
0 votes
1 answer
490 views

We are introducing events to our system (I would hesitate to call it 'event sourcing', but we have started down this road). To do this we are still maintaining the same HTTP public 'CRUD' API's, but ...
jramm's user avatar
  • 165
1 vote
1 answer
317 views

I am developing a microservice architecture where the API publishes a message through RabbitMQ. One or more consumers will read the message, preform its functions then if successful acknowledge the ...
Trevor V's user avatar
  • 121
0 votes
1 answer
100 views

I have been the sole developer on a project for the past eight years. Right now it's one big monolith, but at this point it's really three separate apps, and those really need to be broken down as ...
Jhorra's user avatar
  • 147
1 vote
1 answer
283 views

Consider the following Group A Job A { Depends on Job B of Group A Run User -> User1 } Job B { Depends on Job C and Job D of Group A Run User -> User2 } Job C { Depends ...
ThinkGeek's user avatar
  • 119
0 votes
1 answer
444 views

We have put in place an account service management : its reponsability is to let a user register is account, confirm his email, etc... We have put also in place a process layer that is reponsible to ...
Dypso's user avatar
  • 231

1
2 3 4 5