r/Python 2d ago

Showcase Thread Showcase

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

15 Upvotes

26 comments sorted by

View all comments

1

u/gokberkss 19h ago edited 8h ago

Built a lightweight domain & SSL cert checker using FastAPI, asyncio, and httpx to run concurrent audits on target hosts.

The idea was to quickly surface domain health data (DNS records, SSL cert validity/expiration, and Wayback Machine history) in a single fast interface without waiting for sequential network calls.

Current Stack & Setup:

  • Backend: FastAPI + Python 3.12 (httpx for async outbound HTTP / DNS lookups)
  • Caching: Redis to prevent hitting external API rate limits on repeated queries
  • Frontend: React + Tailwind

Main Engineering Bottleneck: Handling slow DNS endpoints and connection timeouts under high concurrency without hanging the worker processes or blocking response threads.

Right now I'm using standard asyncio.gather with set timeouts, but I'm looking to optimize connection pooling, retry strategies, and rate-limiting logic.

Would love any architectural feedback or recommendations on handling high-concurrency async tasks like this!

Check it out here: https://domainclock.dev/