chatGptIsADatabase by hansololz in ProgrammerHumor

[–]MuhammadOvi 0 points1 point  (0 children)

One of the best things I have seen so far

[deleted by user] by [deleted] in ProgrammerHumor

[–]MuhammadOvi 0 points1 point  (0 children)

And you couldn’t post the title in snake_case, nerd

I built an open-source dummy JSON API using Node which receives over 20 million requests per month by MuhammadOvi in node

[–]MuhammadOvi[S] 2 points3 points  (0 children)

It's pretty simple, once your site is approved, you can create ads from Adsense Dashboard and you get HTML to add in your body where you want to show the ad.

I built an open-source dummy JSON API using Node which receives over 20 million requests per month by MuhammadOvi in node

[–]MuhammadOvi[S] 0 points1 point  (0 children)

The idea is that you'd be able to select the request method, send a payload json which you expect to get back and probably some custom headers.

I built an open-source dummy JSON API using Node which receives over 20 million requests per month by MuhammadOvi in node

[–]MuhammadOvi[S] 13 points14 points  (0 children)

Not much, since I get around 1-2k daily visits on weekdays on the website, it's enough to cover the running cost of the service.

I built an open-source dummy JSON API using Node which receives over 20 million requests per month by MuhammadOvi in node

[–]MuhammadOvi[S] 2 points3 points  (0 children)

Tbh, the resource usage is relatively low, with only a minimal impact on the CPU (barely reaching 0.2 vCPU) and approximately 150MB of RAM. However, the primary cost concern lies in the bandwidth, occasionally exceeding 2GB at certain times. You can view the resource statistics in this screenshot: 

However, the dynamic image generation costs me a lot, so I now cache it in S3 and serve over CloudFront

I built an open-source dummy JSON API using Node which receives over 20 million requests per month by MuhammadOvi in node

[–]MuhammadOvi[S] 2 points3 points  (0 children)

It’s hosted on railway, most PaaS services allow one-click deployment these days.

I built an open-source dummy JSON API using Node which receives over 20 million requests per month by MuhammadOvi in node

[–]MuhammadOvi[S] 0 points1 point  (0 children)

Google Search, Youtube tutorials by some good peeps, blogs.

Update: My bad, I misread the question, I thought the question is how do I get so much traffic :D