Question About Work Units

I created a 24-hour countdown timer on my page (no plugin).

It’s the homepage, which is a reusable element on my single-page app.

The timer starts at 1201 am each day and goes until 1159 pm for a daily deal.

Screen recording 2025-08-10 10.08.06 AM

I have a workflow for every 1 second to set the custom state:

And of course have an expression for hours, minutes, etc.:

I built this last night, and my work units don’t seem to be going crazy…but that was with just me testing it. Once thousands of users are using the homepage, I’m wondering a couple of things:

  1. Is this the best setup possible for this?
  2. Is there a better way to set this up?
  3. Will this be a work unit hog?

I looked through the forum, etc., and got a couple of seemingly different thoughts.

I’m not the most knowledgeable about how the work units work.

It seems the way I have it will mostly run server-side…but I’m not sure, as I said, if there’s a better way to set it up?

1 Like

I’m using a plugin for this reason
but I’m interested to hear what the pros have to say :slight_smile:

1 Like

This will cost no workload units as nothing here hits the server

3 Likes

Thank you so much, George!

When I asked the question, I was hoping so much you would see it because you’re very smart about this type of thing.

Thank you again!

1 Like