Orleans_FrontendServer
2019-12-16 本文已影响0人
FiliChen
1. Frontend的作用
Orleans是通过Frontend而不是直接与Client进行交互,Frontend一般具有以下功能:
- 接收请求(Receives a request);
- 处理认证(Performs necessary authentication and authorization validation);
- 分配任务(Decides which grain(s) should process the request);
- 与Orleans交互(Uses Grain Client to make one or more method call to the grain(s));
- 接收Orleans的处理结果(Handles successful completion or failures of the grain calls and any returned values);
- 通知Client处理结果(Sends a response for the request);