Skip to content

Instantly share code, notes, and snippets.

@koush
Created October 31, 2016 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koush/5d54a89586f83daa66de3fd69002f2f0 to your computer and use it in GitHub Desktop.
Save koush/5d54a89586f83daa66de3fd69002f2f0 to your computer and use it in GitHub Desktop.
<jcase> koush_, ping
<koush_> jcase: yeah so
<koush_> RM has ~2million users
<koush_> RM starts up once a day
<koush_> to check for updates and stuff
<koush_> i put the PayPal.init in Application.onCreate
<koush_> like their example
<koush_> apparently, their new API, which i upgraded to a few weeks ago, put a network call in their PayPal.init
<koush_> so, every hour on the top of the hour
<koush_> thousands and thousands of clients were hitting their servers
<jcase> lol their shit drops
<jcase> how do they want to fix this? surely they expected something like this would happen
<koush_> they called me up and were like "why is your app id being used from over a million IPs"?
<koush_> "uh, cause its on a million phones man"
* seeseekey has quit (Remote host closed the connection)
<jcase> actually called you?
<koush_> i wanted to herp when he said that
<jcase> lol
<koush_> yeah
<jcase> what was their response to that lol
<koush_> they seemed confused
<koush_> i think im the only one using their app i guess
<koush_> api* rather
<jcase> probably the one using it the most
<koush_> yeah
<koush_> then they told me that every hour they get like 6000 requests in the first minute
<jcase> lol
<jcase> how are they going to fix this
<TimeTrav> thats gold
<koush_> and asked me what code i had that would start up every hour
<koush_> i was like, i dont do that
<koush_> then i realized
<koush_> oh, across a ton of users in different time zones, it may seem that way
<koush_> jcase: i told them to take out the retarded network call on init :/
<TimeTrav> its your personal ddos botnet
<koush_> jcase: they did that this morning
<koush_> but they cant test the new lib
<TimeTrav> nobody would suspect a ddos from phones
<koush_> until i stop DOSing them
<jcase> lol
<koush_> so they cant release
<koush_> i told them i would patch it so it lightens some of the load, but it would take a month for most users to upgrade
* Sid69 (~sid69@66.231.15.254) has joined #koush
<koush_> the engineers are actually fairly nice
<koush_> when they first called, i thought they were about to tell me that my account was shut down adn they seized all my moeny from my paypal account
<koush_> like they normally do
<jcase> lol
<jcase> i mean how do they not know
<koush_> yeah'
<jcase> how many clients are using their shit
<koush_> pretty retarded
<jcase> and what is the call used for
<koush_> i dont think they anticipated any level of real usage/traffic
<Shadows`work> koush_: i don't think they expected it at the top of every hour
<Shadows`work> lol
<koush_> yea that was a pretty funny phenomenon
<jcase> "How i DDOS'd paypal and got away with it"
<jcase> lol
<koush_> haha
<DeadRinga> Hahaha
<koush_> the way they were talking though
<koush_> i think the entire operation for their in app billing
<koush_> is run on a single box
<koush_> it was always "our server gets thousands of requests in the first minmute of an hour"
<koush_> not "servers"
<jcase> lol
<helo> wow...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment