Ali MarefatiDownload CV
All work

Ahanonline

Iran's largest online steel retailer and #1 steel website

Cutting technology costs by up to 80% at Iran's largest online steel retailer

I joined Ahanonline to stabilize an SEO-critical platform that went down several times a day, and a year later became its CTO. We cut technology costs by up to 80%, kept the site online through the 2025 war and brought AI into sales and support.

Role
Software Engineer, then CTO
Period
Mar 2024 – Present

The starting point

Ahanonline is the number one steel website in Iran and the country's largest online steel seller. The website is highly sensitive to SEO, so it has to stay fast, secure and highly ranked.

When I joined in 2024, the codebase was messy and the platform was unstable, with several outages a day.

Stabilizing the platform

  • Cleaned up the code and optimized performance, which took outages from several a day to near zero.
  • Owned DevOps, security hardening and technical SEO for the whole company.
  • Brought all Core Web Vitals to green and kept the #1 Google rankings on core keywords while organic traffic grew.

Leading technology as CTO

Since March 2025 I lead a 7–10 person technology team. I drive business workflows directly with the CEO and the founders and coordinate the SEO, product, infrastructure and network teams.

  • Cut technology costs by up to 80% through CDN optimization, lower server and compute costs, and redesigned business workflows, on a mix of Cloudflare, Iranian cloud providers and bare-metal servers.
  • Kept the platform fully online during the 2025 war, reachable from inside Iran and abroad, while hardening it against attacks.
  • Fully automated delivery with CI/CD on self-hosted GitLab and Docker Swarm. An LLM reviews every merge request and posts security issues and bugs as comments.

AI in sales and support

We launched an AI customer-support chatbot built on RAG (n8n, OpenAI, pgvector, Elasticsearch) and started producing SEO content with LLMs. Together they increased purchase-request submissions.

Stack

  • Docker Swarm
  • GitLab CI/CD
  • Cloudflare
  • PostgreSQL
  • pgvector
  • Elasticsearch
  • n8n
  • OpenAI