This app uses AWS DSQL Postgres with Next.js and Vercel (view source).
Movies are fetched from the Postgres database when the page loads. It has been seeded with the top 5000 movies from TMDB. When a user votes on a movie, useOptimistic
is used to instantly show the new score and updated time.
Our DSQL database is replicated to multiple regions with strong consistency. Currently, DSQL only offers two different regions (US East and US West) while in preview. DSQL is ACID, severless and scales to zero, and separates storage from compute. It also has 99.99% availability in single-region configuration and 99.999% in multi-region. Learn more.
Fetched 4800 movies in 497.52 ms (indexing not available)