Set the capacity of the SELECT sink to 1 temporarily by nobu-k · Pull Request #104 · sensorbee/sensorbee · GitHub
Skip to content

Set the capacity of the SELECT sink to 1 temporarily#104

Merged
disktnk merged 1 commit into
sensorbee:masterfrom
nobu-k:select-sink-capacity
Jul 4, 2016
Merged

Set the capacity of the SELECT sink to 1 temporarily#104
disktnk merged 1 commit into
sensorbee:masterfrom
nobu-k:select-sink-capacity

Conversation

@nobu-k

@nobu-k nobu-k commented Jun 29, 2016

Copy link
Copy Markdown
Member

When streaming video frames from RPi, the process is easily killed by OOM if the receiver can't consume tuples fast enough. Although users can specify BUFFER SIZE and DROP IF in the SELECT statement, there's no way to specify those parameters for the Sink connected to the SELECT BQL box.

This problem should be solved by adding a way in SELECT (and perhaps INSERT INTO) statements to specify buffer size and drop mode, but it's temporarily fixed by setting 1 to the buffer size (i.e. capacity).

@nobu-k

nobu-k commented Jun 30, 2016

Copy link
Copy Markdown
Member Author

@disktnk

disktnk commented Jul 4, 2016

Copy link
Copy Markdown
Member

@disktnk disktnk merged commit 95047eb into sensorbee:master Jul 4, 2016
@nobu-k nobu-k deleted the select-sink-capacity branch July 5, 2016 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants