Good C#.NET Solution to manage frequent database polling

后端 未结 5 1480
被撕碎了的回忆
被撕碎了的回忆 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:44

    If the expensive operation is the server to pooling the database, you should implement some sort of caching. It can be basic as ASP.NET caching or advanced as using memcached.

    But if the expensive operation is the client pooling the server, you can use an Atom or RSS feed with PubSubHubbub to minimize the number of requests to the server. It'll get cheaper since there are some free PubSubHubbub publishers that will handle the load.

提交回复
热议问题