TigerData logo
TigerData logo
  • Product

    Product

    Tiger Cloud

    Robust elastic cloud platform for startups and enterprises

    TimescaleDB Enterprise

    Self-managed TimescaleDB for on-prem, edge and private cloud

    Open source

    TimescaleDB

    Time-series, real-time analytics and events on Postgres

    Search

    Vector and keyword search on Postgres

  • Industry

    Data Centers

    Energy & Utilities

    Oilfield Services

    Smart Manufacturing

    Crypto

  • Docs
  • Pricing
  • Developer Hub

    Changelog

    Benchmarks

    Blog

    Community

    Customer Stories

    Events

    Support

    Integrations

    Launch Hub

  • Company

    About

    TigerData logo

    Timescale

    Partners

    Security

    Careers

View on GitHub (opens in a new tab)

Contact usStart a free trial
Tiger Data

Products

  • TimescaleDB
  • Tiger Cloud
  • TimescaleDB Enterprise
  • Postgres Search Stack

Industry

  • Data Centers
  • Energy & Utilities
  • Oilfield Services
  • Smart Manufacturing
  • Crypto

Support

  • Cloud Status
  • Support
  • Security
  • Terms of Service
  • Code Of Conduct

Learn

  • Documentation
  • Blog
  • Tutorials
  • Changelog
  • Success Stories

Company

  • About
  • Contact Us
  • Careers
  • Newsroom
  • Brand
  • Events

Products

  • TimescaleDB
  • Tiger Cloud
  • TimescaleDB Enterprise
  • Postgres Search Stack

Industry

  • Data Centers
  • Energy & Utilities
  • Oilfield Services
  • Smart Manufacturing
  • Crypto

Support

  • Cloud Status
  • Support
  • Security
  • Terms of Service
  • Code Of Conduct

Learn

  • Documentation
  • Blog
  • Tutorials
  • Changelog
  • Success Stories

Company

  • About
  • Contact Us
  • Careers
  • Newsroom
  • Brand
  • Events
Privacy preferencesLegalPrivacySitemap
Strategic Partner with Inductive Automation — Ignition

2026 (c) Timescale, Inc., d/b/a Tiger Data.
All rights reserved.

Tiger Data

2026 (c) Timescale, Inc., d/b/a Tiger Data.
All rights reserved.

Privacy preferencesLegalPrivacySitemap

Timescale x Cloudflare: Time Series From the Edge

J

By James Blackwood-Sewell

November 9th, 2023

2 min

Share

J

By James Blackwood-Sewell

November 9th, 2023

2 min

Share

Copy as HTML

Open in ChatGPT

Open in Claude

Open in v0

Announcements & Releases

Time Series Data

Hypertables

Table of contents

  1. 01 Wrap-Up
Get started for free
Timescale x Cloudflare: Time Series From the Edge

We ❤️ Cloudflare at Timescale, and while we don’t think serverless makes sense for databases, it’s absolutely amazing for stateless edge functions—and nothing does those better than Cloudflare Workers. Recently, Cloudflare launched its Hyperdrive product, which promises to turn your existing regional databases into globally distributed ones. We couldn’t pass up the opportunity to partner with them so we could make Hypertables on Hyperdrive a thing.

Timescale’s hypertables work exactly like PostgreSQL tables, but they automatically partition your data for a much-welcome performance boost.

Hyperdrive is essentially an edge proxy for PostgreSQL databases. It does smart caching, connection management, and persistence at the edge, which cuts down on the amount of traffic you’re sending from your remote Worker to your database. 

Timescale has been supported from day one (and is the only supported database for time series and analytics), and we are already busy talking about internal use cases for low-cost edge connections sending data back to a central Timescale database.

Create a serverless, globally distributed time-series API with Timescale

To complement the brief example already in the Hyperdrive documentation (which assumes you already have a Cloudflare project and some basic knowledge of how things work), we have written a full tutorial describing the deployment of an edge app that uses Timescale for persistence, allowing readings to be ingested and queried from Workers via a Serverless REST API, which is defined by TypeScript code. You might look to this kind of architecture if you have remote locations that are recording readings (maybe an IoT use-case) and you want to be able to persist them to your database but also query them when needed.

image

You might think that this sounds like a bit of work, but it’s not. The Cloudflare Workers developer experience is second to none when you’re using JavaScript (or, in our case, TypeScript). It’s three commands (and two file edits) from an empty directory to deploy, with npm used to scaffold and the wrangler tool npm installs used to create a Hyperdrive instance and then deploy your code to the edge. You can be none to done in three minutes flat.

And why use Timescale for this tutorial rather than another PostgreSQL variant? Because Timescale is faster for time-series data and large PostgreSQL datasets. You can see some benchmarks versus Amazon RDS here if you’re interested.

Wrap-Up

By leveraging Cloudflare's Hyperdrive and Timescale's performant time-series database, you can easily cut down the traffic from your remote Worker to your database and then ingest and query that data faster with Timescale. 

The tutorial provided shows how simple it is to deploy such an architecture, with Timescale providing speed and scalability advantages over vanilla PostgreSQL. Start speeding up your workflow today: you can try Timescale out for 30 days, free of charge.

// Related posts

Introducing searchgres.js: Composable Search in PostgreSQL
Introducing searchgres.js: Composable Search in PostgreSQL

Announcements & Releases

searchgres.js

Introducing searchgres.js: Composable Search in PostgreSQL

searchgres.js composes BM25, semantic ranking, and filters for hierarchy, metadata, and time in a single Postgres query. Open-source TypeScript, Apache-2.0.

By John Pruitt

October 20th, 2026

Announcing pg_vectorsearch: Scalable Open-Source Vector Search in PostgreSQL
Announcing pg_vectorsearch: Scalable Open-Source Vector Search in PostgreSQL

Announcements & Releases

pg_vectorsearch

Announcing pg_vectorsearch: Scalable Open-Source Vector Search in PostgreSQL

pg_vectorsearch is a new open-source Postgres extension. Its PRISM index serves 100M vectors in 6 ms on 4x less RAM than HNSW, with builds in under 2 hours.

By Erik Nordström

October 13th, 2026

TimescaleDB 2.28: Faster Queries, Lighter Operations, and Better Schema Evolution
TimescaleDB 2.28: Faster Queries, Lighter Operations, and Better Schema Evolution

Announcements & Releases

TimescaleDB

TimescaleDB 2.28: Faster Queries, Lighter Operations, and Better Schema Evolution

TimescaleDB 2.28 adds schema evolution for continuous aggregates, lighter refreshes, faster compressed queries, and ends PostgreSQL 15 support.

By Nicole Ghalwash

July 29th, 2026

Stay updated with new
posts and releases.

Receive the latest technical articles and release notes in your inbox.