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
Hybrid Hybrid February 2, 2019, edited February 3, 2019 February 2, 2019 at 5:04:49 PM UTC, edited February 3, 2019 at 6:04:20 PM UTC link Permalink

Tatoeba is slow and I keep getting logged out. Sometimes it can take 30secs to 1 min to add a sentence. Sometimes the sentence is never added. Also, sometimes Tatoeba asks me to log in, but when I refresh, I'm logged in again. I often get "An Internal Error Has Occurred" when trying to load the homepage. I think Tatoeba is very close to not being usable right now.

{{vm.hiddenReplies[31282] ? 'expand_more' : 'expand_less'}} hide replies show replies
Pfirsichbaeumchen Pfirsichbaeumchen February 2, 2019, edited February 2, 2019 February 2, 2019 at 7:49:11 PM UTC, edited February 2, 2019 at 8:39:31 PM UTC link Permalink

Tatoeba has been slow for me for some time. Searches can be extremely slow. Entering sentences or translations regularly takes a long time, too. So does loading the home page. Pages of particular sentences do not seem to be affected by that issue so often.

TRANG TRANG February 3, 2019 February 3, 2019 at 11:08:01 PM UTC link Permalink

Tatoeba has been slow these past few days mostly due to the search. The "internal error" you've got on the homepage is because the random sentence relies on the search. I assume the search was failing and as a result the homepage was failing as well.

When issues with the search happened last time[1], the problem was due to too many changes happening in a too short time. It created a sudden spike in workload for the search engine, it couldn't handle it. This time I'm not 100% sure, but it's likely for the same reason.

Note that "too many changes" doesn't necessarily mean too many sentences added or edited. It can be any change on data that the search needs to handle: tags, lists, owner of sentences... So it's not necessarily obvious what causes the search engine to breakdown.

The current "quick and dirty" solution is to disable the search from the website, run some script so that the search finishes its usual background tasks in peace, then re-enable the search once the background tasks are done.

This makes the website usable again for some time, but slowness will come back as soon as the search is being overwhelmed.

The longer term solution would be to optimize the search feature. That would include migrating to another version of the search engine[2]. But it's a pretty big effort and we'll unfortunately need to wait at least another month before anything can be done about it.

---

[1] https://tatoeba.org/eng/wall/sh...#message_30960
[2] https://github.com/Tatoeba/tatoeba2/issues/1518