Photo by RetroSupply on Unsplash
This week in tech news | 8th October 2022
Tech news for the week of 1st to 7th of October
Cloudflare creates own Reverse Proxy replacing Nginx
Cloudflare has created its own reverse proxy, replacing Nginx with a in-house built proxy called Pingora built using Rust. This was built due to poor connection pool resource allocation in Nginx at Cloudflare's scale which resulted to slower TTFB(Time to first byte). After the migration, connection reuse ratio improved; as a an example Cloudflare quoted "increased the connection reuse ratio from 87.1% to 99.92%, which reduced new connections to their origins by 160x. To present the number more intuitively, by switching to Pingora, we save our customers and users 434 years of handshake time every day" Cloudflare blog:
Run Postgres in the browser
Postgres-wasm built by Supabase and Snaplet to bring Postgres to the browser with the help of WASM. postgres-wasm runs a small distro called buildroot to create a 12MB snapshot for the Postgres server to be run on the browser. Other features include creating a exporting to IndexedDB(browser) or to disk, connectivity between browser and external source.