Event Driven Design is the implementation of requirements through a queue of events that are triggered by user input. Callback functions only create event objects and add them to the queue so state remains unchanged.
Questions tagged [event-driven-design]
241 questions
1
vote
1 answer
Time driven events architecture
I am looking into Time driven events and I can't seem to figure out how to this would be done without using an excessive amount of CPU constantly.
array events;
events[1] = [id:1,time:1440589943,event:happend];
While(running)
{
loop over events
…

John
- 1,095
- 3
- 15
- 31
1
vote
1 answer
File System Based Workflow
I have an application with a web-app, which basically accepts upload of some log files and there are some processes which are supposed to be acting on the received log files sequentially. In its current implementation, every process receives the…

ptntialunrlsd
- 794
- 8
- 23
1
vote
0 answers
Zf2 Event practice (changeable?)
i have an question about practice of events in zf2.
As best practice we have to use changeable interfaces by default, to inject objects dynamicly.
But, whats with Events? Should events be injectable?
For example an Authentication Service within an…

user3549136
- 57
- 8
1
vote
0 answers
Understanding event-driven in a Spring MVC application
I've read the code from this Spring MVC application:
https://github.com/spring-guides/tut-rest/tree/master/6/complete/src/main/java/com/yummynoodlebar/core/events
I don't understand the role of those classes from events folder. How can
I catch such…

Sorin Vladu
- 1,768
- 3
- 21
- 37
1
vote
5 answers
Asynchronous programming using Java
Where can I find asynchronous programming example using Java? I'm interested in finding patterns in asynchronous programming for building applications that present responsiveness (preventing applications that periodically hang and stop responding to…

iceman
- 4,211
- 13
- 65
- 92
1
vote
0 answers
How to setup a controller module to send/recieve events/notifications to/from multiple instances of another module in SystemC?
I have two modules written in SystemC, the first is called "worker" the other "boss". In sc_main, I dynamically generate a random number of workers. I want each to notify the boss module that it has started/finished working. At the same time I want…

The Byzantine
- 619
- 1
- 6
- 21
1
vote
1 answer
State machine event generation in multi-processor architecture
I'm having a small architecture argument with a coworker at the moment. I was hoping some of you could help settle it by strongly suggesting one approach over another.
We have a DSP and Cortex-M3 coupled together with shared memory. The DSP…

Rich von Lehe
- 1,362
- 2
- 16
- 38
1
vote
4 answers
Problems using ActiveMQ + activemessaging gem in ruby
I have AMQ + Activemessaging running in a Rails App.
I'm facing a problem with activemessaging not acting on messages when they are received. This is solved once i restart the client. Apparently, it works for a while but not sure when it stops…

cnikolaou
- 3,782
- 4
- 25
- 32
1
vote
1 answer
node.js return to client waiting for event
I'm playing around a bit with the concept of Comet on node.js, but I'm still a bit confused and I'm wondering if anyone here can point me in the right direction.
Think on a game app where client code should ask for it's turn to make a move (for…

Bardo
- 2,470
- 2
- 24
- 42
1
vote
1 answer
How to implement syntax highlighting in a native text editing application?
My background is as a self taught web developer. I am used to the request/response cycle. However, I'm getting more involved in event driven programming (JavaScript, native apps, etc). I had the idea that I wanted to write a native text editor with…

Andrew
- 227,796
- 193
- 515
- 708
1
vote
0 answers
Best place (and time) to insert ACLs/ACEs in n-tiers architecture
With all the processes we need to separate in a scalable web architecture and specifically in an Event Driven Design (synchronous and asynchonous jobs), i wonder where is the best place (and also the best time) to insert ACEs.
My first "naïve" move…

Benjamin
- 382
- 4
- 12
0
votes
1 answer
EagerReadDerivation: balancing the benefits with the costs
I'm studying Domain-Driven Design and Distributed DDD for an upcoming Silverlight application I'm going to be working on. The EagerReadDerivation pattern seems like it would improve the scalability of the application, but at the cost of increased…

user36262
- 33
- 4
0
votes
1 answer
QM Error: ERROR F041 Failed to parse the model file
I have a QM model that has been created using QM Version 5.1.1. Now, when I attempt to open it using QM Version 5.2.5, the following error arises.
If it is not possible to open QM Modeled with older version, now how should I install an olderversions…

Arian
- 65
- 6
0
votes
0 answers
Redis Streams, Event Driven Architecture and Schema Evolution
I'm really interested in using Redis Streams as the messaging backbone for a platform utilising event driven architecture in place of Kafka for the following reasons:
Lower cost
Drastically lower complexity (and virtually zero deployment and…

Daisy Day
- 652
- 7
- 19
0
votes
0 answers
How to achieve Service Orchestration using workflow like Airflow or Event-driven architecture
I am implementing a business process that performs 6 steps e.g.
The Service Orchestrator consumes an event from an SNS (or Standard Publish-Subscribe service) Topic
Using the message consumed from Step 1, The Orchestrator makes an HTTP call to…

Mega
- 1,304
- 5
- 22
- 37