Questions tagged [backpressure]

Backpressure refers to the build-up of data at an I/O switch when buffers are full and not able to receive additional data. No additional data packets are transferred until the bottleneck of data has been eliminated or the buffer has been emptied.

Backpressure refers to the build-up of data at an I/O switch when buffers are full and not able to receive additional data. No additional data packets are transferred until the bottleneck of data has been eliminated or the buffer has been emptied.

Source - Techopedia

164 questions
0
votes
0 answers

Using RxJs with too high of a XHR frequency results in backed up requests

I am using ng-cli with Angular 2 and RxJs. The simple explanation of what I am trying to do is this: I am using RxJs to continuously make a XHR to a backend REST endpoint. I noticed that if the frequency at which I am making these XHR is 100ms,…
Jane Wayne
  • 8,205
  • 17
  • 75
  • 120
0
votes
1 answer

Backpressure to ReactiveKafka when sending to sharded actors

I have written an Akka application which takes input from Kafka and then processes the data with sharded actors and output to Kafka. But in some occasions the sharded regions can't handle the load, and I get: You should probably implement flow…
Hubert
  • 149
  • 11
0
votes
1 answer

Observable supporting reactive pull

I've been struggling for a while with what I believe is a pretty basic question. I have a Flowable which retrieves a bundle of items from the network and emits them. Flowable .create(new FlowableOnSubscribe() { @Override …
SqueezyMo
  • 1,606
  • 2
  • 21
  • 34
0
votes
1 answer

Backpressure observable based on resource scarcity

In RxJava 1 / RxScala, how can I throttle/backpressure a source observable in the following situation? def fast: Observable[Foo] // Supports backpressure def afterExpensiveOp: Observable[Bar] = fast.flatMap(foo =>…
dtech
  • 13,741
  • 11
  • 48
  • 73
0
votes
1 answer

BackPressure Exception in RxJava code even after applying proper operator

I am using RxJava in my android application. I am using a timer using the interval() function but I'm getting a Missing Backpressure exception even though I have added onBackPressureDrop(). I have also added onError() to my subscriber and am logging…
Shitij Goyal
  • 191
  • 1
  • 8
0
votes
2 answers

RxJava - Backpressuring keyboard inputs?

Here's a fun RxJava problem. I want to use RxJava backpressure operators to quickly lookup a typed input while each character is being typed, much like Google does on its search page. I went through the Backpressure documentation and I came up with…
tmn
  • 11,121
  • 15
  • 56
  • 112
0
votes
1 answer

Converting RxJS v4 code to v5, processing a queue with a "pull"

---abcde-----f-------gh-----i----> //Events I have a "work queue" that I want to observe/subscribe to. This is an array of command objects to process. New items of work typically arrive in bursts and they need to be processed serially (in the…
Mark Eric
  • 753
  • 1
  • 7
  • 14
0
votes
1 answer

Accelerometer RxJava Backpressure

Having trouble with backpressure. Using publish subject to get Sensor event on emitting, and need to save data to database on subscribe to subject in transaction. I have been trying to use .window(100) operator so i can bulk insert whenever i get…
ddog
  • 670
  • 1
  • 10
  • 25
0
votes
1 answer

How does Highland.js implement backpressure?

How exactly does Highland.js implement backpressure? I'm curious about this.
resgh
  • 974
  • 2
  • 12
  • 22
0
votes
1 answer

Avoiding backpressure with hot observable

I am using the Android ReactiveLocation library to receive regular location updates. I want to keep receiving location updates even if nothing in my app is using them, so that I always have an up-to-date location I can use immediately if I need…
Graham Borland
  • 60,055
  • 21
  • 138
  • 179
0
votes
0 answers

Sluggish behaviour of a Java Swing UI when Event Dispatch Thread "is too slow"

If I flood the Swing Event Queue from Java with a separate thread using SwingUtilities.invokeLater(..), the Event Dispatch Thread can't keep up with the pace, the EventQueue fills up and the application behaves sluggish. For example... in the…
Peti
  • 1,670
  • 1
  • 20
  • 25
0
votes
2 answers

Do Play WebSockets support back-pressure?

I need to add a WebSocket-to-TCP proxy to my Play 2.3 application, but while the outgoing TCP connection using Akka I/O supports back-pressure, I don't see anything for the WebSocket. There's clearly no support in the actor-based API, but James…
Isvara
  • 3,403
  • 1
  • 28
  • 42
-1
votes
1 answer

Apache Flink : architecture question : backpressure and handling failure mode

I have just started reading about Flink and wanted to know more about how Flink handles backpressure and how it handles failures when there is backpressure. I have read this blog post by data-artisans…
-1
votes
1 answer

Will there be a Reactive Cache API in Play

We are having problems using Play-Cache in that the API is blocking. Are there any plans anyone knows of to come up with a new cache API in Play that is not only non-blocking, but reactive with back-pressure? I've looked at Play-Redis, but it does…
1 2 3
10
11