Help

Discussion: Anonymous traffic limit trial

  • Started: about a year ago on Mon 6th Mar 2023

Public discussion This is a public discussion in Release forum.

started this discussion about a year ago.

Anonymous traffic limit trial

We are trialing anonymous use limits to help with server load. We believe that the performance issue is primarily caused by excessive anonymous traffic which we think a lot is not genuine.

Some initial tests showed a significant reduction on server load.

Please feel free to provide your feedback as we trial this potential improvement.

replied about a year ago.

Good move. Does seem better, it's been way slow logging routes via a challenged mobile connection lately.

Danny van Bruggen replied about a year ago.

Hmmm, I have quite a few 500's that disappear with a refresh now.

replied about a year ago.

For what it's worth, this forum thread didn't load the the first time I clicked the link on my dashboard. I measured 2.5 mins from I when appreciated the irony enough to start timing, it was probably ~3 minutes total. Firefox said there was no network traffic during the last minute.

It worked immediately when tried a second time with developer tools open to try and collect some more useful data for you.

Firefox 109.0 with Ublock Origin on Ubuntu.

replied about a year ago.

I'd be happy to do some careful measurements if someone tells me what would be helpful to measure and how.

replied about a year ago.

I did a bulk edit on this node node: https://www.thecrag.com/en/climbing/germany/area/5491058940 and waited minutes until the form was saved and the browser returned to the index.

replied about a year ago.

I've been getting sporadic "Internal Server Error"s since this change. I reported one on github, but just now I also got it on the home page.

replied about a year ago.

Same here, many pages only load correctly after reloading a couple of times.

replied about a year ago.

Christoph Rauch, Danny van Bruggen: I have created a github issue for the 500s: https://github.com/theCrag/website/issues/4184

It also seems that activity feeds for anyone who doesn't follow me are broken. https://github.com/theCrag/website/issues/4183

replied about a year ago.

Hmmm it is not obvious what is going on from our side of things. If you are logged in you should not be effected by the limiting logic. We have got one theory we are testing.

replied about a year ago.

Seems to be killing shared links from Facebook too...

replied about a year ago.

Ahh, this is a problem. We will have to fix this.

replied about a year ago.

Is the 500s happening in the last couple of hours? We made an experimental change to test a theory.

replied about a year ago.

At least on my phone I don‘t see any 500s anymore. But instead, the graphs in profiles take quite long to load. Also, the issue with requests taking much too long still persists. I often need a few attempts/clicks to even get to a page (doesn‘t matter whether it‘s index or profile or anything else), some requests just load forever.

When I get through, I noticed that the history stream is already preloaded for a long stretch of time into the past.

replied about a year ago.

Links from FB shares are working again. My dashboard took an age to load but I guess you will have flushed some caches.

replied about a year ago.

After clicking around randomly for a bit the performance seems to be hugely improved.

And I haven't seen any 500 errors since Simon Dale's post.

replied about a year ago.

Good move, also looking forward to a hopefully much more response site now! Haven't used it enough recently to say whether the previously common occurrences of several minute-long loads have now been reduced. Haven't seen any HTTP500.

Sergey Komarov FYI, previous discussions here https://github.com/theCrag/website/issues/3976

Heliodor Jalba replied about a year ago.

Software engineer here. Gonna be blunt: this smells like bad software design. There's no need for this kind of rate limit in a properly engineered website. Cache all the content as seen by logged-out users and serve it to these anonymous visitors from Cloudflare (or any other CDN network) . Your server will breathe freely.

Javi replied about a year ago.

Seems like the changes have improved the site performance A LOT. Thanks and congrats for the actions taken 👍

Freddie Chopin replied about a year ago.

No detailed measurements, but I would say that it is not better than it was and maybe even slightly worse. Europe, with very fast and stable internet connection.

Yonatan Siboni replied about a year ago.

Actually in the last few days the site working for me so smooth

Danny van Bruggen replied about a year ago.

Haven't done any editing lately, but I haven't had a wait for a week or so now.

replied about a year ago.

Is "TheCrag" still looking into this? For me it feels i sometimes get a rediculous delay, while other times the site works as excpected.

replied about a year ago.

There is still a lot of load, but the 32 server processes are no longer at 100% all the time.

Our load is still peaky and there is no way of us managing the peaks, so maybe this is what is going on for the occasional delay. Or it could be something else.

Whatever, the situation is greatly improved, but I still think we have we need to keep investigating and looking into ways of further improving.

Nobody replied about a year ago.

I confirm Andreas Aachen, still sometimes unusable long delays (browser timeout) in germany. It's so annoying that i stop contributing in these times at all.

juu replied about a year ago.

Yeah somewhat slow still.

replied about a year ago.

Same for me.

replied 9 months ago.

During the last week its been very spotty / laggy again with lots of timed out requests.

Danny van Bruggen replied 9 months ago.

Yeah, here too.

Philip replied 9 months ago.

Yesterday it was also a nightmare on my side.

The mobile internet is not the best at my current location, but I didn't have issues with other pages.

replied 8 months ago.

Is there a way to download the entire theCrag content of a region to the phone?

More and more often i am at the wall and want to look something up and i get minute long lags, which makes it a bit unusable for me :-/

Philip replied 8 months ago.

You can use the download/offline feature of the browser. But this will only download the overview without the individual route pages 🤷

replied 8 months ago.

Having the most important parts open as a tab in the browser is what I'm doing as well. Shouldn't the Topo Guru app have an offline function as well, or was that only if you pay for it?

replied 8 months ago.

PDF guide download may be an option

replied 8 months ago.

There is the html guide as well.

Showing all 35 messages.

You are not part of this discussion.