Performance of the chat are plummeting
Link issues together to show that they're related. Learn more.
Activity
- Author Maintainer
Are we kind of stuck with the following dilemma?
- unbearably slow indexDB
- localStorage overflow
- Owner
- Developer
I refer to the comment I made after speaking with JC: #176 (comment 35145)
In summary he recommends: 1) clear history on reconnect, 2) stick with localStorage. Obviously the ultimate choice is you to you guys, and if indexedDB seems to improve things here, great.
Clearing sessionStorage entirely will mess up RAI if the client resumes an existing session (if you clear everything related to the old session, this probably won't happen).
But in principle, if clearing local caches seems to improve stuff, there is no harm in doing it.
- Owner
Performances looks alright using IndexedDB + Websockets + Clear IndexedDB & sessionStorage before every initialization.
With localStorage, we usually overflow its max size on less than one session, leading to a lot of inconsistencies.
Don't know for @alexbourlier But I also feels that we have less "I-already-read-this-unread". Still, all my own messages are still marked as unread. #189 (closed)
But in principle, if clearing local caches seems to improve stuff, there is no harm in doing it.
Good to know
Edited by Jean-Baptiste Pasquier - Author Maintainer
Well, on my side I have no unread. My circles are never bold. So... pretty consistent UX so far :-)
- Please register or sign in to reply
- Owner
Closing in favor of #211 (closed)
- Jean-Baptiste Pasquier closed
closed