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.
53 questions
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 ...
7 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 ...
1 vote
1 answer
542 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 ...
1 vote
1 answer
604 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 ...
-2 votes
1 answer
336 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 += ...
-1 votes
1 answer
62 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 ...
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 ...
0 votes
1 answer
507 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. ...