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
We have an SaaS app where many (potentially thousands) of client SPA's (Single Page Application) issue requests to the server.
In order to filter duplicate requests:
1 each request hits the server with an ID;
2 each time a request comes in, the server checks the request's ID -- if processed, simply ignore; otherwise proceed as usual;
Is shortid good for this purpose? How likely 2 or more SPA instances generate the same ID using shortid?
Thanks!
The text was updated successfully, but these errors were encountered:
We have an SaaS app where many (potentially thousands) of client SPA's (Single Page Application) issue requests to the server.
In order to filter duplicate requests:
1 each request hits the server with an ID;
2 each time a request comes in, the server checks the request's ID -- if processed, simply ignore; otherwise proceed as usual;
Is
shortid
good for this purpose? How likely 2 or more SPA instances generate the same ID usingshortid
?Thanks!
The text was updated successfully, but these errors were encountered: