What’s the best way to retrieve huge data (only once when you create a local database) like 200 MB (may be in chunks) streaming tcp/ip or web service or directly from the DB server or something else?
Factors: Speed and may be security.
Languages: C# client anything on the server preferred open source.
If we take direct DB access how can I provide security?
Thanks
Vishal
Streaming TCP/IP is probably your best bet, because you will not have the overhead of the HTTP protocol which is really meant for textual data. But if you go with something webservice related, make sure that whatever solution you choose supports sending “chunked” data. Because with out it, your server is going to have to buffer the entire request before sending.
To answer you second question, you really don’t want anybody besides you in your data. So I wouldn’t even consider direct DB access.