2 ms·
you’re retrieving data from a cache, is it so outrageous to say that they should confirm that the data belongs to the account is retrieving it?
by aldarisbm 4y ago
you’re retrieving data from a cache, is it so outrageous to say that they should confirm that the data belongs to the account is retrieving it?
- Atheros 4y agoIt is pretty outrageous, yes. If Alice logs in and I correctly request Alice's details from the database, it's reasonable for me to expect that the database either returns Alice's details or an error. It shouldn't be up to application-layer programmers to code checks to make sure that a database doesn't return the wrong data 1% of the time. That kind of test is a test for the developers of Asyncio and Redis to implement, not users of Asyncio and Redis.