Apache Ignite for .Net:在服务网格中使用异步方法有什么限制吗?
Apache Ignite for .Net: is there any limitation on the use of async methods with Service Grid?
我可以在 Apache Ignite for .Net 2.7.1 中托管的服务中使用异步方法吗?是否有任何相关的限制或陷阱?只是问一下,因为在关于服务网格的讨论中没有提到异步方法。
是的,您可以在 Ignite 服务调用中使用异步方法。
要记住的一件事是服务线程池的大小。所有服务调用都在 separate thread pool 上执行,默认大小为 max(8, total number of cores)
。
您可能希望通过更改 IgniteConfiguration.ServiceThreadPoolSize
属性 来增加该大小。
我可以在 Apache Ignite for .Net 2.7.1 中托管的服务中使用异步方法吗?是否有任何相关的限制或陷阱?只是问一下,因为在关于服务网格的讨论中没有提到异步方法。
是的,您可以在 Ignite 服务调用中使用异步方法。
要记住的一件事是服务线程池的大小。所有服务调用都在 separate thread pool 上执行,默认大小为 max(8, total number of cores)
。
您可能希望通过更改 IgniteConfiguration.ServiceThreadPoolSize
属性 来增加该大小。