Questions tagged [unbuffered]

This tag indicates data that is not in full temporarily stored in memory, but processed directly after reception. It is used with processing program input character by character as against line by line or in chunks of a certain buffer size, as well as with fetching results of a database query one by one as against the whole result set at once (e. g. MySQL/PHP use vs. store result).

49 questions
0
votes
1 answer

Making lftp write to stdout without having to close the process first

I'm trying to wrap the lftp program in a node.js application, using child_process. The problem is that lftp doesn't write its output to stdout, so I cannot catch its output in node.js. Sample code: var proc = require('child_process').spawn('lftp',…
Victor Stanciu
  • 12,037
  • 3
  • 26
  • 34
-1
votes
2 answers

How can I achieve unbuffering without Tcl?

I'm a happy user of unbuffer, but am now faced with a system that doesn't have Tcl installed (and I don't have root privileges). Can I achieve the same effect without using Tcl? A scripting solution would be nice, but I would not be averse to even…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
-2
votes
1 answer

Unable to read from close unbuffered channel

I know we can read from buffered close channels. So, I feel very confident that we can do from unbuffered as well. However, I am not able to test it out. func test(c chan int) { time.Sleep(10 * time.Millisecond) close(c) …
Tanmay Jha
  • 11
  • 5
-2
votes
1 answer

I want PHP to buffer my MySQL results client-side AND I want to begin using the results immediately

Do MySQL unbuffered queries really use no PHP buffering at all? And do buffered queries really buffer the whole result set before PHP has access to the data? From what I've read about MySQL buffered queries, this isn't what I want because I want to…
PHPguru
  • 1
  • 1
1 2 3
4