Questions tagged [near-real-time]
31 questions
114
votes
1 answer
Xmpp Vs Websocket
I'm about to develop a website that has near real time chat. I know that it can be implemented using xmpp or websocket protocols. I know also that the xmpp protocol has been developed in 1999 , and I guess it should be mature nowadays .On the other…

Khafaga
- 1,537
- 4
- 15
- 24
22
votes
6 answers
How are Node.js+Socket.io+MongoDB webapps truly asynchronous?
I have a good old-style LAMP webapp. A week ago I needed to add a push notification mechanism to it.
Therefore, what I did was to add node.js+socket.io on the server and poll the MySQL database every 10 seconds using node.js to check whether there…

Dan
- 15,948
- 20
- 63
- 92
20
votes
1 answer
What are the realtime communication protocols available for the web?
I recently came across WebSockets and my mind was blown about the possibilities they bring. I searched for a full list of such realtime (and near-realtime) communication protocols and technologies - such as XMPP, WebRTC but I couldn't find any near…

Sparky
- 4,769
- 8
- 37
- 52
14
votes
4 answers
PostgreSQL to Data-Warehouse: Best approach for near-real-time ETL / extraction of data
Background:
I have a PostgreSQL (v8.3) database that is heavily optimized for OLTP.
I need to extract data from it on a semi real-time basis (some-one is bound to ask what semi real-time means and the answer is as frequently as I reasonably can but…

belvoir
- 335
- 4
- 9
10
votes
13 answers
What constitutes 'real time'
I am having trouble deciding on whether to classify my application as 'real time' or 'near real time', or perhaps even something else.
The software receives data immediately as it is generated from the source, then based on certain rules, raises an…

Steve M
- 10,517
- 12
- 52
- 63
7
votes
1 answer
Using Snowpipe - What's the best practice for loading small files. eg. Thousands of 4K files per day?
Questions
How much more expensive is it to load small files (eg. 4K) using Snowpipe than say 16K, 500K or 1-10Mb (the recommended file size). Note: This question implies it is more expensive to load small files rather than the recommended…

John Lion
- 71
- 1
- 4
4
votes
2 answers
How Do I do Real Time Sound/Signal Processing On The iPhone?
I may be doing an iPhone-based application doing near-real-time sound-processing (filtering, etc). I was wondering the best way to get started. Would I want to create an audio cue for recording and processing sound, as described here?
Edit:
I should…

Joe Soul-bringer
- 3,294
- 5
- 31
- 37
4
votes
1 answer
Reduce TTFB on PHP empty file
I have trouble reducing TTFB on PHP.
Even when file is empty it needs about 100ms. It doesn't matter .php or .html, both need the same time.
I have a decent server on HETZNER, server is not loaded and shoudn't have any problem.
Can it be problem…

temo
- 612
- 1
- 9
- 25
4
votes
2 answers
Fastest and most efficient upsampling routine for Audio in Java
I have a need to convert audio samples from 11025 and 22050 to 44100; I'm looking for the fastest and best sounding conversion routine. I require that the answer be given in pure Java, without the need for external routines or libraries. The source…

Paul Gregoire
- 9,715
- 11
- 67
- 131
3
votes
1 answer
Is there a way to find out the documents updated/written during a day to a solr index
We have a product which acts as the source of reference data to various product teams within our organization. The data has been stored in a solr index we have exposed services to provide clients with access to this data.
Now we have a requirement…

Manish
- 909
- 1
- 11
- 23
3
votes
1 answer
Lucene near real time search
I am using Lucene 6.6.0 and I would like to use the near real-time search feature of Lucene. However, I could not manage to implement it. The way I try to get the feature is as follows:
I initialize an IndexReader instance:
this.reader =…

C. Güzelhan
- 153
- 3
- 12
3
votes
2 answers
How to stream a (big) log file?
When automation testing is running I cannot connect to the testing computer and check the log file to check the progress of the testing because I would interrupt the testing. I can map the hdd and check the file this way but I want to add new…

Radek
- 13,813
- 52
- 161
- 255
2
votes
3 answers
shell_exec() in PHP
When the script above is executed from the browser, it loads for 10s and the dumps…

Amarnath Ravikumar
- 910
- 7
- 23
2
votes
2 answers
How to make a mutable ItemizedOverlay
I would like to make a Google map overlay with changable pins. An easy way to visualize this would be to think of a near real time overlay, where the pins are constantly changing location.
However, I can't seem to think of a safe way to do this…

Hamy
- 20,662
- 15
- 74
- 102
2
votes
2 answers
Is it possible to obtain real time search results sorted by frequently updating field with Lucene 3.0 in Java
Consider following assumptions:
I have Java 5.0 Web Application for which I'm considering to use Lucene 3.0 for full-text searching
There will be more than 1000K Lucene documents, each with 100 words (average)
New documents must be searchable just…

WildWezyr
- 10,281
- 6
- 23
- 28