This simple worker service gets weather from https://openweathermap.org/ and log it every second.
if you have some long proccess functions in your webapp and dont want your web to be slow you should consider Background tasks and workerServices.
for more information click here