Relative Content

Tag Archive for flutterapihttp

Long polling or periodic request in Flutter

I would like to know which “hits” the performance more strongly from a Long polling or a periodic request.
I need the request to update the number of notifications and now I use a periodic request in a separate isolate, but sometimes you can miss the “timing”.
Because of the moments when we don’t get into the “timing”, I want to switch to a Long polling, but I don’t understand how critical it is to keep the request and if we keep it, then also in a separate isolate?