Not sure I understand the need for websockets. Since all the work is happening on the server anyway, you should be able to get away with just having the client poll the server periodically for an update on the status of background jobs. It is much less efficient, of course, but since the calibre server does not have to support millions of users, that shouldn't be an issue.
|