|
1 | 1 | --- |
2 | | -title: Actor Standby |
| 2 | +title: Standby mode |
3 | 3 | description: Use the Actor as a real-time API server. |
4 | 4 | slug: /actors/development/programming-interface/standby |
5 | 5 | sidebar_position: 9 |
6 | 6 | --- |
7 | 7 |
|
8 | | -**Use Actors in lightweight mode as a blazingly fast API server.** |
| 8 | +**Use Actors as an API server for fast response times.** |
9 | 9 |
|
10 | 10 | --- |
11 | 11 |
|
12 | 12 | Traditional Actors are designed to run a single task and then stop. They're mostly intended for batch jobs, such as when you need to perform a large scrape or data processing task. |
13 | 13 | However, in some applications, waiting for an Actor to start is not an option. Actor Standby mode solves this problem by letting you have the Actor ready |
14 | 14 | in the background, waiting for the incoming HTTP requests. In a sense, the Actor behaves like a real-time web server or standard API server. |
15 | 15 |
|
16 | | -## How can I develop Actors using Standby mode |
| 16 | +## Developing Actors using Standby mode |
17 | 17 |
|
18 | 18 | import Tabs from '@theme/Tabs'; |
19 | 19 | import TabItem from '@theme/TabItem'; |
@@ -72,7 +72,7 @@ async def main() -> None: |
72 | 72 | Please make sure to describe your Actors, their endpoints, and the schema for their |
73 | 73 | inputs and outputs in your README. |
74 | 74 |
|
75 | | -## How do I find out whether my Actor is started in Standby or standard mode |
| 75 | +## Determining an Actor is started in Standby |
76 | 76 |
|
77 | 77 | Actors that support Actor Standby can still be started in standard mode, for example from the Console or via the API. |
78 | 78 | To find out in which mode was the Actor started, you can read the `metaOrigin` option in `Actor.config`, or the `APIFY_META_ORIGIN` environment variable in case you're not using the Apify SDK. |
@@ -110,6 +110,6 @@ async def main() -> None: |
110 | 110 | </TabItem> |
111 | 111 | </Tabs> |
112 | 112 |
|
113 | | -## Can I monetize my Actor in the Standby mode |
| 113 | +## Monetization of Actors with the Standby mode? |
114 | 114 |
|
115 | | -No, Standby mode is in Beta, and monetization is currently not supported. |
| 115 | +Currently, the Standby mode is in beta, and monetization is not supported. But we plan to enable it soon. |
0 commit comments