Click here to Skip to main content
15,881,204 members
Home / Discussions / C#
   

C#

 
GeneralRe: Should I change C++ to C# Pin
Rocky Moore12-Jan-04 10:55
Rocky Moore12-Jan-04 10:55 
GeneralRe: Should I change C++ to C# Pin
TWS_Dave13-Jan-04 23:16
TWS_Dave13-Jan-04 23:16 
GeneralRe: Should I change C++ to C# Pin
Giles14-Jan-04 11:23
Giles14-Jan-04 11:23 
GeneralFolder Browser Dialog Pin
Itanium11-Jan-04 20:46
Itanium11-Jan-04 20:46 
GeneralRe: Folder Browser Dialog Pin
aneye11-Jan-04 21:55
aneye11-Jan-04 21:55 
GeneralRe: Folder Browser Dialog Pin
Heath Stewart12-Jan-04 2:10
protectorHeath Stewart12-Jan-04 2:10 
GeneralPaging - Performance - Scalability Pin
Mohamad Al Husseiny11-Jan-04 20:04
Mohamad Al Husseiny11-Jan-04 20:04 
GeneralRe: Paging - Performance - Scalability Pin
Heath Stewart12-Jan-04 2:26
protectorHeath Stewart12-Jan-04 2:26 
It greatly depends. Over what medium is it distributed? Does each client share in the processing of specific chunks of data?

If this application is deployed over the Internet using a DataSet is good because it is both serializable (which is good for both XML Web Services and .NET Remoting) and disconnected (better throughput). If each client processes parts of this data, you'll need something to delegate to the clients which rows they should be working on, or fill a DataSet with only the data they should process.

If your clients are on a LAN with the server as opposed to a WAN, the second method might be good because the server cursor will make sure that each client is accessing sequential data in a distributed manner. For an Internet application - as I mentioned above - the rate of data exchange will potentially be high which will result in congestion. You'll also have to take lengths to ensure that any data you in any object you send is serializable to transport via XML Web Services or .NET Remoting. If you use raw sockets, serialization isn't a problem but you might have problems using sockets (for instance, securing them if they need to be secured and bi-di communications can be combersome.

As far as stored procedures go, you'll still need something to track which block of records to delegate to the next client. A Singleton object exposed through .NET Remoting could help and it won't even have to worry about serializing data if you just pull it using a SqlDataReader or something. If this is a WAN- or Internet-deployed application, a SqlDataReader won't work, and even if it did it would create a high rate or smaller chunks of data which could lead to congestion and timing issues.

Depending on your answers to the first two questions, I hope the following paragraphs are of some help to you.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Paging - Performance - Scalability Pin
Mohamad Al Husseiny12-Jan-04 21:53
Mohamad Al Husseiny12-Jan-04 21:53 
GeneralRe: Paging - Performance - Scalability Pin
Guillermo Rivero12-Jan-04 6:47
Guillermo Rivero12-Jan-04 6:47 
GeneralFileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB11-Jan-04 16:46
RickardB11-Jan-04 16:46 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Heath Stewart12-Jan-04 1:52
protectorHeath Stewart12-Jan-04 1:52 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 13:41
RickardB12-Jan-04 13:41 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 17:26
RickardB12-Jan-04 17:26 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 20:47
RickardB12-Jan-04 20:47 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB14-Jan-04 0:00
RickardB14-Jan-04 0:00 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Heath Stewart14-Jan-04 3:31
protectorHeath Stewart14-Jan-04 3:31 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Rocky Moore12-Jan-04 11:02
Rocky Moore12-Jan-04 11:02 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 13:37
RickardB12-Jan-04 13:37 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB14-Jan-04 0:01
RickardB14-Jan-04 0:01 
General.NET Rebar Control Error Pin
David M. Kean11-Jan-04 15:54
David M. Kean11-Jan-04 15:54 
GeneralRe: .NET Rebar Control Error Pin
Heath Stewart12-Jan-04 1:36
protectorHeath Stewart12-Jan-04 1:36 
GeneralRe: .NET Rebar Control Error Pin
David M. Kean12-Jan-04 10:49
David M. Kean12-Jan-04 10:49 
GeneralMix Events Pin
Heroz11-Jan-04 12:35
Heroz11-Jan-04 12:35 
GeneralRe: Mix Events Pin
Colin Angus Mackay11-Jan-04 14:05
Colin Angus Mackay11-Jan-04 14:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.