石英VS"无扩展" [英] Quartz vs "Reactive Extensions"
问题描述
我要寻找的C#调度库和很长一段时间我虽然唯一的选择是Quartz.NET这是相当强大的工作就好了。但是,当我发现无扩展(RX - http://msdn.microsoft.com/ EN-US /数据/ gg577609 )我意识到,它可以做时间相关的操作,以及与具有本机.NET前端。
I am looking for a scheduling library for C# and for a long time I though the "only" option is Quartz.NET which is quite robust and work just fine. But when I found "Reactive Extensions" (RX - http://msdn.microsoft.com/en-us/data/gg577609) I realized that it can do Time-Related operations as well and have native .NET frontend.
什么是接收在与时间相关的操作方面的限制?我需要反复触发任务特定的时间间隔,一段时间以后或如此。
What are the limitations of Rx in terms of Time-Related operations? I need to fire tasks repeatedly in specific interval, after time period or so.
并没有什么大的区别?(在性能等方面 - 以我的经验,例如石英冻结时有更多然后1500 + - 计划任务)
And are there any major differences? (in terms of performance etc. - for example by my experience Quartz freezes when there are more then 1500+- tasks scheduled)
推荐答案
这两个是不是真的具有可比性。是的,既可以时间表一个任务,从现在开始发生在一个特定的时间跨度,但那是的相似之处。
The two are not really comparable. Yes, with both you can 'schedule' a task to occur in a specific timespan from now, but that is where the similarities end.
石英是一个大范围的触发选项的完整调度方案和持续的任务文件或数据库。
Quartz is a complete scheduling solution with a huge range of trigger options and persists tasks to file or database.
无扩展是一个伟大的方式来处理流数据或事件,是的,也有节流方案或延迟的时间段。
Reactive extensions are a great way to deal with streamed data or events and yes, there are options for throttling or delaying for periods of time.
如果你想安排任务,那么石英可能是正确的选择。如果您需要某种事件触发的框架与选择缓冲,延迟和连接的负载,然后接收可能是比较合适的。
If you're looking to schedule tasks, then Quartz is probably the right option. If your needing a sort of eventing framework with loads of options for buffering, delaying and joining, then Rx is possibly more appropriate.
这篇关于石英VS"无扩展"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!