HYPERDRIVE

1

Overview

How Hyperdrive works

Hyperdrive accelerates Worker queries to existing PostgreSQL and MySQL databases using edge setup, connection pooling near the database, and query caching.

Think of it this way

It's like building a highway between global branches and the central database. Connections are reused and frequent responses can live closer by.

Features

  • Connection pooling
  • Edge setup
  • Query caching
  • PostgreSQL and MySQL
1/9
GLOBAL WORKERS🌍SP β€’ NYC β€’ FRA β€’ SYDORM E DRIVERS🐘pg🐬mysql2Mesmo cΓ³digo de sempreCLOUDFLARE HYPERDRIVEHYPERDRIVE BINDINGConnection string delivered without exposing credentialsβš™οΈwrangler.jsoncβ†’πŸ”—env.HYPERDRIVEβ†’πŸ˜PostgresEDGE SETUPTCP handshakeTLS negotiateProntohappens only once per connectionDRIVER SUPPORTpgpostgres.jsmysql2funciona com a maioria dos ORMsCONNECTION POOLconnections reused, not recreated per requestQUERY CACHEβœ“ Hitβœ— Miss β†’ DBTTL 60s, consultas nΓ£o mutΓ‘veisSMART PLACEMENTπŸ“Worker roda perto do bancoBANCO EXISTENTEπŸ—„οΈPostgreSQL / MySQLRESPOSTA ACELERADANo HD~250msβ†’With HD~15msfewer connections at the originLEGENDAFluxo ativo na etapaHover