VSCode Tinder got DDoS'd

Поділитися
Вставка
  • Опубліковано 15 гру 2020
  • Someone started spamming requests to my lambda function :(
    #benawad #vscode #tinder ​

    ----
    Follow me online: voidpet.com/benawad
    #benawad
  • Наука та технологія

КОМЕНТАРІ • 587

  • @jesperkha3425
    @jesperkha3425 3 роки тому +2724

    He's losing more and more trust in humanity for every video

  • @rafaelmorales1926
    @rafaelmorales1926 3 роки тому +1948

    81% males
    Vsinder? more like VSgrindr

    • @tutorialesTACHABI
      @tutorialesTACHABI 3 роки тому +28

      Bruh 💀

    • @Daniel_WR_Hart
      @Daniel_WR_Hart 3 роки тому +148

      If the ratio is 50/50, the devs probably made a bunch of fake female profiles

    • @RoyRope
      @RoyRope 3 роки тому +5

      Lmao

    • @iottabyte
      @iottabyte 3 роки тому +69

      Actually that's pretty on par with reality. Most recent stats have Tinder users in the US split 72% male to 28% female

    • @cloudybrains
      @cloudybrains 3 роки тому +19

      Nah that's actually closer to Tinder demographics.

  • @ThylineTheGay
    @ThylineTheGay 3 роки тому +347

    alternate title: i accidentally DDoS'd carbon

  • @WeeklyHow
    @WeeklyHow 3 роки тому +1126

    VAANG Companies: VSinder, Amazon, Angular, Netflix, Google

    • @ark5458
      @ark5458 3 роки тому +45

      don't put them next to these petty unknown companies

    • @zilvarro5766
      @zilvarro5766 3 роки тому +59

      Wait, what is Angular doing in there?

    • @mcmb8254
      @mcmb8254 3 роки тому +38

      Why would you put VSinder next to tiny, unknown companies like google lol

    • @navthenugget
      @navthenugget 3 роки тому +12

      Google? Is that a company? I have never heard of it in my life

    • @keshavvinayakjha2070
      @keshavvinayakjha2070 3 роки тому +9

      @@navthenugget Yeah they're just a search engine company or something haven't heard much about them either

  • @jimmy5533
    @jimmy5533 3 роки тому +732

    They probably got pissed Ben took the anonymity away.

    • @ghostpunk3159
      @ghostpunk3159 3 роки тому +32

      suspect thing to say

    • @nomtijorti
      @nomtijorti 3 роки тому +5

      I know right? It's like children walking around in the skins of grown men. Childish as heck.

    • @fitrianhidayat
      @fitrianhidayat 3 роки тому +2

      @@nomtijorti *foreskin

  • @BenRangel
    @BenRangel 3 роки тому +253

    This 'series' of you launching products and following up on how they do and being honest about all mistakes is amazingly educational

  • @doom-and-gloom
    @doom-and-gloom 3 роки тому +982

    i like how despite your experience, you still honestly acknowledge what you don't know, and then make a video about it

    • @osman4816
      @osman4816 3 роки тому +7

      That's the wrong thing to do - He is giving them publicity

    • @CBMaster2
      @CBMaster2 3 роки тому +43

      He's 23, he's not THAT experienced

    • @piyushbansal2358
      @piyushbansal2358 3 роки тому +12

      @@CBMaster2 I am also 23 and I don't know even one fourth of him. I am so jealous.

    • @gerooq
      @gerooq 3 роки тому

      @@snowwsquire ? jealous much?

    • @charliewilson6169
      @charliewilson6169 3 роки тому +16

      @@gerooq what he does is not overly complex, there is no way he could put a senior engineer out of a job, not saying he isnt talented, but anyone thats been learning dev for a few or more years will be able to do similar things to him

  • @Dvon2477
    @Dvon2477 3 роки тому +609

    I love this. The fact that someone went after this app is wild to me. Some people must really dislike code snippets. 😂

    • @betoharres
      @betoharres 3 роки тому +18

      I've had random projects being DDoS'd in the past, I think it's just for fun

    • @shadowking6008
      @shadowking6008 3 роки тому +1

      Or tinder.

    • @HassanSelim0
      @HassanSelim0 3 роки тому +5

      Happened to my startup (pretty much unknown outside of Egypt), but then I realized it was an attempt at credential stuffing and our login endpoint must've gotten on some list of something. Long story short, Cloudflare blocked all of that 😅

    • @MrLordZenki
      @MrLordZenki 3 роки тому +11

      Some people just like to see what they can do to a system, it doesn't really matter what the system is. People found ways to attack the telephone system just to see if they could.

    • @GBart
      @GBart 3 роки тому +3

      If it can be hacked, it will be hacked, and for no reason

  • @wabrush9061
    @wabrush9061 3 роки тому +280

    Angular devs learn hacking

  • @ayushpandey2263
    @ayushpandey2263 3 роки тому +472

    Waiting for the attacker to comment "I did it."

  • @whitmanbohorquez184
    @whitmanbohorquez184 3 роки тому +174

    People attack VSTinder just to have the pleasure to watch this video. I can imagine the laughs of that guy while DDoSing you.

    • @Meleeman011
      @Meleeman011 3 роки тому +10

      not gonna lie this put a smile on my face

    • @henrivlot
      @henrivlot 3 роки тому +15

      @@Meleeman011 Found the attacker.

    • @devmukhtar
      @devmukhtar 3 роки тому +15

      @@Meleeman011 sus here

    • @justinfleagle
      @justinfleagle 2 роки тому

      🤫

  • @_ap__
    @_ap__ 3 роки тому +42

    People are underestimating/ignoring the tech insights that are there in this video. Pure gold.

  • @froquede
    @froquede 3 роки тому +97

    people thinking ben has enemies: this is production

    • @snghnishant
      @snghnishant 3 роки тому +3

      Hahahaha. Now they’ll know what it’s like to perform a patch in production.

    • @Meleeman011
      @Meleeman011 3 роки тому +2

      thats cause he does lol

  • @jannikmeissner
    @jannikmeissner 3 роки тому +156

    I have a goal: I want to be your success story that met their future spouse on VSinder.

    • @calimio6
      @calimio6 3 роки тому +11

      Or husband

    • @calimio6
      @calimio6 3 роки тому +1

      @bychtromae oh i didn't know that

    • @Asdayasman
      @Asdayasman 3 роки тому +14

      Step 1: Make sure you're gay.

  • @pumpkinhead6646
    @pumpkinhead6646 3 роки тому +95

    Sorry It wasnt a DDoS, my mom just really loves a good and thick extension

  • @iamtenrose7479
    @iamtenrose7479 3 роки тому +267

    Make VScode - spotify integration so that people can listen to same music while coding

  • @quachhengtony7651
    @quachhengtony7651 3 роки тому +194

    I spent 15 minutes writing a React joke but when I click vsinder was like bruh

  • @StrangeIndeed
    @StrangeIndeed 3 роки тому +60

    The curse of Ben Awad's VS Code extensions

  • @jannikmeissner
    @jannikmeissner 3 роки тому +6

    Thank you for the extension and the apps, it actually became my favourite dating app by now. Sooo nice to just talk to people who understand the things I’m into and also a dating app where not every second girl is a catfish. Thank you soooo much for this.

  • @loquek
    @loquek 3 роки тому +3

    Love your attitude and breakdown of events dude, great work!

  • @marcofilho
    @marcofilho 3 роки тому +17

    Ben: I don't really know why it was failing but it's working now
    that's a programmer for sure

  • @harrydparkes
    @harrydparkes 3 роки тому

    This made made my day, absolutely hilarious. Thank you Ben

  • @Gazzar19
    @Gazzar19 3 роки тому +39

    The sweet pain of going prod

  • @hasanyousef6782
    @hasanyousef6782 3 роки тому +39

    This boy somehow makes VS code compete with the 2 giants: App strore and Google play. Microsoft is gonna kiss his ass definitely.

  • @lalilaloe
    @lalilaloe 3 роки тому +21

    You do know Carbon has an CLI project that spits out images? No puppeteer needed

  • @gigog27
    @gigog27 3 роки тому +68

    they're probs talking about overall requests: so like the html is one, then at least one css page, some javascript, images and with all that it becomes many request per page load

    • @RomanSteiner_xD
      @RomanSteiner_xD 3 роки тому +1

      Was about to write the same

    • @user-mb4xy2cz3t
      @user-mb4xy2cz3t 3 роки тому +2

      CDN, ever heard about that?

    • @local9
      @local9 3 роки тому

      @@user-mb4xy2cz3t amazingly still to this day, not many places use a CDN.

  • @noti_101
    @noti_101 3 роки тому +103

    Probabaly will be some angular devs 😅

    • @greg6618
      @greg6618 3 роки тому +3

      Haha, no we are not like that :)

    • @saqlainalvi3333
      @saqlainalvi3333 3 роки тому

      @The Great Lord Kek no we r not

    • @alexandruaxentioi3006
      @alexandruaxentioi3006 3 роки тому

      @The Great Lord Kek Yes we are

    • @lasue7244
      @lasue7244 3 роки тому

      @@saqlainalvi3333 pretty sure we are though

    • @lasue7244
      @lasue7244 3 роки тому

      @@greg6618 hey, where's the girl is from in your profile pic? Is she from monogatari series?

  • @roaminroninx3446
    @roaminroninx3446 3 роки тому +116

    you should call this app VS Grindr

  • @TheGodSaw
    @TheGodSaw 3 роки тому +21

    This is a perfect lesson on lambda.

  • @makeshift27015
    @makeshift27015 3 роки тому +4

    I've been working with AWS for a few years now and yeah - this is a hard lesson to learn. As soon as you open up anything to the internet, it's gonna get hit very hard. Glad you learned this without a massive bill!

  • @IvanRandomDude
    @IvanRandomDude 3 роки тому +2

    Great video. Gives perspective to us beginners how insanely difficult is to run app in production. In development everything looks sweet. All these warning in courses "don't use this in production" make more sense.

  • @Paintballman251
    @Paintballman251 3 роки тому

    I love these vscode versions of things and can't wait to see what others are coming if you decide to do more

  • @indiansoftwareengineer4899
    @indiansoftwareengineer4899 3 роки тому

    felt bad for last video for VS-Stories, now same for this one....
    Godddddd....
    Nice videos Ben,
    Keep making lots of videos for us.
    Lots of love from India....

  • @ZwiebelTVDE
    @ZwiebelTVDE 3 роки тому

    Just wanted to say that after really going through with the VSCinder: YOU ARE A LEGEND!

  • @CodingwithElias
    @CodingwithElias 3 роки тому +2

    Congratulation! 200K

  • @EwokPanda
    @EwokPanda 3 роки тому +2

    Love the Ajani, Caller of the Pride picture in the background :)

    • @cyrilmorin9547
      @cyrilmorin9547 3 роки тому

      Noticed it by reading your comment 😁

  • @AvinashGadala
    @AvinashGadala 3 роки тому

    Good Job 👏 . You learnt hard way but now you have valuable experience. Keep learning and Be curious.

  • @whistletoe
    @whistletoe 3 роки тому

    You should have hit 1 mil by now dude your content is gold

  • @pai64
    @pai64 3 роки тому +161

    Dude you got many enemies

    • @Khushpich
      @Khushpich 3 роки тому +66

      Dem angular devs

    • @0dyss3us51
      @0dyss3us51 3 роки тому +5

      Enemies .. lol

    • @tiagosansaodev
      @tiagosansaodev 3 роки тому +3

      @@Khushpich I have never seen an angular developer, are they hostiles?

    • @Tortuex_
      @Tortuex_ 3 роки тому +18

      @@tiagosansaodev the legends says no one ever came back from seeing an angular dev

    • @petertyldesley6542
      @petertyldesley6542 3 роки тому +6

      @@tiagosansaodev That's called survivorship bias. Just because nobody has ever met an angular dev doesn't mean they don't exist. It just means nobody has lived to tell the tale...

  • @pablo_brianese
    @pablo_brianese 3 роки тому

    This projects sound like so much fun!

  • @elian6019
    @elian6019 3 роки тому

    Thx for all the detailed info. Very interesting.

  • @theweebdev
    @theweebdev 3 роки тому +28

    Damn Angular devs taking their revenge on you Ben. They are ruining developer's love life lol

  • @vhoyer
    @vhoyer 3 роки тому

    MAAAN, you are a legend!!!

  • @chan4est
    @chan4est 3 роки тому

    Great postmortem Ben! Glad the first week wasn't too hectic. Sounds like a lot of fun.

  • @guanxi99
    @guanxi99 3 роки тому

    Becoming my favorite „real life DevOps“ channel on yt.
    Many thanks for the honor witnessing the beginnings of a 1bn valuation unicorn as well. :-)

  • @firstcomesrock8593
    @firstcomesrock8593 3 роки тому

    im so happy this guy is getting a following

  • @hnasr
    @hnasr 3 роки тому

    this was a fun project!

  • @yamanas
    @yamanas 3 роки тому +1

    Hey Ben, huge fan, great works man! I wonder if you consider using a tool like Thundra to inspect your lambda functions or webapps in case of any similar issues. Disclaimer: I work for the company and be more than happy to see you in our Slack.

  • @ApoorvMote
    @ApoorvMote 3 роки тому

    Really like the tech stack breakdown for the whole app. You should do AWS's segment. THIS IS MY INFRASTRUTURE.

  • @falconiere
    @falconiere 3 роки тому +2

    Man, you are a genius, no sarcasm, how do you get those ideas?

  • @hdmi00
    @hdmi00 3 роки тому

    I felt your pain when you said ''puppeteer'' ... I was doing the same thing and had the same random errors lol.

  • @krtirtho
    @krtirtho 3 роки тому +1

    It feels bright when you say "Of course it's Typescript"!🤣

  • @dadaabiola2474
    @dadaabiola2474 3 роки тому +8

    Google went down recently and was fixed, VSinder went down and you fix! I see competition Ben. You competing with the Big Boiz!! Lol

  • @_Amilio_
    @_Amilio_ 3 роки тому

    Love watching Ben doing what he loves 🤣

  • @kage0x3b59
    @kage0x3b59 3 роки тому +3

    I could imagine the invocations not lining up with the requests is because Puppeteer loads the whole website which with uses way more requests to load all the different JS and CSS files.

  • @brauliocruz6088
    @brauliocruz6088 3 роки тому +2

    Lmao second time you make me laugh firstseeing the thumbnail of your video

  • @1gassen
    @1gassen 3 роки тому +6

    I feel like a part of the problem is not using testers before releasing the final product

  • @BenRangel
    @BenRangel 3 роки тому

    This is a great lesson for anyone who runs a non-cacheable site like Carbon: consider finding some DDoS-protection feature, even just a basic one that alerts you if you get too many requests from a single source.
    Or even a single well-meaning developer can sink your site.

  • @JanNeumann
    @JanNeumann 3 роки тому +39

    I don't think banning reports containing "hi" and "hello" is reasonable. I think it's not too uncommon instead of writing "This person harrassed me" to write " *Hello* , this person harrassed me". See what I mean?

    • @bawad
      @bawad  3 роки тому +14

      // I'm going to do
      message === 'hi'
      // Not
      message.includes('hi')

    • @JanNeumann
      @JanNeumann 3 роки тому +1

      @@bawad hi

    • @exactzero
      @exactzero 3 роки тому

      what

  • @rajchinagundi7498
    @rajchinagundi7498 3 роки тому

    I love to watch the stuff i dont understand, I feel cool cause its Ben Awad

  • @asalentstech1767
    @asalentstech1767 3 роки тому +1

    should add a developer section along with love and friendship so people can find other devs to help with projects or issues durring development. devs helping devs ya know

  • @SantiagoAbud
    @SantiagoAbud 3 роки тому +2

    You are 2 years older than me and have like 10 years more experience. I'm probably throwing the towel but great work!

  • @ai.turdiev
    @ai.turdiev 3 роки тому

    Okay Ben, I expect VSinder stories next. That's where the sponsored posts and ads can go :)

  • @starfuks
    @starfuks 3 роки тому +15

    Waiting for VsTwitch

  • @MarcoCarini1
    @MarcoCarini1 3 роки тому +1

    Lambda functions auto-retries twice by default on failure, so when puppeteer fails, the lambda will retry the entire flow, hitting carbon 2 more times. And like you mentioned, that’s not even considering the potential retry built into puppeteer

  • @_sevelin
    @_sevelin 3 роки тому

    Thanks! Never was reconnaissance so easy...

  • @willinton06
    @willinton06 3 роки тому +5

    Puppeteer seems much lighter than selenium damn

  • @prithajnath6819
    @prithajnath6819 3 роки тому

    Spawning a brand new Puppeteer process for every lambda invocation sounds very resource intensive tbh. It's probably better to have one Chromium/Puppeteer process running in the background and have it create a new tab for every call to your API

  • @ThisAintMyGithub
    @ThisAintMyGithub 3 роки тому

    For your Google Places API, make sure you're only setting the components you need in the request (like address_components) and you can also use geolocation to more accurately pinpoint their location if you haven't already. Those two should help some with the bill but I'm no expert, just basing it off their API (and implementing it once)

  • @grim.reaper
    @grim.reaper 3 роки тому

    I love you Ben!!

  • @andre.queiroz
    @andre.queiroz 3 роки тому +5

    2:46 this is exactly my kind of humor HAHAHAHAHAHA

  • @dev_gauravp
    @dev_gauravp 3 роки тому

    Make sure you're using session-token for places API, also use autocomplete options to reduce costs

  • @psybitcoin
    @psybitcoin 3 роки тому +5

    Not enough unit testing...

  • @ark5458
    @ark5458 3 роки тому +15

    i think microsoft is way to small of a company to handle a social media as big as this

  • @brycemw
    @brycemw 3 роки тому +1

    I love this app so much. I hope it stays up for a long time. It sounds like you may need a premium version to pay for that Google Places API though

  • @fubarhandle
    @fubarhandle 3 роки тому +1

    Ben: "I'm gonna keep track of these people and they'll have a lifetime ban."
    Google: I WANT HIM!

  • @davidkim2016
    @davidkim2016 3 роки тому

    this was very entertaining

  • @jitx2797
    @jitx2797 3 роки тому +2

    Deep down we know that this attack was made by some Angular lover

  • @fncoder
    @fncoder 3 роки тому +25

    Should've known, Ben. None of us had a chance before.! (!_!)

  • @nimeshgurung6600
    @nimeshgurung6600 3 роки тому

    My hero

  • @Ro_dolfoSilva
    @Ro_dolfoSilva 3 роки тому

    Have you tried use Caprover, is heroku like opensource alternative.

  • @sarcasticdna
    @sarcasticdna 3 роки тому +1

    I did this sorry, but thanks for letting me get experienced.
    -dD

  • @TheGodSaw
    @TheGodSaw 3 роки тому +1

    lmao also my lambda waiting for timeout cost me the most :D

  • @avananana
    @avananana 3 роки тому +2

    Imagine being so out of ideas as a programmer that you literally DDoS a dating app for coders.

  • @blizzardsolution222
    @blizzardsolution222 3 роки тому

    hey Ben, thanks for the great story! I have a question; can we have a online version of the profile in VSinder?

  • @TheCodingOdyssey
    @TheCodingOdyssey 3 роки тому +2

    Ha ha all the drama!

  • @iFranzOSX
    @iFranzOSX 3 роки тому

    keep it going!

  • @me_hanics
    @me_hanics 3 роки тому

    How did Vercel contact you that you reacted so fast? did they call you or wrote an email/tweet and you literally saw it right at the moment

  • @spl1ce158
    @spl1ce158 3 роки тому

    Hey, very cool extension! Hope you can update it to the new VSCode version!

  • @EpicHardware
    @EpicHardware 3 роки тому

    A hero needs a enemy, what we will be hearing now if wasn't for this scam bags

  • @mdgaziur001
    @mdgaziur001 3 роки тому

    That's it, humanity proved that you should never trust them.

  • @Peech
    @Peech 3 роки тому +1

    Hacker: *DDOS’ Ben*
    Ben: “Thank you!”

  • @CardinalHijack
    @CardinalHijack 3 роки тому +1

    Will this change how you rate limit resolvers at all?

  • @donaldwu2792
    @donaldwu2792 3 роки тому

    are u using api gateway for that lambda func? I think u can set max concurrent request + max request per second there
    and the location dropdown, I guess u can add country/location table in yr postgres + make an API for UI to call, then will be lower cost
    others thing looks nice

  • @GuerillaRadio848
    @GuerillaRadio848 3 роки тому

    I feel you on the Apple payment issues. Do a Spotify/Netflix and require people to pay for premium on the web where you can just use Stripe (although you can’t tell people that’s what they need to do in the app because Apple won’t allow that through review). It’s such a ballache.

  • @aaronhedgesmusic
    @aaronhedgesmusic 3 роки тому

    Did you switch to something like mapbox as a replacement for googles location service?

  • @stevefan8283
    @stevefan8283 3 роки тому +1

    I think there aren't just one request per Lambda instance per page view for render, because Carbon is written in Next.js so there maybe you have invoked SSR generation for each request and that's like a few new JS and CSS generated plus a lot of different assets (but probably most are just stored in static site like netlify), and if you multiply it by 9 or 10 for each of these "just in time" assets I think it make sense to have millions of requests

  • @Tortuex_
    @Tortuex_ 3 роки тому +4

    ahahahahaha i knew you were the one who downed carbon lmao, said it in the previous video's comment xD

  • @MakeDataUseful
    @MakeDataUseful 3 роки тому +1

    I sometimes start a report with a hi hello. Maybe test that logic first 😂

  • @pelic9608
    @pelic9608 3 роки тому

    5:40 - Puppeteer loads images and css and everything. That's not just one request to them when ur lambda calls, using Puppeteer.
    Requests != visits. One visit creates multiple requests. Factor 100+ is still a bit much, though.