Server communication setup

bchip

Expert Member
Joined
Mar 12, 2013
Messages
1,299
Hi guys

Just hoping for a bit of advise on how to set something like this up.
I'm playing around with a project where I'd like to split an application over 2 computers,
the one collects and processes data and the
other one will take the processed data and use it for some calculations.

Doing all 3 processes on 1 computer can become a bit resource intensive, so I'd like to split it.

What is the best way to set this up (using C# .NET)
i.e What do I need to research to do this?

Is it a WCF type application?

Any guidance on this would be very much appreciated.
 

ToxicBunny

Oi! Leave me out of this...
Joined
Apr 8, 2006
Messages
113,498
There are many many ways to skin this specific cat really

Ultimately the choice you make will be defined by the mission critical status and scale you want to achieve
 

animal531

Expert Member
Joined
Nov 12, 2013
Messages
2,728
Yeah, ignore the Node.js comment. If you're already working in C# then there's no need to mix in other languages.

You can use any of (depending on your server setup etc):
Named Pipes
TCP/IP
Memory mapped file
Remoting
WCF
Message Queue
Small in-file Key/Value DB like Lightning.NET


I'm not sure what risks you're worried about, as long as your servers are firewalled off you should be ok. If they're on the internet in separate zones then you might need encryption etc and some of the options won't work...but it depends on what you're doing.
 
Top