Well F*ck - Do NOT Deploy Your Code Like This

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • This is a classic tale of how deployment GOES WRONG.
    Don't think everything in the world is free.
    Vercel is a service. A service costs me. Know how Lambda's work.
    I love it. If you are interested in learning about Vercel and Next JS, don't do what these guys did.
    Code: github.com/Mel...
    Video Editor: @TheMason
    Twitch
    I stream live on Twitch every weekend
    Twitch : / melkey
    Join the amazing community on Discord
    Discord: / discord
    I post memes and host Twitter Tech Spaces
    Twitter: / melkeydev
    The Best Resources to Learn Golang (If I Could Start Over)
    Golang Has Entered A New Era for HTTP Routing
    SUBSCRIBE OR GET LAID OFF
    ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
    ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
    ╠╗║╚╝║║╠╗║╚╣║║║║║═╣
    ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
    #coding #neovim #typescript #programming #vim #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #rustlang #rust #twitch #twitchstreamer #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment #gymbro #gym #programmerhumor #programming #coding #golang #go #golanguage

Комментарии • 36

  • @MerkieAE
    @MerkieAE 7 месяцев назад +26

    Damn now I know who's paying the bill for my free-plan vercel sites rip

    • @babakfp
      @babakfp 7 месяцев назад

      👍👍😂😂

    • @defender2212
      @defender2212 7 месяцев назад

      Mine too 😂

  • @RA-xx4mz
    @RA-xx4mz 6 месяцев назад +6

    Guy: Vercel only charges for the resources you use 😊
    Also guy: Vercel is charging for the resources I used 😡

  • @tercmd
    @tercmd 7 месяцев назад +9

    For context:
    The app maps out a concept into subconcepts (using AI) over and over again. The user can click a subconcept to redo the search with that concept.
    The problem is that streaming AI responses takes time, inflating GB-hours (the metric used for billing).
    In addition, the app just uses a lot of Serverless Functions.

    • @benbowers3613
      @benbowers3613 7 месяцев назад +1

      Great point! I think a good take away here could be that serverless functions are best used for small things like "send an email to a user." If you know that you are going to need massive compute/bandwidth, then you should look into managing your own service.

  • @babakfp
    @babakfp 7 месяцев назад +10

    You didn't explain why the bill was so high! Don't make cheap reaction content that you just they what you think about something without actually explaining anything!

    • @beganovich
      @beganovich 7 месяцев назад +2

      there's nothing to explain. vercel = aws + shadcn/ui + 500% markup

    • @ark_knight
      @ark_knight 7 месяцев назад +1

      Because the dev didnot predict the amount of traffic. Serverless functions.
      The video did point us to Coolify. I think that's my biggest takeaway here

    • @MelkeyDev
      @MelkeyDev  7 месяцев назад

      do you want to try writing a cohesive comment again?
      I almost died trying to read what you wrote

  • @aarong2374
    @aarong2374 7 месяцев назад +9

    Need more of a warning system to notify customers/devs of cost spikes.

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +3

      You could also not user Vercel

    • @aarong2374
      @aarong2374 6 месяцев назад +1

      @@MelkeyDev That is true but seems most cloud services run into this. I work in the HPC area in academia and always concerned about getting a huge bill. Would just be nice to have some alert of going over a budget. Maybe there is a way in AWS and friends, but they seem to make that difficult.

  • @Yusuf-ok5rk
    @Yusuf-ok5rk 7 месяцев назад +23

    are we normalizing 5k usd bill with no real data other than "it went popular, you deserve to be charged 5k"? ehh?

    • @THEROOT1111
      @THEROOT1111 7 месяцев назад +9

      Cloud is a scam, especially on hobby projects, if someone did that to your credit card you would have criminal action against him, but oh no, if it's amazon or some subcompany that uses amazon and microsoft it's ok :p

    • @babakfp
      @babakfp 7 месяцев назад

      Yep, I've seen this happen again and again. You have some stupid website and they ask you pain insane amount of money!

    • @cryMoreLoL
      @cryMoreLoL 7 месяцев назад

      @@THEROOT1111hobby projects are free on vercel, they don’t even ask for payment info.

    • @cryMoreLoL
      @cryMoreLoL 7 месяцев назад

      @@babakfpwhy would you even use something like vercel for a “stupid website?”

  • @paca3107
    @paca3107 7 месяцев назад +3

    that's why I deploy all my projects on vps like a dev boomer.

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +2

      dev boomer baby lfg!!

  • @bigcheese9530
    @bigcheese9530 7 месяцев назад +2

    It's really disingenuous to put a fictitious tweet in a thumbnail. But hey, anything for views, right?

    • @tercmd
      @tercmd 7 месяцев назад +1

      everybody does it and I guess it works. It also seems like melkey's changed the thumbnail

  • @johanneswelsch
    @johanneswelsch 6 месяцев назад

    I moved off vercel ~3 weeks ago. No more cold starts. Now I have faster deployments and no limitations on rollback. Only wins. I host on a VPS, I start the app with pm2. Very happy. And no risk of random traffic bankrupting you.

  • @CallousCoder
    @CallousCoder 7 месяцев назад

    I hate cloud, I always suggest to never use cloud unless you truly need to and then make sure you don't use cloud native stuff to lock you in.
    But generally a few VPSes or even your own servers and bandwidth on a 1Gb link cost hardly anything and you are set for 99% of the use cases -- unless you stream video, that is one of the use cases Cloud will help (or a good ISP).
    The dangers aren't just sudden spiking costs but vendor lock in and vendors rising costs. Azure costs rose significantly, they lure you in and once you locked in, they can do with the costs what they want. Also security remains a challenge and is based on trust.

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +1

      I enjoy AWS, i dislike the Vercel style companies.
      I also like self hosting

  • @Wielorybkek
    @Wielorybkek 7 месяцев назад

    sure, it's totally fine that cloud providers make it super easy to host your apps but extremely difficult to understand, estimate, and predict costs. normal company would never do business with someone who they think is not serious, competent or reach enough. it's mafia, not business.

  • @mohitkumar-jv2bx
    @mohitkumar-jv2bx 7 месяцев назад +1

    Melkey's outro song is 🔥🔥🔥🔥

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +1

      It IS a banger

  • @markjameshender3592
    @markjameshender3592 6 месяцев назад

    i don't believe you've deployed prod code in your life :D

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +1

      for sure - my jobs at Amazon and Netflix are just for the gag!

    • @CVE42287
      @CVE42287 6 месяцев назад

      ​@@MelkeyDevGuessing there's a reason you're making YT videos now.
      I know an 18 year old that works at Netflix, u ain't special champ 😭

  • @hiraramzan5857
    @hiraramzan5857 7 месяцев назад +1

    People would do anything for traction, good content as always.

    • @babakfp
      @babakfp 7 месяцев назад

      What was good about the content, can you explain?

    • @krlgrudzinski
      @krlgrudzinski 6 месяцев назад +1

      @@babakfpNothing. This whole video is a trash take