Data transfer problem - ideas/solutions wanted (please)

This is a discussion on Data transfer problem - ideas/solutions wanted (please) within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi, I have an interesting problem. I have a (LARGE) set of historical data that I want to keep on ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-04-2006
E.T. Grey
 
Posts: n/a
Default Data transfer problem - ideas/solutions wanted (please)

Hi,

I have an interesting problem. I have a (LARGE) set of historical data
that I want to keep on a central server, as several separate files. I
want a client process to be able to request the data in a specific file
by specifying the file name, start date/time and end date/time.

The files are in binary format, to conserve space on the server (as well
as to increase processing time). The data in each file can be quite
large, covering several years of data. New data will be appended to
these files each day, by a (PHP) script. The server machine is likely to
be a Unix machine, whereas my clients will be running on windows
machines. My clients program is written in C++.

My main problems/questions are as follows:

1). Transfer method issue:
What is the best (i.e. most efficient and fast way) to transfer data
from the server to clients ?. I think SOAP is likely to be too slow,
because of the sheer size of the data

2). Cross platform issue:
How can I insure that that the (binary?) data sent from the Unix server
can be correctly interpreted at the client side?

2). Security issue:
How can I prevent clients from directly accessing the files (to prevent
malicious or accidental corruption of the data files.?


Reply With Quote
  #2 (permalink)  
Old 02-08-2006
Jasen Betts
 
Posts: n/a
Default Re: Data transfer problem - ideas/solutions wanted (please)

On 2006-02-04, E.T. Grey <nebula@alpha-centauri.com> wrote:
> Hi,
>
> I have an interesting problem. I have a (LARGE) set of historical data
> that I want to keep on a central server, as several separate files. I
> want a client process to be able to request the data in a specific file
> by specifying the file name, start date/time and end date/time.
>
> The files are in binary format, to conserve space on the server (as well
> as to increase processing time). The data in each file can be quite
> large, covering several years of data. New data will be appended to
> these files each day, by a (PHP) script. The server machine is likely to
> be a Unix machine, whereas my clients will be running on windows
> machines. My clients program is written in C++.
>
> My main problems/questions are as follows:



> 1). Transfer method issue:
> What is the best (i.e. most efficient and fast way) to transfer data
> from the server to clients ?. I think SOAP is likely to be too slow,
> because of the sheer size of the data


http is fast

> 2). Cross platform issue:
> How can I insure that that the (binary?) data sent from the Unix server
> can be correctly interpreted at the client side?


There are no issues here...
apache etc can serve partial or complete binary files, also report to the
client the time when file was last modified and its size etc...

> 2). Security issue:
> How can I prevent clients from directly accessing the files (to prevent
> malicious or accidental corruption of the data files.?


Don't give the clients write access

Bye.
Jasen
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0