Postgres opens a connection to url and runs a single `ping` to check availability.
Returns nil if the database is reachable and accepts queries. A timeout of zero falls back to DefaultTimeout.
Redis parses url (redis:// | rediss://) and runs a PING.
Returns nil if instance is reachable or an error otherwise.
Zero timeout falls back to DefaultTimeout.
Used for validating connectivity before scaffolding.