473,770 Members | 7,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Network application design

The design issue is detailed as following:

One application will write data to a flat file about every hour. Once
the flat file is updated, it must be transmitted to three different
remote locations simultaneously. The requirement is that the three
remote locations must receive the flat file at the same time within a
second, or the transfer was failed, that is, it cannot be that some
locations receive the flat file and the others do not.

What kind of network protocol and interface is best to meet this
requirement to transport a flat file from one location to three
locations simultaneously within a second? Thanks in advance.

Aug 9 '06 #1
4 1746
sa******@gmail. com (in
11************* *********@n13g2 00...legr oups.com) said:

| The design issue is detailed as following:
|
| One application will write data to a flat file about every hour.
| Once the flat file is updated, it must be transmitted to three
| different remote locations simultaneously. The requirement is that
| the three remote locations must receive the flat file at the same
| time within a second, or the transfer was failed, that is, it
| cannot be that some locations receive the flat file and the others
| do not.
|
| What kind of network protocol and interface is best to meet this
| requirement to transport a flat file from one location to three
| locations simultaneously within a second? Thanks in advance.

This isn't a C language issue. You may find it helpful to ask this
question in news:comp.unix. programmer and, perhaps, to do a web search
and read up on multicast networking.

--
Morris Dovey
DeSoto Solar
DeSoto, Iowa USA
http://www.iedu.com/DeSoto
Aug 9 '06 #2
On 9 Aug 2006 07:25:21 -0700, "sa******@gmail .com"
<sa******@gmail .comwrote:
>The design issue is detailed as following:

One application will write data to a flat file about every hour. Once
the flat file is updated, it must be transmitted to three different
remote locations simultaneously. The requirement is that the three
remote locations must receive the flat file at the same time within a
second, or the transfer was failed, that is, it cannot be that some
locations receive the flat file and the others do not.

What kind of network protocol and interface is best to meet this
requirement to transport a flat file from one location to three
locations simultaneously within a second? Thanks in advance.
I would use tribal drums.

Oz
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Aug 10 '06 #3
sa******@gmail. com wrote:
What kind of network protocol and interface is best to meet this
requirement to transport a flat file from one location to three
locations simultaneously within a second? Thanks in advance.

Your time constraints are going to require some kind of feedback, not to
mention clock synchronization . But in general, rsync (over ssl) is what
you are looking for, or looking to reinvent.
Aug 10 '06 #4
sa******@gmail. com said:
The design issue is detailed as following:

One application will write data to a flat file about every hour. Once
the flat file is updated, it must be transmitted to three different
remote locations simultaneously. The requirement is that the three
remote locations must receive the flat file at the same time within a
second, or the transfer was failed, that is, it cannot be that some
locations receive the flat file and the others do not.
Reduce your problem. You have a file N bytes in size, where N might be
large. To deliver N bytes to three separate locations within a second of
each other - 3N bytes all told - may not be possible. So break your file up
into two partitions, respectively N-1 bytes and 1 byte in size. Send the
first partition at your leisure, and get confirmation that everyone has it.
Then send the 1-byte partition, and get confirmation for that, with - of
course - a timestamp on it. (Note that, if you get each of the three
confirmations for the second partition within one second of sending, you
don't have to check the timestamps!)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Aug 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
50588
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork = WScript.CreateObject("WScript.Network") sPwd = inputbox("Enter password") WshNetwork.MapNetworkDrive "J:", "\\server1\data", false, "xyz_net\John", sPwd Msgbox "Drives has been map successful"
36
16417
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC path with a FSO: Set myFile = Server.CreateObject("Scripting.FileSystemObject").GetFile("\\server2\myshare\myfile.txt") this fails with an Permission Denied. here's the deal:
1
1432
by: ILCSP | last post by:
Hi,this has been bothering me for a while now. I have 2 MS Access 2000 databases, the real one that everybody uses (in the NT network) and the one I use to design new stuff. After I test the new forms on mine, I import them to the real database so everybody can use it. However, some of the code that works perfectly in my design database fails when I import the form to the network database. Sometimes the code is as simple as...
1
1126
by: Buddy | last post by:
Hello, I have an application that references about 40 assemblies (approx 80MB in total). I've installed the application on the network share and given a client PC full trust access. When I launch the application from the network it takes approx 4 minutes to startup, I've done network traces and found that it's spending all it's time downloading the 40 assemblies (approx 80MB).
4
1948
by: Boris | last post by:
I observe the following strange behavior of my application. Let say we have managed application MyApp.exe which depend on a few assemblies MyAssembly1.dll, MyAssembly2.dll and MyAssembly3.dll. The assemblies I mentione have strong names. I build the exe and all assemblies on my computer and install assemblies to GAC. I run MyApp.exe, test it and everything is OK. Then I copy all executable files (exe and dll) to our network server.
4
2028
by: Alex Maghen | last post by:
This is weird On my WinXP development box, database calls made from within my GLOBAL.ASAX go to SQLServer as user "ASPNET" even though I have impersonation turned on in my web.config. That's fine Now, when I move the whole application over to my Windows 2003 Server box, during the GLOBAL.ASAX calls to SQLServer, I get "Login failed for NT AUTHORITY\NETWORK SERVICE." I don't understand this. "NT AUTHORITY\NETWORK SERVICE" isn't even a user...
3
2232
by: Agnes | last post by:
My client hold its MS SQL server in hkbranch, Both china and hong kong office can run the vb.net application very well via VPN. Now, they want to reduce cost and move the MS SQL server to china 's data centre . During testing period, the user cannot connect to the SQL server and alwasy got "General Network Error", we said that the network connection may not be stable and suggest move back the SQL server. However, the Network Engineer of...
1
332
by: sagenaut | last post by:
The design issue is detailed as following: One application will write data to a flat file about every hour. Once the flat file is updated, it must be transmitted to three different remote locations simultaneously. The requirement is that the three remote locations must receive the flat file at the same time within a second, or the transfer was failed, that is, it cannot be that some locations receive the flat file and the others do...
5
7467
by: Jose Cintron | last post by:
I created a pretty basic program based on the "Windows Forms Application" template using C++ in VS 2005. When I run the program from my local system it runs properly (do happy dance), now when I copy the same program to a network share (I have a drive mapped to it) and execute the same program I get an error message that reads === Start Error Pop-up Window === Reporter.exe has encountered a problem and needs to close. We are sorry for...
6
2408
by: JDeats | last post by:
I'm in a situation where it's difficult to get on-site and troubleshoot, so I'm looking for scenarios from those experienced on what might be causing this problem. I have a .NET 2.0 WinForms based application that that has a few web references. The application makes the first web service/SOAP call when the user first launches the app to submit product registration information. The user is getting an generic "network error message" that...
0
10058
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10004
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7416
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.