Skip to main content

Questions tagged [reactive]

Reactive programming is the general approach to implementing systems in a reactive way, according to the Reactive Manifesto. The term "reactive" is most frequently applied to the various implementations of Reactive Extensions, pioneered by Microsoft, and appearing in many languages, usually with "Rx" prefix.

6 votes
4 answers
3k views

How do you honour the principle to only do "one thing" in a method in reactive streams?

Uncle Bob mentions in his book "Clean Code" that "[f]unctions should do one thing [...] only" and advocates that a method should stick to one abstraction level (I'd call it flight ...
Christian's user avatar
  • 171
1 vote
5 answers
341 views

Is storing computed values always bad?

Edit: I'm copying the question but changing the example code. Apparently, I used a bad example earlier that contained an imprue getter. I'm keeping the old example code at the bottom so the first ...
sharbel okzan's user avatar
6 votes
3 answers
2k views

Connotation difference between "subscribers" and "observers"

In the observer pattern, and similar, is there a meaningful difference between "subscribers" and "observers" in the wild, or in the lit? With RxJS and (functional) reactive ...
Alexander Mills's user avatar
-2 votes
1 answer
112 views

System design to present live query results over realtime data

Question What is a good storage layer, coding paradigm, and query language for computing over realtime data? Use-case For example, stock and options prices are (essentially) realtime data streams. I ...
geofflittle's user avatar
1 vote
1 answer
416 views

java threading model for scale up

I need some advice on the scale-up issue. we have a java application currently it works as below the current system is using the Thread Per Request Model. each client connection (long-running and ...
london tom's user avatar
1 vote
1 answer
718 views

DbContext lifetime in desktop app with SQLite

I am creating a small data-driven desktop application using .NET 5 with WPF, ReactiveUI, Dynamic Data, and EF Core 5. The app uses a local SQLite database to store all persisted state, and relies ...
wired_in's user avatar
  • 332
1 vote
1 answer
436 views

How to handle nested reactive properties in reactive programming?

When building an application or program using the concepts of reactive programming, how does this work for nested reactive properties? I have an example using Swift, ReactiveKit, and Bond, however the ...
Charlie Fish's user avatar
1 vote
1 answer
728 views

What is the relationship between reactive programming and stream processing engines?

When would I use reactive programming libraries like RX Java and Project Reactor compared to stream processing engines such as Storm and Flink? I am aware that these concepts might not be directly ...
Hyggenbodden's user avatar
-2 votes
1 answer
292 views

Is this OK to call a method that subscribe to IObservable multiple times? [closed]

I have this method: private void ModerateTravel() { var vm = new ModerateTravelViewModel(); moderate.ShowModerateTravel(vm); Observable.FromEventPattern<string>(h => vm.Error += ...
SIRS's user avatar
  • 281
12 votes
3 answers
6k views

What's the difference between reactive programming and event driven architecture?

What's the difference between reactive programming and event driven architecture? Is reactive programming a way of implementing event driven programming?
mohsenJsh's user avatar
  • 1,315
-1 votes
1 answer
48 views

Can Ionic apps be easily ported as a Web Application?

I am newbie to angular and Ionic world and trying to figure out the right stack to get started with my requirement to develop a hybrid mobile app. I understand that Ionic is a wrapper around other ...
Vishal Kumar's user avatar
0 votes
2 answers
1k views

What is the Difference between Reactive Extensions and Message Queue?

I am trying to understand the difference between Reactive Extensions and Message Queue? Are they competing frameworks? Can they be used in conjuction? Started programming, and trying to understand ...
DerrikRodgers's user avatar
3 votes
3 answers
5k views

How do non-blocking HTTP servers work?

My question is based on a few assumptions so please correct me on any of them below I know that TCP has always been socket based In order for a server to maintain that socket, a thread has to block ...
BGRT's user avatar
  • 49
-1 votes
1 answer
96 views

Which programming paradigm mixes well with reactive in java? [closed]

So I have the feeling that one can forget object oriented programming when reactive streams are in use, due to the lack of the async-await syntax (because with the call chaining, the state has to be ...
zeller's user avatar
  • 161
0 votes
1 answer
438 views

Web turn based game Architecture. With or without websockets?

I have written a turn based game (Dominoes) using Scala and Akka actors, where a Server manage all the game state and the clients (Players) receive the new state every time one of them plays a card. ...
Cheluis's user avatar
  • 119

15 30 50 per page