Friday, November 14, 2008

RTSP protocol in two lines

When we watch Video from our DVD player, we use a Remote to perform functions on this video, like Play, Fast Forward, Rewind, Stop, Pause, Jump. In technologies like Cable, IPTV, where Video is played from a Server, how do we perform al these functions. RTSP, Real Time Streaming Protocol. This is the network protocol which will take your commands like Play, Pause, Forward, Rewind to the server. That's practically it. I agree, this is more than two lines.

Wednesday, November 12, 2008

Multicore processors

Why multicore: Processor speeds can't be just by traditional methods(sending instructions faster ie at higher frequency to the processor). One processor can only get this efficient, fast; so why not two processors on the job for speed. There is also factor of power consumption; two processors will reduce power consumption(humm).
Caveat: The software running on top of the hardware should be multithreaded capable. Operating System runs on top of the hardware, so what are the requirements an OS must satisfy to use the full powe of multicore chips(humm). So, let's assume the OS supports different processes, or even different threads(at OS level) to utilise the multicore power.
Next level for Java developers: The JDK provides support for threads, agreed. But will these threads at JDK level use multicore feature. Guess not, with current JDK implementations.
Other questions:
For Java developers, it sure does no harm to brush up on Threading fundamentals, Concurrent Programming with J2SE 5.0(I still doubt if these APIs take advantage of low level power of multicore).
Sun says JDK7 should have parallel programming support, with Memory management/Garbage collection being parallel programmed, and fork/join framework avaailable in API.
Time to brush up on Parallel programming issues at OS level, algorithms, and be ready to develop next wave of multithreaded-multicore applications on Java.
How do current Windows and Linux use or not use multicore.
I have more questions than answers after reading one article of JavaWorld!