* feat(backend): add per-workspace timing telemetry to periodic field updates * feat(backend): add per-workspace periodic field update task with overlap lock * fix(backend): guard periodic field update lock release and cover missing workspace * feat(backend): fan out periodic field updates into one task per workspace * fix(backend): run periodic field update management command synchronously * chore: changelog for periodic field update fan-out * docs(backend): note periodic update eligibility is snapshotted once * refactor(backend): simplify periodic update comments and restore setting-based dispatcher timeout * test(backend): lock dispatch ordering, dispatch metric, and slow-workspace warning * refactor(backend): batch periodic field updates and use singleton lock Address review feedback on PR #5666: - Fan out into BASEROW_PERIODIC_FIELD_UPDATE_BATCH_COUNT tasks (default 1) instead of one task per workspace, so the export queue isn't flooded on large instances. - Replace the manual cache lock with celery-singleton on the batch task (unique_on batch_index) so a slow cycle can't stack on itself. - Record the dispatch metric only for dispatched runs, not the inline management command. * refactor(backend): use itertools.batched for workspace batching * refactor(backend): inline batching and drop otel histograms Inline the batch splitting into the dispatcher (itertools.batched) and remove the per-workspace and dispatch OpenTelemetry histograms. Keep the per-workspace timing and the >60s slow-workspace warning log. * feat(backend): add fenced acquire/extend/clear_if to SingletonAutoRescheduleFlag * feat(backend): add periodic run-lock constants and finish callback * refactor(backend): guard periodic field updates with a fenced per-cycle run lock Dispatch periodic field batches as a chord instead of independent .delay() calls, so the callback reliably fires once all batches finish and releases the per-cycle Redis lock. Batches heartbeat the lock's TTL instead of running as celery_singleton tasks. * docs(backend): changelog for periodic field update run lock * docs(backend): restore flag docstrings and plainer changelog wording * refactor(backend): token-fence periodic run-lock heartbeat; add env vars to .env.example * refactor(backend): warn on periodic field update overlap with tuning hint * fix(backend): isolate periodic field update failures per workspace * refactor(backend): address review feedback on periodic field update - parse BASEROW_PERIODIC_FIELD_UPDATE_BATCH_COUNT with "or 1" so an empty env string falls back to the default - round-robin workspaces across batches so the most overdue run first in parallel instead of being stranded at the tail of one batch - drop the default value from the docstring so it can't rot - make clear_if/extend_if atomic via redis eval to avoid TOCTOU, keyed and encoded through the cache client to match what acquire wrote - escalate the overlap skip to an error naming the settings to tune * fix(backend): harden periodic field update run lock (review round 2) - stop swallowing SoftTimeLimitExceeded: re-raise it in the per-field-type helper and return cleanly in the batch loop, so a soft timeout ends the batch and the chord releases the lock instead of running to the hard-limit SIGKILL and stranding the lock until its TTL - heartbeat the run lock before every workspace, not just once per batch, so a long serialized batch keeps the TTL fresh and the next batch still finds the lock held when it dequeues - log the batch "lock no longer held" stop at warning, not info: it drops the rest of the batch's work for the cycle - acquire the run lock before the eligibility scan so an overlapping run skips cheaply instead of scanning and discarding the result - fetch each field type's due fields once and early-return before refresh_now, dropping the duplicate exists() query per workspace - resolve SingletonAutoRescheduleFlag's default timeout in the body so override_settings(AUTO_INDEX_LOCK_EXPIRY=...) is honored again - note the management command bypasses the run lock (inline path) - document BASEROW_PERIODIC_FIELD_UPDATE_BATCH_COUNT in configuration.md * refactor(backend): pass run-lock TTL in the chord callback for uniformity clear_if ignores the timeout, so this is cosmetic, but every other SingletonAutoRescheduleFlag(RUN_LOCK_KEY, ...) construction passes RUN_LOCK_TTL. Keeping the callback consistent avoids a reader wondering whether the omission is meaningful.
Baserow: build databases, automations, apps & agents with AI — no code
Baserow is the secure, open-source platform for building databases, applications, automations, and AI agents — all without code. Trusted by over 150,000 users, Baserow delivers enterprise-grade security with GDPR, HIPAA, and SOC 2 Type II compliance, plus cloud and self-hosted deployments for full data control. With a built-in AI Assistant that lets you create databases and workflows using natural language, Baserow empowers teams to structure data, automate processes, build internal tools, and create custom dashboards. Fully extensible and API-first, Baserow integrates seamlessly with your existing tools and performs at any scale.
- A spreadsheet database hybrid combining ease of use and powerful data organization.
- Create applications and portals, and publish them on your own domain.
- Automate repetitive workflows with automations.
- Visualize your data with dashboards.
- Kuma, powerful AI-assistant to builds complete solutions.
- GDPR, HIPAA, and SOC 2 Type II compliant.
- Easily self-hosted with no storage restrictions or sign-up on https://baserow.io to get started immediately.
- Best Alternative to Airtable.
- Open-core with all non-premium and non-enterprise features under the MIT License allowing commercial and private use.
- Headless and API first.
- Uses popular frameworks and tools like Django, Vue.js and PostgreSQL.
docker run -v baserow_data:/baserow/data -p 80:80 -p 443:443 baserow/baserow:2.3.1
🚨 Repository Migration Notice
Baserow has moved from GitLab to GitHub. All issues have been successfully migrated, but merged and closed merge requests (PRs) were not imported. You can still browse the old repository and its history at: https://gitlab.com/baserow/baserow.
Please use this GitHub repository for all new issues, discussions, and contributions going forward at: https://github.com/baserow/baserow.
Get Involved
Join our forum at https://community.baserow.io/. See CONTRIBUTING.md for how to get involved.
Installation
- Docker
- Helm
- Docker Compose
- Heroku: Easily install and scale up Baserow on Heroku.
- Render: Easily install and scale up Baserow on Render.
- Digital Ocean: Easily install and scale up Baserow on Digital Ocean.
- AWS: Install in a scalable way on AWS
- Cloudron: Install and update Baserow on your own Cloudron server.
- Railway: Install Baserow via Railway.
- Elestio: Fully managed by Elestio.
Official documentation
The official documentation can be found on the website at https://baserow.io/docs/index or here inside the repository. The API docs can be found here at https://api.baserow.io/api/redoc/ or if you are looking for the OpenAPI schema here https://api.baserow.io/api/schema.json.
Development environment
If you want to contribute to Baserow you can setup a development environment like so:
git clone https://github.com/baserow/baserow.git
cd baserow
just dc-dev build --parallel
just dc-dev up -d
The Baserow development environment is now running. Visit http://localhost:3000 in your browser to see a working version in development mode with hot code reloading and other dev features enabled.
More detailed instructions and more information about the development environment can be found at https://baserow.io/docs/development/development-environment.
Why Baserow?
Unlike proprietary tools like Airtable, Baserow gives you full data ownership, infinite scalability, and no vendor lock-in — all while keeping the simplicity of a spreadsheet interface.
Meta
Created by Baserow B.V. - bram@baserow.io.
Distributes under the MIT license. See LICENSE for more information.
Version: 2.3.1
The official repository can be found at https://github.com/baserow/baserow.
The changelog can be found here.
Become a GitHub Sponsor here.





