hopfenspace / MateBot

Micro service providing an API for MateBot clients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Execute server callback queries in a separate thread or thread pool

CrsiX opened this issue · comments

commented

Currently, the server main thread performs callback queries to clients. This slows down consecutive queries if at least one client responds slowly or not at all. Therefore, those callback queries should be run in another thread or thread pool.

commented

Closing as implemented. Even though the callback queries aren't performed in per-application client sessions, there's dedicated worker thread to handles callback queries in a relatively easy manner.