Nice design, but practice seems a lot slower. The list of online users updates a lot faster than I… - Feed Post by Dirk
Nice design, but practice seems a lot slower. The list of online users updates a lot faster than I get new questions, but it seems to be buggy.
posted by Dirk April 16, 2014 at 1:22am
Comments 5
- Practice was *really* fast when the new version was still in beta test phase. Not many people helped test the new version before release though, even though there was a link to the beta back on old JCJP (for most of the time).
The Online Users list was pretty much fine before, in the Beta, with at most around five people using the Beta site at any one time. It's a shame more people weren't helping to test the Beta version, so we could have tested these issues before it was released.
At least now these problems are visible, hopefully some changes and tweaks can be done to fix things and make it run more smoothly.April 16, 2014 at 11:18am - I actually did test the Beta. :-) I guess the problem is that the online user list just doesn't scale well; when the list gets longer, you have to send the longer complete list to all users, so it's O(n^2). Making the update interval longer in general, and adjusting it as necessary, or just updating when you've answered a question might help.April 16, 2014 at 1:34pm
- Oh right. ^^ Those suggestions seem sensible. I'm not sure, but it seems like Beeant has tweaked it a little already (or I'm just starting to get used to it).April 16, 2014 at 1:46pm
- thank you for the report Dirk!
I have optimized the online users list. I aimed for 100% real time but it seems to be limited to the current server specification. I have added a 3 seconds delay to update the online users list (the exp update is still real time).
How do you feel about it right now?April 19, 2014 at 7:46pm - The online users list feels much better, but new questions are still very slow from time to time. Also, I don't think the questions are evenly distributed; in the past few days, I got the same two or three questions each day, often several times.April 20, 2014 at 11:35pm