Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我了解,它是服务器中长时间运行的过程。能否覆盖网络游戏服务器等长时间运行的程序实例?
您可以将工作角色视为 Windows 服务或 Unix 守护程序。正如您所说,它是一个永久执行的过程(尽管它可能在大部分时间处于等待状态,但这由您决定)。
本质上,它可以运行您想编写的任何代码。
它可以对外部刺激做出反应,例如通过从 Azure 队列服务进行轮询,但也可以打开通信通道、查询数据库等。