New Filter

New workout filter - take 1,000,995

Yes, we've been here before. And before that. And probably before that too. Fingers crossed for this one!

The old filter worked by asking the database a question every single time you clicked a filter option. With thousands of people using the site at the same time, that's thousands of database questions per minute - and the database was not exactly thrilled about it. This is what was causing the slowdowns during busy periods.

The new filter loads a small index of all workouts once when you open the page and then does all the filtering right there in your browser. No database involved at all. Filtering is now instant regardless of how many people are on the site at the same time - because your browser doesn't care how busy our server is.

There's also a new Surprise Me button. Select any combination of filters and hit it - it picks a random workout from your current results and takes you straight there. Good for days when you want to train but your brain has left the building.

Everything else looks and works the same. The index updates whenever new workouts are added so you're always seeing the full library.

We'd love to know how it's working for you - please let us know in the comments below. Load speed, filter behavior, anything that looks off. You've helped us get this far through 1,000,994 previous attempts and we're counting on you for this one too.

- DAREBEE Team
 
Bard from Canada
Posts: 4,581
"Striving to be the change."

Moderator
Happy Love You GIF by sendwishonline.com


Love it! Super speedy and works great for me in Firefox.
The option for a random selection within the specified parameters is great!
 

Dyneti

Well-known member
from Europe
Pronouns: they/them
Posts: 269
Hi, thanks for taking the time to improve this 1,000,995 times!

I tried the new randomization function on mobile. I picked 4 random "strength" workouts and one was labeled metcon and one combat. How does this work, are some workouts double tagged when they fit into multiple categories?

Edit: on my next try I filtered on normal+hard fullbody workouts with dumbbells and 3 times "surprise me" gave me Spartan+ (advanced) and 2 workouts without dumbbells...

Edit2: scrolling through the workouts with the above filter showed me that Spartan+ indeed shows up in there, so maybe tagged wrong behind the screens? One of the "doesnt have dumbbells" workouts may have been Lift&Tone, which does have 2 exercises with dumbbells and 4 without, so may have been my mistake for not looking properly :sweat:
 
Last edited:

neilarey

DAREBEE Team
Shieldmaiden from Greece
Pronouns: she / her
Posts: 1,446
"I want to talk to the manager."

DAREBEE Team
Hi, thanks for taking the time to improve this 1,000,995 times!

I tried the new randomization function on mobile. I picked 4 random "strength" workouts and one was labeled metcon and one combat. How does this work, are some workouts double tagged when they fit into multiple categories?

Edit: on my next try I filtered on normal+hard fullbody workouts with dumbbells and 3 times "surprise me" gave me Spartan+ (advanced) and 2 workouts without dumbbells...

Edit2: scrolling through the workouts with the above filter showed me that Spartan+ indeed shows up in there, so maybe tagged wrong behind the screens? One of the "doesnt have dumbbells" workouts may have been Lift&Tone, which does have 2 exercises with dumbbells and 4 without, so may have been my mistake for not looking properly :sweat:
everything is tagged once to avoid any errors so one workout shouldn't show up in a different category. If it's strength, it'll only show up in strength. If it's level 2, it'll only show up in level 2. If a workout has at least one exercise with dumbbells in it, it's labeled "dumbbells" and not no-equipment :thankyou:
 

Dyneti

Well-known member
from Europe
Pronouns: they/them
Posts: 269
everything is tagged once to avoid any errors so one workout shouldn't show up in a different category. If it's strength, it'll only show up in strength. If it's level 2, it'll only show up in level 2. If a workout has at least one exercise with dumbbells in it, it's labeled "dumbbells" and not no-equipment :thankyou:
That makes sense! Then I may collect a list of some workouts that might have a mistake in their tags.
 

Dyneti

Well-known member
from Europe
Pronouns: they/them
Posts: 269
I tried the new randomization function on mobile. I picked 4 random "strength" workouts and one was labeled metcon and one combat. How does this work, are some workouts double tagged when they fit into multiple categories?
Regarding this. I think it was caused by me picking my filters, going "surprise me", deciding against that workout and then swiping back and clicking "surprise me" again. After swiping back it still shows my selected filter settings but the selection is not filtered anymore! The next random workout then seems to be picked from the shown selection, not following the filters? Maybe someone with more patience can try replicating these steps.

For me personally it would be a good solution if "surprise me" opens in a new tab, but others may disagree.
 
Bard from Canada
Posts: 4,581
"Striving to be the change."

Moderator
Regarding this. I think it was caused by me picking my filters, going "surprise me", deciding against that workout and then swiping back and clicking "surprise me" again. After swiping back it still shows my selected filter settings but the selection is not filtered anymore! The next random workout then seems to be picked from the shown selection, not following the filters? Maybe someone with more patience can try replicating these steps.
I tried this in Firefox with the same parameters you set. Back and forth multiple times. All the hits I got looked appropriate.

For me personally it would be a good solution if "surprise me" opens in a new tab, but others may disagree.
This would be my preference also.
 

Members online

Back
Top