[{"data":1,"prerenderedAt":197},["ShallowReactive",2],{"blog-post-migrating-from-vercel-to-cloudflare-pages-scaling-to-24k-users":3},{"id":4,"title":5,"body":6,"date":174,"description":175,"extension":176,"meta":177,"navigation":182,"path":183,"seo":184,"sitemap":185,"stem":189,"tags":190,"__hash__":196,"slug":178,"seoTitle":179,"updated":174,"author":180,"authorLink":181,"ogImage":37,"listPreviewImg":37,"_path":183,"_id":4},"blog/blog/migrating-from-vercel-to-cloudflare-pages-scaling-to-24k-users.md","The \"Edge\" of Panic: Migrating My First Project to Cloudflare During Its First Traffic Spike",{"type":7,"value":8,"toc":166},"minimark",[9,18,21,32,38,43,46,50,57,61,64,67,78,82,98,105,112,119,123,145,151],[10,11,12,13,17],"p",{},"Six days ago, ",[14,15,16],"strong",{},"MyClockTab.com"," was just what it started as: our first project, built with a focus on digital minimalism and a \"time-in-tab\" utility. It was running quietly in a corner of the internet.",[10,19,20],{},"Then, the \"Hockey Stick\" curve happened.",[10,22,23,24,27,28,31],{},"I don’t check our hosting logs every hour, but I do keep an eye on Google Analytics. Last week, the \"Active Users\" count started doing something it had never done before. Our baseline was about ",[14,25,26],{},"50 users",". Suddenly, that number started climbing. By the end of the 6th day, we had reached ",[14,29,30],{},"24,000 total users",".",[33,34],"nuxt-img",{"alt":35,"loading":36,"src":37},"traffic growth chart","lazy","/assets/images/blog/traffic-growth-chart.webp",[39,40,42],"h2",{"id":41},"the-reality-check","The Reality Check",[10,44,45],{},"As the traffic surged, I started looking at the infrastructure. We were hosted on Vercel’s free tier. While Vercel is fantastic, I began to realize that for our first project, we needed a setup that could handle global scale without hitting serverless execution limits or bandwidth caps.",[33,47],{"alt":48,"loading":36,"src":49},"vercel limit","/assets/images/blog/vercel-limit.webp",[10,51,52,53,56],{},"I decided to migrate the entire operation to ",[14,54,55],{},"Cloudflare Pages",". No cold starts, unlimited bandwidth, and everything cached at the Edge. It sounded like the perfect long-term home.",[39,58,60],{"id":59},"the-522-stress-test","The \"522\" Stress Test",[10,62,63],{},"Migrating a live site while people are actively using it is... stressful. Especially when it’s your first time doing it.",[10,65,66],{},"I updated the Nameservers and waited. Then, the screen in front of me started filling with errors instead of clocks. The DNS propagation felt like it was moving in slow motion.",[10,68,69,70,73,74,77],{},"The situation was a mess: one browser tab was showing a ",[14,71,72],{},"404",", another was showing a ",[14,75,76],{},"522 Connection Timed Out",". I knew there were  people currently trying to access the site, and I was serving them a broken gateway page.",[39,79,81],{"id":80},"_20-minutes-of-commands-1-hour-of-silence","20 Minutes of Commands, 1 Hour of Silence",[10,83,84,85,88,89,93,94,97],{},"I spent about ",[14,86,87],{},"20 minutes"," frantically running ",[90,91,92],"code",{},"nslookup"," and ",[90,95,96],{},"dig"," commands, trying to figure out why the \"Edge\" felt more like a \"Cliff.\"",[10,99,100,101,104],{},"Then came the ",[14,102,103],{},"one-hour wait","—that painful silence where you hope it's just DNS propagation and not a fatal error you made in the config.",[10,106,107,108,111],{},"Finally, I found the culprit: I had pointed the DNS to Cloudflare, but I hadn't explicitly \"claimed\" and bound the custom domain inside the ",[14,109,110],{},"Cloudflare Pages project settings",". It was like giving someone the address to your house but forgetting to unlock the front door.",[10,113,114,115,118],{},"I clicked ",[14,116,117],{},"\"Bind Custom Domain,\""," and within seconds, the site snapped back to life.",[39,120,122],{"id":121},"what-this-taught-me","What This Taught Me",[124,125,126,133,139],"ul",{},[127,128,129,132],"li",{},[14,130,131],{},"Real Data is in the Analytics:"," If I hadn't checked Google Analytics, I might not have noticed the trend until we hit a hard limit.",[127,134,135,138],{},[14,136,137],{},"DNS is a Test of Patience:"," 20 minutes of work can easily turn into an hour of staring at a 522 screen.",[127,140,141,144],{},[14,142,143],{},"Scaling is about the \"Next\" 24,000:"," By moving to Cloudflare Pages, we’ve built a foundation that can handle the next spike without the panic we felt this time.",[10,146,147,150],{},[14,148,149],{},"To our new users:"," Thanks for bearing with us during that hour of flickering screens. We’re still learning, but we're committed to keeping MyClockTab the cleanest, fastest clock on the web.",[10,152,153,156,157,165],{},[14,154,155],{},"We want to hear from you."," Now that the \"pipes\" are stable, I’ve added a tiny survey to the site. If you have a minute, tell us how you’re using MyClockTab. We’re building this for you. If you have a spare 60 seconds, ",[158,159,162],"a",{"href":160,"target":161},"https://tally.so/r/zxD7RZ","_blank",[14,163,164],{},"click here to share your feedback"," and help us decide what we should build for the next 24,000 users.",{"title":167,"searchDepth":168,"depth":168,"links":169},"",2,[170,171,172,173],{"id":41,"depth":168,"text":42},{"id":59,"depth":168,"text":60},{"id":80,"depth":168,"text":81},{"id":121,"depth":168,"text":122},"2026-02-09","How we handled a sudden surge of 24,000 users by migrating our first project, MyClockTab.com, from Vercel to Cloudflare Pages mid-flight.","md",{"slug":178,"seoTitle":179,"updated":174,"author":180,"authorLink":181,"ogImage":37,"listPreviewImg":37},"migrating-from-vercel-to-cloudflare-pages-scaling-to-24k-users","The \"Edge\" of Panic: Migrating My First Project to Cloudflare During Its First Traffic Spike - MyClockTab & Productivity Tools Suite","Will Sun","https://sundingwen.cn/en",true,"/blog/migrating-from-vercel-to-cloudflare-pages-scaling-to-24k-users",{"title":5,"description":175},{"loc":183,"images":186},[187,188],{"loc":37},{"loc":49},"blog/migrating-from-vercel-to-cloudflare-pages-scaling-to-24k-users",[191,192,193,194,195],"DevStory","Productivity Tools","Growth","WebDevelopment","DevOps","5i-k5e6OGo-52tM-lMAHoNPT-HoGiCCW9m-C5QOIK6s",1774958793598]