You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose it's offline and generates 100,0000 events in local without network.
This will create a bunch of JSON files in the events folder.
Once the network is back and available now. Then create one new event and call flush.
Which kind of behavior will it be handled? Will all of the json files be uploaded in one time?
Will this cause the UI performance issue if it uploads huge data in background continuedly?
The text was updated successfully, but these errors were encountered:
@arlyxiao the files will be scheduled to upload. the SDK runs on a different scope and coroutine entirely and uses a dedicated file thread, so no it won't impact UI. in addition, you could write your own flush policy if you worry about uploading too many files at once. if you interest in performance benchmark, please check out the following: https://segment.com/blog/sdk-performance-improvements/
it's not c#, but c# uses the exact same architecture.
one thing to note, the default FrequencyFlushPolicy tries to flush on a fix interval regardless the status of network. this could lead to some overhead. you should write your own policy to disable analytics temporary if network offline is a primary concern
Suppose it's offline and generates 100,0000 events in local without network.
This will create a bunch of JSON files in the events folder.
Once the network is back and available now. Then create one new event and call flush.
Which kind of behavior will it be handled? Will all of the json files be uploaded in one time?
Will this cause the UI performance issue if it uploads huge data in background continuedly?
The text was updated successfully, but these errors were encountered: