real-time

How "Real-Time" is Linux 2.6?

I am looking at moving my product from an RTOS to embedded Linux. I don't have many real-time requirements, and the few RT requirements I have are on the order of 10s of milliseconds. Can someone point me to a reference that will tell me how Real-Time the current version of Linux is? Are there any other gotchas from moving to a commer...

Ajax Push Engine

Hi all, are there anyone hear about APE (Ajax Push Engine) before ? I'm building Rails application and trying to create group chat with this APE realtime engine, the problem is how to make Rails communicate with APE Server ? Are there any tutorial or reference on working APE with Rails ? ...

realtime system database use

Given a .NET environment with Windows CE, can you persist thousands of records per second in a local database (SQL Server 2008 - standard or CE). What are the performance issues with persisting realtime instrument data in a database versus a log file? ...

How to store and compress data for real time data logging?

When developing software that records input signals (numbers) in real time, how can this data be best stored and compressed? Would an SQL engine be good for this, permitting fast data mining in the future, or are there other data formats that would be suitable or compressed enough for upto 1000 data samples per second? I don't mind buil...

How to build a server to broadcast real time video?

I need to build a system to broadcast videos, just like Youtube. But the video is real-time video, which means the video are captured, converted and broadcast immediately. Is there any open source software can do this? I really need some practical guides including the requirements (hardware and software). Thanks in advance~ ...

Real-time graphing in Java

I have an application which updates a variable about between 5 to 50 times a second and I am looking for some way of drawing a continuous XY plot of this change in real-time. Though JFreeChart is not recommended for such a high update rate, many users still say that it works for them. I've tried using this demo and modified it to displa...

Making a real-time audio application with software synthesizers

I'm looking into making some software that makes the keyboard function like a piano (e.g., the user presses the 'W' key and the speakers play a D note). I'll probably be using OpenAL. I understand the basics of digital audio, but playing real-time audio in response to key presses poses some problems I'm having trouble solving. Here is t...

OpenAL Real Time Audio Processing from Microphone

Hello. I would like to write a cross-platform application that can process and play back microphone data in real time. Imagine as a proof of concept a chat room where people can talk to each other and apply filters to their voices. Is OpenAL appropriate for this? If not, can someone provide an alternative? Additionally, if anyone ca...

How does Twitter search work?

I know how Google search works. A web-crawler crawls the web following links and downloading every page as it goes along. Then various algorithms index the page based on its content. How does Twitter search work? Does it index every word? I have seen Twitter say "Older tweets are temporarily unavailable.". Does this mean that they only...

Real Time Analytics Reporting

We are gathering a large amount of custom analytics data. We will be using Hadoop for running batch processes on the analytics. What real time reporting tool/datastore might we consider for storing and generating customized real time web based (as in displayed in a web page not web analytics) reporting. We are considering the rrdtool....

Twisted(asynch server) vs Django(or any other framework)

I need help understanding what the advantage of using an asynch framework is. Suppose I want to develop a simple chat web app. Why cant I write python code in the Django framework that does long polling where I dont send a response back the server until someone enters a new msg. What does Twisted provide that gives it an advantage for re...

How are Massively Multiplayer Online RPGs built?

How are Massively Multiplayer Online RPG games built? What server infrastructure are they built on? especially with so many clients connected and communicating in real time. Do they manage with scripts that execute on page requests? or installed services that run in the background and manage communication with connected clients? Do the...

JTree updates in realtime?

I'm looking for a threaded solution to updating my JTree every second. Basically, I'm... Importing an external file Creating an Enumeration off of that Building the tree off the enumeration The external file can change at random, and the data in the tree needs to represent this change in a somewhat reasonable time manner. How would ...

Biofeedback and red eyes

Recently, I've realized that I have stopped blinking while working at a computer. Are there any programs available to assist with blinking? Is it feasible to build a program with OpenCV (or similar software) with a camera to detect blinking (and the absence of) and maintain a decent blink rate? ...

Parsing commandline output progression containing carriage returns in real time with python

I am able to transform carriage returns into new lines. The problem however is to get it running in nearly 'real time'. It will be quite stupid looking if progres bar only values are 0 and 100 :-) This code returns output at once: import subprocess p = subprocess.Popen(['mplayer', '/home/user/sample.mkv'], stdout=subprocess.PIPE).comm...

Looking for ETL recommendations

We have a legacy app that needs to be rewritten, and due to its size, we can only do it bit by bit over several years. The idea is to keep developing new features for the new app while still providing access to unimplemented features via the legacy app. We're looking for recommendations for ETL tools that provide a GUI for the actual in...

Need a sortable JavaScript table which can handle real-time updates

I need a sortable table or grid widget in JavaScript which can handle real-time updates. I will be updating rows within the table via updates from Comet and preferably don't want a widget that requires me to redraw the whole table on each update or hogs the CPU when updating. ...

Real-time data in Matlab

I'm trying to get data from a server. Right now, I am polling the server every couple of seconds for the current values. I am wondering if it is possible to have Matlab get the data in real-time or if I am stuck with my current implementation. Has anyone done anything like this? If so, maybe you can tell me how you got started with it. ...

Java: How does the method scheduledExecutorService.scheduleAtFixedRate() ensures real-time execution?

Hi there! Because I'm executing a time critical task every second, I compared several methods to find the best way to ensure that my task is really executed in fixed time steps. After calculating the standard derivation of the error for all methods it seems like using the method scheduledExecutorService.scheduleAtFixedRate() leads to th...

I have a dynamic library, how to know if it calls malloc during run-time?

Hi, I need to do networking in uCsimm, Motorola Dragon Ball. As I'm running uClinux with RTAI patch, and I need real-time performance, therefore all malloc and its friends are undesirable. I have the following piece of code for socket dynamic library. How to know that it calls malloc during run-time? When I compiled in cygwin on Windows,...