[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Joshua Belden

9/8/2004 10:05:00 PM

Small architecture question I'm hoping someone can answer?

I want to create a Windows Service Component that will periodically poll a
database for data changes, respond to several client application messages,
and in turn notify clients of events that they can then respond to.

I'm clear on creating the Windows Service, as well polling the database,
however, not sure on the other two.

Immediately I thought of Remoting; responding to events seems
straightforward. It quickly became confusing though trying to wrap my head
around having a singleton object running in the service that will also talk
to the rest of the windows service.
I'm also concerned about performance on the Singleton call.

My next thought was to use sockets and send and recieve messages that way
but wasn't sure if there would be considerable overhead using sockets vs
remoting. Not to mention the complexity of network programming.