Home > Net >  The server install timers, ok?
The server install timers, ok?

Time:03-26

A WPF application USES the WCF service, the User is around 2000, plans to install a timer on the server, about five minutes to do a, the main job is to retrieve some data in the database, the workload is not large,
And timer, please perform like this, and endlessly what is good, what effect to the server?

CodePudding user response:

Control well make little difference, we have an automatic task service software, and is the timer, the service there is a lot of time task, good control, that is, every time the execution of a program

CodePudding user response:

If fear can add a switch, read registry or file, want to stop also can control,

CodePudding user response:

A ghost timer, I wrote the Load event, Windows program task calls directly

CodePudding user response:

You can create a service service,
Also can use quarzt.net to do a job

CodePudding user response:

You think timing task, this should be completed in response to user requests

CodePudding user response:

refer to 4th floor are nu month god reply:
you can create a service service,
You can also use quarzt.net to do a job

Quartz is a timer? And DispatcherTimer performance, or the impact on the server should be the same

CodePudding user response:

Either no
If indeed have an impact, it is also the data quantity is too large, it can only get a server alone, or in better hardware, there is no better way,

As to what the bat + Windows task regularly, quarzt.net... Is a story, not the better than you,

Look on the first run, optimization is not necessary to ahead of time,
  •  Tags:  
  • C#