开发者

Can my Google App receive Traffic from Single IP address

开发者 https://www.devze.com 2023-03-23 01:33 出处:网络
I want to host an SMS application on GAEand all my traffic will come from aSMS GATEWAY with a single IP address.

I want to host an SMS application on GAE and all my traffic will come from a SMS GATEWAY with a single IP address.

Is that fine(I'm expecting 500 dynamic requests/sec) ?

Will there be any problems like unusual traffic errors or any other issues ?

EDITED

More info:

My users send queries through SMS which will be routed to my app from SMS GATEWAY(single IP address).

My app processes those queries and reply back through SMS (again through SMS GATEWAY).

I can reply using URL FETCH(not a problem) but what i'm worried about is if I receive some 500 dynamic requests/sec from single IP address , GAE might block them thinking them as Dos(denial of service) attack .

GAE either asks the user to enter a captcha at https://www.google.com/accounts/DisplayUnlockCaptcha or redirects to sorry.google.com and displays an error message itseems if it receives unusual traffic from single IP . But my users acc开发者_如何学Pythoness app only through SMS.

Please look at this production issue filed.


It would be technically doable - your app can detect the user's IP via the REMOTE_ADDR environment variable, and if it's the one you want, show them the actual page (showing them a 403 otherwise). Your second question is a bit trickier to answer - your App Engine app could handle it assuming you wrote it in a scalable manner (not a trivial assumption!) and if you can afford the amount of traffic you're trying to throw at it.


You're right to be concerned that getting that level of traffic from a single IP might set off some form of DoS protection - it shouldn't, but it's impossible to rule it out. If it were to happen, you could file a production issue, and we'd take care of it.

0

精彩评论

暂无评论...
验证码 换一张
取 消