473,385 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1725
sa******@gmail.com (in
11**********************@n13g2000cwa.googlegroups. 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
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 =...
36
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...
1
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...
1
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...
4
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...
4
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...
3
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...
1
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...
5
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...
6
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.