The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'blog/postgres-13' of github.com:supabase/supabase into blog/postgres-13
Paul Copplestone60d954f87306
diff --cc www/_blog/2021-07-26-supabase-community-day.mdxindex 15e9fa8c87c,60860dcccc0..08f23cc1c5c--- a/www/_blog/2021-07-26-supabase-community-day.mdx+++ b/www/_blog/2021-07-26-supabase-community-day.mdx@@@ -13,21 -13,20 +13,20 @@@ date: '2021-07-26toc_depth: 2----- Did you know that Supabase has been one of the fastest growing startups [on GitHub](https://github.com/supabase/supabase) for four consecutive quarters? [^1]+ Did you know that Supabase has been one of the fastest growing startups [on GitHub](https://github.com/supabase/supabase) for four consecutive quarters? [^1]-+-This simply be possible without some amazing open source tools, and since we're shipping a few upgrades this week we feel it's only fair-to shine a spotlight on some of the tools and community efforts that make Supabase possible.+This wouldn't be possible without some amazing open source tools, and since we're shipping a few upgrades this week we feel it's only fair+to shine a spotlight some tools and community efforts that make Supabase possible.## PostgreSQL version 13.3- + -PostgreSQL is not only a huge part of Supabase, it's also a huge inspiration - the speed that they ship, their community organization,-and their absolute dedication towards reliability. PostgreSQL 13.3 was released in June and from today, every new Supabase project will-be on PostgreSQL version 13.3.+PostgreSQL is not only a huge part of Supabase, it's also a huge inspiration - the speed that they ship, their community organization,+and their absolute dedication towards reliability. PostgreSQL 13.3 was released in June and (from today) every new Supabase project will+be on [PostgreSQL version 13.3](/blog/2021/07/26/supabase-postgres-13).### Giving back@@@ -54,25 -55,25 +53,25 @@@ all of our improvements are upstreamed### Highlights-**Improved Performance**: Supabase high throughput requirements made this PostgREST version be able to handle up to 50% more throughput on-GET requests according to our benchmarks. We converted all of its SELECT queries to use prepared statements and reduced its logging+**Improved Performance**: Due to Supabase's high throughput requirements, PostgREST 8.0 handles up to 50% more throughput on+GET requests, according to our benchmarks. We converted all SELECT queries to use prepared statements and reduced loggingverbosity to make this possible.-**Reduced downtime**: we need PostgREST to be more "set it and forget it", so reloading its schema cache is now zero downtime.+**Reduced downtime**: we need PostgREST to be more "set it and forget it", so reloading schema cache is now zero downtime.-**Dynamic Configuration**: we've made it easier to handle PostgREST configuration at scale(we manage hundreds of PostgREST instances).-This new version includes the ability to use an in-database configuration that is reloadable through a NOTIFY command.+**Dynamic Configuration**: we've made it easier to handle PostgREST configuration at scale (we manage thousands of PostgREST instances).+This new version includes the ability to use an in-database configuration that is reloadable through a `NOTIFY` command.-**Less admin burden**: PostgREST used to require the `pg_listen` utility to reload its schema cache. This is no longer needed.-The schema cache is reloadable with a simple NOTIFY command.+**Less admin burden**: PostgREST previously required the `pg_listen` utility to reload its schema cache. This is no longer needed.+The schema cache is reloadable with a simple `NOTIFY` command.-**Better diagnostic information**: in the rare cases where PostgREST fails, we want to find the exact root cause quickly.-For this we've improved its logging by adding logging levels and timestamps to its server errors.+**Better diagnostic information**: in the rare cases where PostgREST fails, we want to find the exact root cause quickly.+For this we've improved its logging by adding logging levels and timestamps to all server errors.- **Simpler OpenAPI**: showing a complete OpenAPI output used to require a highly-privileged `anon` role. With the new `openapi-mode`,+ **Simpler OpenAPI**: showing a complete OpenAPI output used to require a highly-privileged `anon` role. With the new `openapi-mode`,this is no longer needed and `anon` can be kept with minimal privileges.-The community has also made more enhancements and many bug fixes for the new version, see the+The community has made many more enhancements and bug fixes for the new version. See[v8.0 CHANGELOG](https://github.com/PostgREST/postgrest/releases/tag/v8.0.0) for the full list.### Get Started@@@ -97,12 -98,12 +96,12 @@@ Want to get started with PostgREST? Th## Supabase Flutter/Dart (Beta release)- + - While the Supabase team have been busy with the Javascript libraries, the community have been beavering away with Dart. They've even- [built fully-functional apps](https://www.producthunt.com/posts/spot-2d300f54-7a0a-4dbf-aee2-4a75311217cc) using Supabase Auth and Storage.+ While the Supabase team have been busy with the Javascript libraries, the community have been beavering away with Dart. They've even+ [built fully-functional apps](https://www.producthunt.com/posts/spot-2d300f54-7a0a-4dbf-aee2-4a75311217cc) using Supabase Auth and Storage.-Today the Community are releasing both the the Flutter and Dart libraries in Beta.+Today the Community are releasing both the the Flutter and Dart libraries in Beta (with a bit of help from the Supabase team).### Get started@@@ -119,15 -120,15 +118,15 @@@## Supabase Discord- + -OK, OK, we get it - GitHub [Discussions](https://github.com/supabase/supabase/discussions) aren't enough for y'all. While we've been trying-to keep the conversation contained to our GitHub, the community has been creating [subreddits](https://www.reddit.com/r/Supabase/),-StackOverflow [tags](https://stackoverflow.com/questions/tagged/supabase), and GitHub [topics](https://github.com/topics/supabase).+OK, OK, we get it - GitHub [Discussions](https://github.com/supabase/supabase/discussions) aren't enough for y'all. While we've been trying+to keep the conversation contained to our GitHub org, the community has been creating [subreddits](https://www.reddit.com/r/Supabase/),+StackOverflow [tags](https://stackoverflow.com/questions/tagged/supabase), and GitHub [topics](https://github.com/topics/supabase).-A few weeks ago one of the community decided to create a Community-led Discord, and so the team figured we might as well join the fun.+A few weeks ago one of the community created a Community-led Discord, and so the team figured we might as well join the fun.-We'll still be using Discussions for debugging, but if you're looking for a Supabase Social, Discord is where to find it.+We'll still be using Discussions for debugging, but if you're looking for a place to hang out with Supabase developers, Discord is where to find it.### Get involveddiff --cc www/_blog/2021-07-26-supabase-postgres-13.mdxindex 381b02c482f,0aa8d124266..2c28c1b715b--- a/www/_blog/2021-07-26-supabase-postgres-13.mdx+++ b/www/_blog/2021-07-26-supabase-postgres-13.mdx@@@ -89,28 -92,26 +92,28 @@@ More information can be found [here](ht## Enhanced security- To help combat brute force attacks, `fail2ban` has now been configured to protect direct connections to Postgres. This applies to both+ To help combat brute force attacks, `fail2ban` has now been configured to protect direct connections to Postgres. This applies to bothports `5432` (PostgreSQL) and `6543` (PgBouncer).- IPs get banned for 10 minutes after three failed attempts, and we'll continue to fine-tune and improve the protections applied to the- database servers based on evolving traffic patterns.+ IPs get banned for 10 minutes after three failed attempts, and we'll continue to fine-tune and improve the protections applied to the+ database servers based on evolving traffic patterns.-## PostgreSQL bundles [Coming Soon]+## PostgreSQL bundles++`[Coming Soon]`- Last but not the least, we're diversifying the images of Supabase Postgres available in the AWS and Digital Ocean Marketplaces.+ Last but not the least, we're diversifying the images of Supabase Postgres available in the AWS and Digital Ocean Marketplaces.- Instead of a single option, we'll soon offer four configurations of PostgreSQL. Each bundle offers functionality for- common use-cases. For example, if you're using Postgres with Serverless functions, you might want to run the PgBouncer bundle. If you want an+ Instead of a single option, we'll soon offer four configurations of PostgreSQL. Each bundle offers functionality for+ common use-cases. For example, if you're using Postgres with Serverless functions, you might want to run the PgBouncer bundle. If you want anHTTP API with your Postgres offering you might want to run the PostgREST bundle.- | `Name` | `PostgreSQL` | `PgBouncer` | `PostgREST` |- |-------------------------------------|------------|-----------|-----------|- | Supabase Postgres | ✅ | | |- | Supabase Postgres: PgBouncer Bundle | ✅ | ✅ | |- | Supabase Postgres: PostgREST Bundle | ✅ | | ✅ |- | Supabase Postgres: Complete Bundle | ✅ | ✅ | ✅ |+ | `Name` | `PostgreSQL` | `PgBouncer` | `PostgREST` |+ | ----------------------------------- | ------------ | ----------- | ----------- |+ | Supabase Postgres | ✅ | | |+ | Supabase Postgres: PgBouncer Bundle | ✅ | ✅ | |+ | Supabase Postgres: PostgREST Bundle | ✅ | | ✅ |+ | Supabase Postgres: Complete Bundle | ✅ | ✅ | ✅ |Each offering will be available for both the `x86` and `arm` architectures.