Apify and Crawlee Official Forum

Updated 3 months ago

Can actors instances run 24/7?

When looking at a run log (free mode) I see it always creates a container and starting the actor.
Is there a way in paid mode to have a container always up and running?
Or is it not needed at all since I'll be using an API?
For time sensitive data, that time is crucial...
t
M
!
5 comments
Can actors instances run 24/7?
Yes, Actors can run 24/7, see here: https://docs.apify.com/academy/running-a-web-server.
That said, you would have to pay for CUs all the time, even if the Actor is in idle. This will improve with the upcoming Actor Standby feature, but I'm not able to give you a release date at the moment.
Thanks, but this refers to building my own actor, how can I have an existing actor I'm subscribing to run 24/7? without creating a container per request?
Or I missed something?
To make an Actor run 24/7 you need to modify actor internal code to run forever, so yes ya may need to make your own actor.
That's correct: there is no such feature in the platform to keep an Actor running, waiting for an input. You should implement an Actor with such a functionality.
Add a reply
Sign up and join the conversation on Discord