You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to be able to use is-online in my application, however I want to ask a question to make sure that it will be a good fit with regards to scalability.
Please consider the following use case:
This package runs on an IoT device. When the device starts up the application, it runs a check to determine if the internet is reachable. The way I understand this package to work is that it runs 3 http requests and returns true if any of the requests succeed. Now imagine that at any given physical location, there are 100 devices that all start the application at the same time every morning.
I'm worried that any of those 3 urls could see 100 requests coming from the same IP and treat the traffic as a DDoS attack and blacklist said IP address. Then this package would, understandably, return a false negative.
Have there been any reports of this kind of issue happening in similar environments?
The text was updated successfully, but these errors were encountered:
I assume you're going to use it in Node.js/Electron. There are actually 5 checks, and all of them would have to fail to cause a false negative. One of the checks uses the same endpoint as iOS, which means it should be scalable as there are millions of iOS devices. I doubt the Apple captive check nor the DNS checks would blacklist the devices, as they're used to handling a huge amount of requests.
However, if this is still not good enough for you:
I'd love to be able to use is-online in my application, however I want to ask a question to make sure that it will be a good fit with regards to scalability.
Please consider the following use case:
I'm worried that any of those 3 urls could see 100 requests coming from the same IP and treat the traffic as a DDoS attack and blacklist said IP address. Then this package would, understandably, return a false negative.
Have there been any reports of this kind of issue happening in similar environments?
The text was updated successfully, but these errors were encountered: