Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Syncronizing two computers

by BrowserUk (Patriarch)
on Jun 26, 2004 at 21:24 UTC ( [id://369876]=note: print w/replies, xml ) Need Help??


in reply to Syncronizing two computers

This is almost an impossibility using a multi-tasking OS on two separate machines.

Multi-tasking is non-determanistic, which is to say, that there is no trivial way to predict exactly when any given application on a multi-tasking machine will receive a timeslice. There are simply too many system processes competing for those timeslices, and no way to predict when any of those system processes will become ready for scheduling, nor how much of their timeslice they will require to complete their task.

Even simple variations, like one machine being configured as a server and the other as a workstation will mean that both machines are probably running different suites of system applications--and probably, different thread quantums (timeslices).

You might be able to get this level of synchronicity using a single tasking (DOS-like) OS if the hardware was identical on both machines, but even that is unlikely.

The only realistic hope would be to use a real-time OS (like RTOS or QNX).


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://369876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-18 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found