# Solid Objects > Solid Objects is a SQL-backed virtual actor library for Ruby on Rails (gem solid_objects) and TypeScript/Node.js (npm package solid-objects), with durable state, ordered operations, and automatic activation. State and mailboxes live in SQLite, PostgreSQL, or MySQL. Version 1.0 promises a stable public API under semantic versioning. One first-party application with more than 100,000 users runs it in production. That is a count of users, not a measure of load. Delivery is at least once, not exactly once. There are no transactions across actor identities. The Rails gem requires Rails 7.1 or newer. The Node.js package requires Node.js 24.4 or newer. The Markdown files below are generated from the runtime repositories at the snapshot revisions shown. ## Search This site has a search endpoint: https://context7.com/api/v2/ask?siteKey=ask_7d84d66787b39c01c482670d&query=. It returns documentation that answers the question, with a source link for each part. No API key is needed. If nothing matches, it says so. ## Ruby on Rails Repository: https://github.com/cardmagic/solid-objects-ruby. Snapshot: v1.0.6, commit 80523e7. - [Virtual actors in Ruby on Rails](https://solidobjects.dev/docs/ruby/virtual-actors.md): Whether Rails has virtual actors, the definition, a small example, fit and poor-fit criteria, comparisons, and an Orleans concept map. - [Solid Objects for coding agents (Rails)](https://solidobjects.dev/docs/ruby/agents.md): Fit checklist, package identity, installation, authorization, effect idempotency, verification steps, and troubleshooting for the solid_objects gem. - [Rails clean-install quickstart](https://solidobjects.dev/docs/ruby/quickstart.md): A new Rails application with the gem, the generator, migrations, a demonstration policy, concurrent calls, and a reminder that survives a restart. - [Correctness and delivery semantics (Rails)](https://solidobjects.dev/docs/ruby/correctness.md): Ordering, fencing, at-least-once delivery, the crash matrix, and the atomic boundaries of the Ruby runtime. - [Versioning (Rails)](https://solidobjects.dev/docs/ruby/versioning.md): What a patch, minor, or major release of the solid_objects gem can change from version 1.0, what is outside the promise, and what version 1.0 does not claim. - [Maintenance and continuity (Rails)](https://solidobjects.dev/docs/ruby/maintenance.md): Who maintains the solid_objects gem, how CI checks each change, how a release is published, what you keep if maintenance stops, and how to become a maintainer. - [Operations guide (Rails)](https://solidobjects.dev/docs/ruby/operations.md): Installation checks, upgrades, the runtime process, configuration, wake-up adapters, dead letters and redrive, shutdown, monitoring, retention, and recovery for the solid_objects gem. - [Authorization policies (Rails)](https://solidobjects.dev/docs/ruby/authorization.md): The five deny-by-default policies, realtime authorization contexts, a tenant-aware policy, and server-side-only pilots for the solid_objects gem. - [Solid Objects for Rails README](https://solidobjects.dev/docs/ruby/readme.md): Requirements, installation, an expiring ticket hold, good uses, and guarantees for the solid_objects gem. - [Prevent race conditions in Rails](https://solidobjects.dev/docs/ruby/race-conditions.md): Topics covered: Rails constraints and locks, ticket hold races, atomic SQL updates, actor state, expiry, retries, revision checks, production limits. - [Run jobs in order for each customer in Rails](https://solidobjects.dev/docs/ruby/ordered-jobs.md): Topics covered: job order failures, serial queues, concurrency limits, sequence checks, account actors, commit actions, retries, reminders, tests. - [Expiring reservations in Rails](https://solidobjects.dev/docs/ruby/expiring-reservations.md): Topics covered: stock ownership, SQL holds, actor reservations, extensions, deadline checks, durable reminders, tests, payment effects, limits. - [Save state and queue work together in Rails](https://solidobjects.dev/docs/ruby/transactional-outbox.md): Topics covered: lost jobs after a commit, outbox rows, relay retries, atomic actor commits, commit actions, effects, idempotency keys, tests, limits. - [Compare Solid Objects with other Rails tools](https://solidobjects.dev/docs/ruby/comparisons.md): Topics covered: Solid Queue, GoodJob, row locks, job concurrency controls, actors for each key, and how to choose the smallest tool that works. - [Solid Queue limits_concurrency and Solid Objects: ordered work for each customer in Rails](https://solidobjects.dev/docs/ruby/compare-solid-queue.md): Topics covered: limits_concurrency order, blocked jobs, retry_on, crashed workers, a billing sync actor, effect retries with backoff, tests, limits. - [GoodJob concurrency controls and Solid Objects: ordered work for each customer in Rails](https://solidobjects.dev/docs/ruby/compare-good-job.md): Topics covered: good_job_concurrency_rule, perform_limit, FIFO order, ConcurrencyExceededError retries, a billing sync actor, backoff, tests, limits. - [Category guide (HTML)](https://solidobjects.dev/virtual-actors/ruby): The same category guide as a web page. - [Prevent race conditions in Rails (HTML)](https://solidobjects.dev/ruby/race-conditions): The same guide as a web page. - [Run jobs in order for each customer in Rails (HTML)](https://solidobjects.dev/ruby/ordered-jobs): The same guide as a web page. - [Expiring reservations in Rails (HTML)](https://solidobjects.dev/ruby/expiring-reservations): The same guide as a web page. - [Save state and queue work together in Rails (HTML)](https://solidobjects.dev/ruby/transactional-outbox): The same guide as a web page. - [Compare Solid Objects with other Rails tools (HTML)](https://solidobjects.dev/ruby/compare): The same guide as a web page. - [Solid Queue limits_concurrency and Solid Objects: ordered work for each customer in Rails (HTML)](https://solidobjects.dev/ruby/compare/solid-queue): The same guide as a web page. - [GoodJob concurrency controls and Solid Objects: ordered work for each customer in Rails (HTML)](https://solidobjects.dev/ruby/compare/good-job): The same guide as a web page. ## TypeScript and Node.js Repository: https://github.com/cardmagic/solid-objects-js. Snapshot: v1.0.6, commit e386867. - [Virtual actors in TypeScript and Node.js](https://solidobjects.dev/docs/typescript/virtual-actors.md): Whether TypeScript has a SQL-backed virtual actor library, the definition, a runnable example, fit and poor-fit criteria, comparisons, and an Orleans concept map. - [Solid Objects for coding agents (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/agents.md): Fit checklist, package identity, installation, authorization, effect idempotency, verification steps, troubleshooting, and the browser runtime on SQLite WASM for the solid-objects package. - [Correctness and delivery semantics (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/correctness.md): Ordering, fencing, at-least-once delivery, and the limitations of the Node.js runtime. - [Versioning (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/versioning.md): What a patch, minor, or major release of the solid-objects package can change from version 1.0, what is outside the promise, and what version 1.0 does not claim. - [Maintenance and continuity (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/maintenance.md): Who maintains the solid-objects package, how CI checks each change, how a release is published, what you keep if maintenance stops, and how to become a maintainer. - [Operations (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/operations.md): Runtime roles and runtime.run(signal), polling and wake-up, dead letters, retry, and redrive for the solid-objects package. - [Authorization (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/authorization.md): Deny-by-default message, query, destruction, subscription, and administration policies, and the authorization context, for the solid-objects package. - [System comparisons (TypeScript and Node.js)](https://solidobjects.dev/docs/typescript/comparisons.md): SQL transactions, job queues, Cloudflare Durable Objects, celld, Rivet, Dapr, DBOS, Restate, and Temporal, compared with primary references. - [Solid Objects for Node README](https://solidobjects.dev/docs/typescript/readme.md): Requirements, installation, the packaged quickstart, an expiring ticket hold, the browser runtime, and guarantees for the solid-objects package. - [Prevent race conditions in Node.js](https://solidobjects.dev/docs/typescript/race-conditions.md): Topics covered: races across await, local mutex limits, SQL transactions, seat actors, reminders, revision checks, authorization, runtime, tests. - [Keep turn-based room state through restarts in Node.js](https://solidobjects.dev/docs/typescript/persistent-rooms.md): Topics covered: lost room state and timers, SQL versions and deadlines, room actors, player authorization, reconnects, runtime, tests, limits. - [Restate virtual objects and Solid Objects: state and delayed calls for each key in TypeScript](https://solidobjects.dev/docs/typescript/compare-restate.md): Topics covered: virtual object keys, exclusive handlers, delayed calls, ctx.run, an AI agent session actor, model call effects, follow-ups, tests. - [DBOS Transact and Solid Objects: durable checkout and state for each cart on PostgreSQL](https://solidobjects.dev/docs/typescript/compare-dbos.md): Topics covered: DBOS workflows and steps, partitioned queues, workflow IDs, Conductor, a shopping cart actor, payment effects, idle release, tests. - [RivetKit actors and Solid Objects: chat rooms with ordered state on PostgreSQL in Node.js](https://solidobjects.dev/docs/typescript/compare-rivetkit.md): Topics covered: Rivet actors, actions and queues, state saves, the control plane, PostgreSQL storage, a chat room actor, archive reminders, tests. - [Graphile Worker named queues and Solid Objects: ordered work for each room on PostgreSQL](https://solidobjects.dev/docs/typescript/compare-graphile-worker.md): Topics covered: queueName, serial jobs, jobKey and runAt, failed jobs and order, locked jobs after a crash, a chat room actor, reminders, tests. - [Offline-first state in the browser with SQLite WASM](https://solidobjects.dev/docs/typescript/offline-first.md): Topics covered: memory outbox loss, IndexedDB, Web Locks, background sync, SQLite WASM actors, server writes, authorization, shared tabs, limits, tests. - [Category guide (HTML)](https://solidobjects.dev/virtual-actors/typescript): The same category guide as a web page. - [Prevent race conditions in Node.js (HTML)](https://solidobjects.dev/js/race-conditions): The same guide as a web page. - [Keep turn-based room state through restarts in Node.js (HTML)](https://solidobjects.dev/js/persistent-rooms): The same guide as a web page. - [System comparisons (TypeScript and Node.js) (HTML)](https://solidobjects.dev/js/compare): The same guide as a web page. - [Restate virtual objects and Solid Objects: state and delayed calls for each key in TypeScript (HTML)](https://solidobjects.dev/js/compare/restate): The same guide as a web page. - [DBOS Transact and Solid Objects: durable checkout and state for each cart on PostgreSQL (HTML)](https://solidobjects.dev/js/compare/dbos): The same guide as a web page. - [RivetKit actors and Solid Objects: chat rooms with ordered state on PostgreSQL in Node.js (HTML)](https://solidobjects.dev/js/compare/rivetkit): The same guide as a web page. - [Graphile Worker named queues and Solid Objects: ordered work for each room on PostgreSQL (HTML)](https://solidobjects.dev/js/compare/graphile-worker): The same guide as a web page. - [Offline-first state in the browser with SQLite WASM (HTML)](https://solidobjects.dev/browser/offline-first): The same guide as a web page. ## Optional - [Rails overview](https://solidobjects.dev/ruby): The landing page for the solid_objects gem. - [Node overview](https://solidobjects.dev/js): The landing page for the solid-objects package. - [Browser runtime](https://solidobjects.dev/browser): The actor runtime in a browser module worker on SQLite WASM. - [Complete documentation](https://solidobjects.dev/llms-full.txt): Each guide above in one plain text file.