synchronization

Server Sync Provider and SessionParameters

I'm currently building a custom ServerSyncProvider I've already overrided the GetServerInfo, GetSchema and GetChanges methods, but aparently I'm not getting any session parameters on the server side, like @SyncClientIdHash or @SyncLastReceivedAnchor, that should be kept on the client (I haven't done anything alteration to my SqlCeClientS...

Java synchronize statement around a lock

I was wondering if synchronize (lock) { ... } Where lock is an instance of java.util.concurrent.locks.Lock, treats lock like any other object or as the try-finally idiom i.e. lock.lock(); try { ... } finally { lock.unlock(); } ...

How to use an Internet Subversion respository when developing code?

I've painted my self into a problem working with a Subversion project from CodePlex - for this I asked for help here. I have a local repository and CodePlex has it's Internet repository for the project, and the two don't mix :-(. But my dear departed dad used to tell me that the difference between a clever man and a wise man is that the...

One-way Database Synchronization

There is frequently the need to synchronize data from master tables in one database to clone tables in other databases, often on other servers. For example, consider the case where a backend system manages inventory data and that inventory data ultimately must be pushed to one or more databases that are part of a web site application. T...

What is LiveMesh Object and its connection with Silverlight 3.0

I would like to understand that what is Mesh Object and its conection with silverlight, i am bit aware that it has got some relation with Local storage and then sync with the server data. But i would like to understand it fundamentally so if anyone can provide any link to the article for conceptual understanding or Step by step implemen...

File Replication across WAN link

Wondering if anyone can suggest a good file replication tool that will replicate across a WAN link. No fancy stuff, i.e. VPN, we're looking for just a straight up TCP/IP connection that will sync bi-directionally. We have looked at robo-copy, rsync (which we have in place currently but it's only one way) and a few others smaller tech...

unlocked_ioctl vs normal ioctl

In my driver's file_operations structure, I have: struct file_operations Fops = { read: device_read, write: device_write, unlocked_ioctl: device_ioctl, ... }; I.e. there is no ioctl field used. Is this sufficient to avoid Big Kernel Lock and enter into device_ioctl() without any synchronization? Or do I have to change i...

What is java's equivalent of ManualResetEvent?

What is java's equivalent of ManualResetEvent? ...

How to avoid flooding a message queue?

I'm working on an application that is divided in a thin client and a server part, communicating over TCP. We frequently let the server make asynchronous calls (notifications) to the client to report state changes. This avoids that the server loses too much time waiting for an acknowledgement of the client. More importantly, it avoids dea...

Lotus Notes Synchronization

I'm dealing with a client who uses Lotus Notes and would like the ability to use it on several different computers as he travels around a lot. He's gone out and invested in a portable hard drive so I was wondering whether he would be able to run the program directly off that. My first thought is there might be some issues with DLL files ...

Javascript Event Synchronization

I'm building a concert calendar that's very heavy on javascript (using jQuery). I'm having trouble synchronizing various events throughout the app, and I'm looking for suggestions for how to do this. An example of a simple use case: User clicks a month Calendar skips to that month An example of a more complex use case: User selec...

How to synchronize two SQL Server 2005 databases?

Hi! I'm looking for a tool (best for free) which can synchronize two SQL Server 2005 databases. I have a sql database that is hosted on a server and another sql database that is hosted on aclient. Both have the same database schema. Each client has its own sql server because the application needs to run offline. The client is being co...

Partial database synchronization between secure and unsecure site?

Hello all, I've been working with a couple different contact management solutions, but my security paranoia prevents me from wanting to put any sensitive data in the cloud. While I'm not dealing with anything like credit transactions that have detailed security requirements, I am considering handling sensitive personal data that I woul...

Read/write synchronization

I have a data structure whose operations can be categorized as read operations (e.g. lookup) and write operations (e.g. insertion, removal). These operations should be synchronized so that: Read operations can't execute while a write operation is executing (unless on the same thread), however read operations can be executed concurrentl...

Synchronization of ConcurrentHashMap modifiers

I would like to cache some IO with the help of ConcurrentHashMap. The modification on the binary file should be reflected in cache as well. Since the cache is going to be used by multiple threads all IO operations are synchronized. Modifications of map go inside the same synchronized block. Which roughly looks like: synchronized (file) ...

Syncing between two databases

Hello, I have an application that also has a web interface, one of the requirements is to be able to work on the application even if there isn't an internet connection available. Is there a need to sync between those databases? Those databases are ought to be pretty big disk space wise. If there is such a need how should it be done? What...

SQL Server 2005 - Syncing development/production databases

I've got a rather large SQL Server 2005 database that is under constant development. Every so often, I either get a new developer or need to deploy wide-scale schema changes to the production server. My main concern is deploying schema + data updates to developer machines from the "master" development copy. Is there some built-in funct...

Keeping C# and C++ classes in sync at runtime?

Hi, My application is built in two sections. A C# executable which is the front end UI and a C++ dll which is more the low-level stuff. My application creates and manages many instances of objects, where every C++ object instance has a corresponding C# object instance. What techniques or libraries can I use to ensure that objects in the...

Simple single user revision control

Hi, I work alone on various pet projects. I program them in different places (at home, at work..). I'd like the simples tool to help my workflow, something in between a basic revision control system and a sync tool. For this small projects I just work on different directories (for versions) and email myself zips (for syncing the work d...

Java's equivalent to .Net's AutoResetEvent?

What should I use to get semantics equivalent to AutoResetEvent in Java? (See this question for ManualResetEvent). ...