---
title: "Discussion on \"Attack or massive usage?\" | Hashnode"
description: "Discussion on \"Attack or massive usage?\". A few days ago I noticed a CPU peak on FreeIPAPI's application servers. I Quickly checked Cloudflare and saw that the amount of requests has doubled! By doubled I mean it reached 60 million requests a day!\nWas it an attack?!\nWell, I still don't have ..."
url: "https://hashnode.com/posts/attack-or-massive-usage/65c29725b265a691d8301678"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Attack or massive usage?](https://yecoder.com/attack-or-massive-usage?utm_source=hashnode&utm_medium=feed)

A few days ago I noticed a CPU peak on FreeIPAPI's application servers. I Quickly checked Cloudflare and saw that the amount of requests has doubled! By doubled I mean it reached 60 million requests a day! Was it an attack?! Well, I still don't have ...

Feb 6, 2024 · 3 min read · yecoder.com  
Read the article

-   [#freeipapi](https://hashnode.com/tag/freeipapi)
-   [#php](https://hashnode.com/tag/php)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#go](https://hashnode.com/tag/go)
-   [#cloudflare](https://hashnode.com/tag/cloudflare)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)

## Written by

[Saeed Vaziry](https://hashnode.com/@saeedvaziry)

@saeedvaziry

  
[View profile](https://hashnode.com/@saeedvaziry)

Software Engineer

My name is Saeed, and I am a Software Engineer. Currently maintaining freeipapi.com and vitodeploy.com

## Responses 2

Markdown supported · ⌘↵ to post

[Adam Patterson](https://hashnode.com/@adampatterson)

[Dec 23, 2024](https://hashnode.com/posts/attack-or-massive-usage/65c29725b265a691d8301678/comment/6769d1ddea6a28546f0398f8)

I noticed that the free plan doesn't require an API key, that could be something that you may consider adding. In Cloudflare you could probably add a WAF rule for header, query string, or cookie values and if not set have CF reject the all.

[Saravana Thiyagarajan](https://hashnode.com/@Saravana-Thiyagaraja)

[Feb 7, 2024](https://hashnode.com/posts/attack-or-massive-usage/65c29725b265a691d8301678/comment/65c3233e5a485fda94fd5cbe)

I am not sure. You could also consider a rate-limiters based on the unique IP. It could prevent you from system outage.

[Saeed Vaziry](https://hashnode.com/@saeedvaziry)

[Feb 7, 2024](https://hashnode.com/posts/attack-or-massive-usage/65c29725b265a691d8301678/comment/65c3233e5a485fda94fd5cbe#reply-65c3339662a81551fd0dfb20)

If you mean a rate-limiter in the app, I already have it. The thing is the requests are keeping the web server busy. But if you mean a rate-limiter on the CF itself then I can say not a use case for a business built based on rate-limit 😅
