Natan Silnitsky
1 min readMay 11, 2020

--

Hi Jose Corral, Thank you for reading!

I see two options here:
1. The browser user “cares” about each of these jobs, so they are all listed individually in the browser.

2. the N jobs are just a technical devision of labour which the user does not care about.
In that case, you can use the kafka compacted topic I discussed in the post (pattern 3) to store the current state of handled jobs (each job will write to a KV store when it is finished).
Once the last job is written, the notification can be sent on a websocket to the browser.

--

--

Natan Silnitsky
Natan Silnitsky

Written by Natan Silnitsky

Backend Infrastructure Team Lead @Wix.com

No responses yet