Skip to content

docs(actors): sync from rivet-dev/rivet - #118

Merged
NathanFlurry merged 1 commit into
mainfrom
docs-sync/actors
Oct 2, 2026
Merged

NathanFlurry merged 1 commit into
mainfrom
docs-sync/actors

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member

Automated docs sync from rivet-dev/rivet@a1c18da.

Do not edit vendor/actors/ here. Edit the docs in rivet-dev/rivet and this PR updates itself.

@NathanFlurry
NathanFlurry merged commit dc28adc into main Oct 2, 2026
2 of 3 checks passed
@railway-app
railway-app Bot temporarily deployed to rivet-website / website-pr-118 October 2, 2026 23:31 Destroyed

@the-company-company the-company-company Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 2 medium-severity findings

Reviewed commit 42769d3.

skill: true
---

Expose [Prometheus metrics](/actors/docs/environment-variables#metrics) on your worker to collect these metrics.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Medium · Link metric setup to an existing section

This target has no #metrics heading, so the guide's prerequisite link lands on the environment-variable page without explaining how to expose or scrape metrics. Readers cannot complete the setup required for every PromQL example below. Link to the existing worker Prometheus setup page used by sqlite-profiling.mdx, or add the missing Metrics section before pointing here.


#### Page cache capacity

`RIVETKIT_SQLITE_OPT_VFS_PAGE_CACHE_CAPACITY_PAGES` (default: `50000` pages)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Medium · Document the worker-wide memory multiplier

This environment variable is read once per process, but the configured capacity is applied to each Actor's page cache. Increasing it on a worker hosting many SQLite Actors can therefore multiply memory use across all active caches, even though the surrounding experiment is framed around one Actor/query. State that tuning requires an isolated representative worker and that the production memory budget must account for concurrent Actor caches; also include the implementation's 500,000-page cap so operators know the effective range.

This branch was successfully deployed

No deployments
rivet-website / website-pr-118 — 42769d3c Deployed Oct 2, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant