Hi there!
Inside a for-loop I'm controlling the simulation-step-based traffic simulator SUMO by retrieving and processing information of vehicles. To make sure that my program simulates in "real-time" (1 simulation-step = 1 second) I want to sleep my program after the processing phase until the next time step begins. To get better resul...
I need to synchronize 2 sites content. Every post in first should be mirroring at second and vice versa. What is the best way to do it using .Net - just simple web service which check every time interval updates and post it, or maybe smth else, like sync framework? can't find good example to do it.
...
Here is simplified version of my requirement
I have a java class say Processor that contains a method say bigProcess() all it does is connect to a file server, download a specified file once that is done save the file in DB and after that update some of the DB fields in different tables.
For each of the subtasks like download file, sav...
I'm writing a windows mobile application which will be running on a PDA, not a smartphone. It will also be used in an area with spotty wifi reception, so I need to be able to sync the data on the application when it is connected to another computer. What APIs or frameworks should I look into to perform this? I've looked at RDA and Syn...
I've a server/client arcitecture implemented, where all state changes are sent to the function, validated and broadcasted to all clients connected. This works rather well, but the system does not maintain syncrynization between the client instances of the game as of now.
If there happened to be a 5 second lag between the server and a pa...
I saw this somewhere, but I can't remember where.
Where can I find, for Mac OS X, a system that automatically syncs a folder to your web server, sort of like Dropbox does? The idea being that I can edit code on my computer, and it automatically updates it on the server.
It seems so simple, but I can't for the life of me find the servi...
Hello all,
I need to create project in which there are two databases local and remote. Remote database needs to be synchronized daily with local database reflecting changes made in local database.
I am using JAVA. Database is ORACLE. I have JAVA/JPA code that does CRUD operations on local database.
How to synchronize changes to remote da...
Hi guys,
i have to send emails when a person recieves a personal message on my website and for that i use a StringBuilder to create the HTML markup of the email.
also since it is required at many other places as well i have made a Shared Fucntion (i am using VB.NET). now my only concern is that since shared functions are shared among ...
Hi,
Does anyone know if iPhone (i.e. Cocoa Touch) lets you create custom properties?
I've used it with the mac before (where it works beautifully) and would like to use this technology for an iPhone app that syncs with an app on the mac through the Address Book (using MobileMe). If I can't use custom properties, however, I'll have to a...
I want to create a project in which it is required to synchronize local database with remote database. Changes made in local database must be reflected to remote database. This must be done synchronously. I have application which does CRUD operations on local database written in java/jpa. Synchronization should be triggered from java cod...
Data from another system is replicated into a SQL Server 2005 database in real-time (during the day, it's hundreds of transactions/second) using Goldengate. I'd like to be able to tell if there's been a transaction recently, which will tell me if replication is currently happening. Even in the off-hours, I can expect a transaction every ...
Hi Guys
Just curious to know (in as much detail as possible), why is it a bad practice to
modify the object while using it as a lock.
//Assuming the lockObject is globally available
synchronized(lockObject){
lockObject.someMutativeOperation(...);
}
Cheers
...
Hokay so here is what I'm trying to accomplish:
I'm going to be sending some mesh data over a network that my render-er (programmed in XNA) must render. For those not familiar, a typical XNA "game" basically runs in a continuous thread... which updates and draws your data. The problem is, I don't want to slow this thread down by havin...
I have a scenario where Multiple Producers are running on different machines in a Network. These are Singleton WCF Services which are queuing the Products (Output) in the Central Store which is also a Singleton WCF Service.
There are consumers who dequeue the product from the Central Store by calling the Central Store via a JSON Request...
We have live and stand-by database servers. Both are SQL Server 2008 databases and hosted on Windows Server 2003.
May I know the best practice that people follow to synchronize the 2 databases (live and stand-by) so that we could make sure the stand-by server up whenever the live server is down for any reason.
It would be great if you...
Hello,
I am building a GUI application that will be the front-end for an XML configuration file.
The XML structure defines a set of object instances. That is, type names, and property values that should be instantiated in the consuming application (windows service).
So there are three layers:
ConfigurationObject <--> ComponentObjects...
There's a couple of questions here.
Imagine I have client A who's going to send the following message to Server: "START MOVEMENT FORWARD".
The server will not receive this message instantly, as there is a delay because of latency.
Question 1: ping (or better: round trip time) is the amount of time it takes for the client to send a mes...
I'm planning to write a program to sync a folder in real time across multiple computers over the internet. I'm wondering if there is any sync algorithm to handle file sync conflicts, ie, computer A tries to save a file, while computer B has removed the file.
...
In multi thread programming we can find different terms for data transfer synchronization between two or more threads/tasks.
When exactly we can say that some algorithm is:
1)Lock-Free
2)Wait-Free
3)Wait-Freedom
I understand what means Lock-free but when we can say that some synchronization algorithm is Wait-Free or Wait-Freedom?
I ...
I'm looking for implementations of set reconciliation algorithm. The problem is following: there are two sets with elements identified by some relatively compact value (e.g. UUID or MD5/SHA1/whatever hash) sitting on different machines. These sets differ in relatively few elements and I want to synchronize these sets while transferring m...