←back to thread

125 points todsacerdoti | 1 comments | | HN request time: 0s | source
Show context
nvahalik ◴[] No.45040957[source]
When doing web development I will occasionally connect my local code base to a remote SQL server via SSH.

This adds enough latency to be noticeable and I’ve found pages that were “OK” in prod that were unbearable in my local environment. Most of the time it was N+1 queries. Sometimes it was a cache that wasn’t working as intended. Sometimes it simply was a feature that “looked cool” but offered no value.

I’m not sure if there is a proxy that would do this locally but I’ve found it invaluable.

replies(3): >>45041182 #>>45042663 #>>45042957 #
1. pseudocomposer ◴[] No.45042663[source]
I do this with a Makefile that calls “kubectl port-forward.”