Actor Internal Web Server

I came across https://docs.apify.com/academy/running-a-web-server about running a web server inside an actor. my question is 1. is the web server have timeout. what happen when we forgot to abort the actor, does the web server will run indefinitely, or it will shutdown it self. 2. how much it cost for running the web server, for example for 1 day. that s all. thank You
Running a web server on the Apify platform | Apify Documentation
A web server running in an actor can act as a communication channel with the outside world. Learn how to easily set one up with Node.js.
2 Replies
Pepa J
Pepa Jโ€ข3y ago
Hello @!!!Joefree!!! ๐Ÿ‘‘ , 1. The webserver doesn't have a timeout, but the whole actor does, you may setup based on your needs (in seconds), or you may set it to 0, to run infinitelly. 2. It is the same price as for actor. If you are not using proxies, then the most of the price should be for compute units, these are calculated based on configured resources for the actor (1 GB memory x 1 hour = 1 compute unit). You may find the price for compute unit (CU) here based on your plan https://apify.com/pricing .
Apify
Plans and pricing ยท Apify
Extract value from the web with Apify. Flexible platform โ€” flexible pricing. Free plan available, no credit card required.
!!!Joefree!!! ๐Ÿ‘‘
!!!Joefree!!! ๐Ÿ‘‘OPโ€ข3y ago
Hey @Pepa J thanks for the info ๐Ÿ‘

Did you find this page helpful?