Good C#.NET Solution to manage frequent database polling

后端 未结 5 1416
被撕碎了的回忆
被撕碎了的回忆 2021-02-08 06:52

I am currently working on a c# .NET desktop application that will be communicating to a database over the internet via WCF and WCF Data Services. There will be many spots in th

5条回答
  •  时光取名叫无心
    2021-02-08 07:52

    I don't know why RSS would be simpler than having your web services cache information from the database.

    To compare the 2 options, let's say you need to know who edited an object in a report last (or the last time it was updated, etc.). With an RSS feed, you'll have to make a request for the feed, get it, parse it, and take action based on the relevant values. With a web service call that memoizes and caches it's database call, you just call the service and take action on the result. The only time I could see RSS being better is if 1) You are supporting multiple clients you either don't control or aren't .Net clients and 2) You are taking action based on a lot of the polled values at the same time.

提交回复
热议问题