Actor
A concurrent computation model in which the Actor is the basic unit of computation. Each Actor has its own private state and communicates through asynchronous message passing, without shared memory.
Timeline (last 90 days)
Each run of the Apify Actor produces a structured results dataset with a unique dataset ID, and the classifier can read the previous scraping results directly by passing in the dataset ID.
Agent Substrate abstracts the Agent's runtime environment as an Actor; the Actor runs on top of a Worker, and the Worker is managed uniformly by a WorkerPool.
In Agent Substrate, an Actor is in a suspended state when not scheduled, existing only as a record and consuming no CPU or memory.
Each Worker has a memory limit of 1Gi, while each Actor template requires 768Mi, so one Worker can only hold one Actor.
In Agent Substrate, Actors can be created in bulk via the `kubectl ate create actor` command, and after creation the initial state is ACTOR_STATE_SUSPENDED.
After manually suspending a running Actor to free memory, the waiting Actor can then be scheduled successfully.
After the WorkerPool scaled from 2 replicas to 6 replicas, all six awakened Actors were scheduled and the request returned 200.
This article chose HPA rather than VPA because the memory limit of a single Worker determines that it can only hold a fixed number of Actors; enlarging a single Worker's memory cannot solve the scheduling bottleneck, and increasing the number of Workers is the correct scaling direction.
In Agent Substrate, after two Workers are each filled by one Actor (768Mi/1Gi), requesting a third Actor returns a 504 timeout, because there is not enough free memory to schedule it.
Apify is a cloud web scraping and automation platform where developers can package scraping logic for a specific website into a reusable Actor and publish it to the Apify store for others to invoke on a per-call basis.
All Facts (10)
Each run of the Apify Actor produces a structured results dataset with a unique dataset ID, and the classifier can read the previous scraping results directly by passing in the dataset ID.
50%UnverifiedAgent Substrate abstracts the Agent's runtime environment as an Actor; the Actor runs on top of a Worker, and the Worker is managed uniformly by a WorkerPool.
50%UnverifiedIn Agent Substrate, an Actor is in a suspended state when not scheduled, existing only as a record and consuming no CPU or memory.
50%UnverifiedEach Worker has a memory limit of 1Gi, while each Actor template requires 768Mi, so one Worker can only hold one Actor.
50%UnverifiedIn Agent Substrate, Actors can be created in bulk via the `kubectl ate create actor` command, and after creation the initial state is ACTOR_STATE_SUSPENDED.
50%UnverifiedAfter manually suspending a running Actor to free memory, the waiting Actor can then be scheduled successfully.
50%UnverifiedAfter the WorkerPool scaled from 2 replicas to 6 replicas, all six awakened Actors were scheduled and the request returned 200.
50%UnverifiedThis article chose HPA rather than VPA because the memory limit of a single Worker determines that it can only hold a fixed number of Actors; enlarging a single Worker's memory cannot solve the scheduling bottleneck, and increasing the number of Workers is the correct scaling direction.
50%UnverifiedIn Agent Substrate, after two Workers are each filled by one Actor (768Mi/1Gi), requesting a third Actor returns a 504 timeout, because there is not enough free memory to schedule it.
50%UnverifiedApify is a cloud web scraping and automation platform where developers can package scraping logic for a specific website into a reusable Actor and publish it to the Apify store for others to invoke on a per-call basis.
50%