Deploy a Stateless Python Micro-App to Deta Space with Deta Base
Keep durable state out of ephemeral sandbox disk by writing to Deta Base, then verify the value survives a redeploy.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Keep durable state out of ephemeral sandbox disk by writing to Deta Base, then verify the value survives a redeploy.
A decision guide for Deta Space Micros comparing managed Base, Drive, and external databases, with schema constraints, trade-offs, and a validation round-trip.
Learn how to implement serverless persistence using Deta Base in Detaspace, including key-value storage patterns, API implementation, and critical querying limitations.
Deta Base pagination is cursor-based and index-backed. Learn how to page with limit and last, why unindexed queries fail, and when to move to an external Postgres.
Learn how to enumerate large Deta Base collections with cursor pagination inside Deta Micros without hitting timeouts or memory ceilings, including a resumable loop and validation checks.
Learn how to manage shared state in serverless functions using Detaspace, comparing consistency models and implementing API-based state management to avoid connection exhaustion.
Context Deta Base fetch() returns a maximum of 1,000 items per call and uses an opaque last cursor for subsequent pages. The cursor is bound to the exact query predicate supplied in the initial call; altering any condition operator or attribute between paginated requests invalidates the cursor and restarts iteration from the beginning. Goal Enable a consumer