hanssens / localstorage

LocalStorage for .NET - A simple and lightweight tool for persisting data in dotnet (core) apps.
MIT License
74 stars 17 forks source link

How many users requets are safe? #42

Open WesleiStange opened 2 years ago

WesleiStange commented 2 years ago

Hello. This is a good solution, but I'm afraid of multiple users accessing the file. I'm using localstorage to save bearer tokens and other information about the logged in user. Do you think it would be a problem to use in a project that has 10,000 concurrent users?

hanssens commented 2 years ago

For the reading part it should be no problem at all. However, many concurrent writes might slow you down or cause instabilities. AFAIK The tool hasn't been battle-tasted with that in mind.