What is the different between Ajax and Web Worker in Javascript?
ajax, web-worker
Solution
AJAX is specifically for communicating with a server, whereas web workers are a for background processing.
While AJAX is asynchronous (by default), this is not to be confused with a "concurrent" model of background processing that web workers offer.
A web worker could be any process and is not restricted to client-server communication.
Problem
I think they almost do the same thing. What's the condition that we should choose Web Worker than Ajax?