-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash recovery #34
Comments
I don't think "user can already use local storage to achieve similar things without a new API" is an argument against providing the capability because for a user to do it themselves. Instead that leaves a class of users that are unable to migrate to use the Beacon and may instead just stay writing complex code with IDB + fetch and maybe + beacons and/or maybe keeping unload handlers. The use-case of perfect logging system does not have to be our goal but if we were to say that crash recovery only occurs when the site could have done it itself (i.e. the site or a worker for the site becomes active) then I don't see a problem with allowing the data to live for a long time (if the site chooses it). As long as we aren't adding new capabilities that sites didn't have before, we should not be opposed to it on principal. |
I am definitely in that class of users, @fergald. I've tried multiple strategies to try to move to beacon transport, and measured each approach against the existing approach (spamming .gif requests) and the beacon method always comes up short. Especially when aggregating literally billions of user sessions. The difference is large enough that my peers/bosses won't accept that loss in the name of more efficient network usage. I don't believe these are all crash scenarios either; I think in some cases the network legitimately goes away (e.g., user on a train goes into a tunnel) and the message never delivers. More deets if curious/interested: #40 (comment) |
Filing this issue to track relevant discussion
The text was updated successfully, but these errors were encountered: