At my work we have some old 'services' which are actually Console
applications which run 24/7 on our servers. Finally we decided to replace it with Windows Services
, but now we can see from each console window when there are errors or certain events (like too many requests etc.)
Now the idea came up to let every windows service write in a database every minute (so we can see if the service hasn't stopped), and also write in the database when there's certain events (like the many requests).
Now I've been thinking about hosting a WCF Service
in each of the windows services instead, because I think there's more possibilities (and I don't really like the idea of our databases having data inserted from 10+ services every minute) and it's still possible to write an application which sends requests to the WCF
services every x amount of time.
Are there any downsides of WCF
vs the approach of writing in a database? In a database of course it's easier to keep the data until it's been read, but that's only one (small) issue I can think of.
Thanks in advance!