menu
Tatoeba
language
Register Log in
language English
menu
Tatoeba

chevron_right Register

chevron_right Log in

Browse

chevron_right Show random sentence

chevron_right Browse by language

chevron_right Browse by list

chevron_right Browse by tag

chevron_right Browse audio

Community

chevron_right Wall

chevron_right List of all members

chevron_right Languages of members

chevron_right Native speakers

search
clear
swap_horiz
search
AlanF_US AlanF_US September 29, 2016 September 29, 2016 at 11:54:07 AM UTC link Permalink

I'm thrilled that Trang has fixed the major source of slowdown and reenabled search. I'm especially impressed that she accomplished this in the middle of the workweek. You're amazing, Trang!

{{vm.hiddenReplies[27359] ? 'expand_more' : 'expand_less'}} hide replies show replies
sabretou sabretou September 29, 2016 September 29, 2016 at 12:44:43 PM UTC link Permalink

Seconded. Brilliant work on the part of Trang, and anyone else involved.

bill bill September 29, 2016 September 29, 2016 at 12:59:21 PM UTC link Permalink

She rocks! :)

Pfirsichbaeumchen Pfirsichbaeumchen September 29, 2016 September 29, 2016 at 8:58:01 PM UTC link Permalink

Greatly done, Trang, and many thanks to you. ☺

Ricardo14 Ricardo14 September 30, 2016 September 30, 2016 at 3:32:38 PM UTC link Permalink

+1,000,000,000,000

TRANG TRANG September 30, 2016 September 30, 2016 at 8:40:06 PM UTC link Permalink

Thank you all =)

The cause for the recent slowdown was not obvious, but it was not too difficult to identify. And it was very easy to solve. The tough part was to figure out where to focus the investigations.

Before I found out what was the cause, my main fear was that the slowdown was caused by the growing number of sentences in the corpus, and if that was the case, it would have been much more difficult to fix. But it turns out that even with 5+ million sentences, we're still fine.

The problem was related to the lists, and it was a problem that existed ever since we introduced the lists feature, years and years ago. It was just clearly noticeable before because we had less traffic on the website, and because we also had less sentences added to lists.

If nobody used the lists feature and we had just a couple thousand sentences added to lists, the website would have kept good response time. But we have over 1 million sentences added to lists today.

If you were visiting the website while only a few other people are browsing at the same time as you, you would also not notice any significant slowdown, because with fewer visitors the server can manage to process your request right away.

If however you visit the website during rush hour, that's pretty much the same problem as when you go to the supermarket during rush hour. You have to wait in line. The server cannot work fast enough, it cannot process your request right away and you have to wait for it to process the requests of everyone before you.

Anyway, the crisis is over, and it's a relief. But this episode is clearly a warning that we should invest more efforts in optimization, to keep the server healthy. This is not really my cup of tea but thankfully, we have a rising active developer, Zach, who joined us back in April this year, and who will be helping on this task :)

{{vm.hiddenReplies[27369] ? 'expand_more' : 'expand_less'}} hide replies show replies
AlanF_US AlanF_US September 30, 2016 September 30, 2016 at 10:36:46 PM UTC link Permalink

Thank you, Zach!

Guybrush88 Guybrush88 October 1, 2016 October 1, 2016 at 8:38:32 AM UTC link Permalink

thanks to both you and Zach for your efforts in finding the cause of the slowdown and fixing it so quickly :D

dnnywld dnnywld October 2, 2016 October 2, 2016 at 6:12:40 PM UTC link Permalink

Thank you Trang, now it's so fast!!

DostKaplan DostKaplan October 1, 2016 October 1, 2016 at 9:59:10 PM UTC link Permalink

I didn't know the search feature had been restored until a moment ago! I was going through withdrawals from not being able to search. Thanks for fixing the problem!