Better HN
topnewbestaskshowjobs
Log inSign up

aniketchopade

1 karma · joined Oct 19, 2021 (5y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

I had some trouble implementing when server has to wait for another endpoint (webhook) to feed output to browser . During request processing (thread1) had to store the sse context in native Java object which will be retrieved later when webhook(thread2) is called But then with multiple service instance you wouldn't know which service had stored it so webhook had to publish something which others has to subscribe.