I built a $5 chat app with Pocketbase & Svelte. Will it scale?

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 579

  • @Fireship
    @Fireship  ปีที่แล้ว +253

    Here’s your $100 stimulus check, go break something (must be used in 60 days) www.linode.com/fireship

    • @c00lkitty
      @c00lkitty ปีที่แล้ว +1

      will do.

    • @zedespook
      @zedespook ปีที่แล้ว +10

      I remember when I wanted to make a Linode server. I failed even registering to the website, and 5 support agents told me that I am indeed not a real human. I'll just stick with Supabase.

    • @zeroxd.cypher3899
      @zeroxd.cypher3899 ปีที่แล้ว

      good looks

    • @c00lkitty
      @c00lkitty ปีที่แล้ว +2

      @@zedespook DAMN BRO THATS HARSH

    • @sawbezskywalker2630
      @sawbezskywalker2630 ปีที่แล้ว

      I don't think that the site scaled ...

  • @ggeorgievdev
    @ggeorgievdev ปีที่แล้ว +859

    Hi, PocketBase author here.
    @fireship did a great job with the video and managed to present a lot of things (Linode, Svelte, PB) in a very compact and easy to understand format.
    After reading some of the comments, I'll leave just couple notes:
    1. At the moment of writing, the chat app seems to be using an older PocketBase v0.8.0 version. The latest v0.10+ releases come with split db pool and significant performance and memory improvements.
    2. The realtime connections can quickly exhaust the max open files limit and you may want to increase it accordingly to the expected concurrent load (from the systemd in the video is around ~4096).
    3. For those commenting that SQLite doesn't scale well - *it is PocketBase fault* that the chat app doesn't perform well on high concurrent load and further improvements will be done in the near future. For a single server setup, plain SQLite in WAL mode almost always will outperform other traditional databases.
    (ps. this is a second attempt to post the comment since the first one probably got flagged because of the github link).

    • @YuriG03042
      @YuriG03042 ปีที่แล้ว +78

      Thanks for giving us PocketBase, it's very appreciated!

    • @Fireship
      @Fireship  ปีที่แล้ว +212

      Thanks for the input! This has been an interesting experiment, PB was dealing with nearly 1M requests per hour earlier. I'll probably make a quick follow up on my second channel.

    • @NoobaLV
      @NoobaLV ปีที่แล้ว +34

      @@Fireship Please do! Would be interesting to see the stats

    • @Carlos-xz9zq
      @Carlos-xz9zq ปีที่แล้ว +19

      @@Fireship on the 5$ server?

    • @nickdaves3467
      @nickdaves3467 ปีที่แล้ว

      @@Carlos-xz9zqI want to know this too! 🤔

  • @andymc1110
    @andymc1110 ปีที่แล้ว +30

    Was amazing how much traffic the demo app got. And it was fun to watch all the exploit attempts in real-time. Would love to see this turned into a series where we continue to strengthen, and stress test the app.

    • @YuGoCheff
      @YuGoCheff ปีที่แล้ว +6

      Awesome idea! Because right now all beginners know how to start, but as we have seen it’s not production ready

  • @leviathan7477
    @leviathan7477 ปีที่แล้ว +320

    scp is one of my favorite examples of early unix simplicity. It is basically just a script that opens an ssh connection and then pipes the data through and calls "cp" on the other side 😂

    • @yt-1337
      @yt-1337 ปีที่แล้ว +7

      lol didn't know how it works but it is awesome, i always use scp when copying one or two files to my raspberry pi, never really used rsync except two or three times in a script

    • @bernardonegri5416
      @bernardonegri5416 ปีที่แล้ว +10

      The openssh scp implementation actually uses sftp to copy the file.

    • @mudhutonthemoon
      @mudhutonthemoon ปีที่แล้ว

      Calls “cp” wtf?

    • @garethgan9519
      @garethgan9519 ปีที่แล้ว +1

      @@mudhutonthemoon Yes, its called a program call. how do you not know?

    • @mudhutonthemoon
      @mudhutonthemoon ปีที่แล้ว +1

      @@garethgan9519 I thought it was calling something more nefarious.

  • @vojtastruhar8950
    @vojtastruhar8950 ปีที่แล้ว +6

    I watched this video so many times. It's a complete tutorial. From the front to the back. We've reached tutorial perfection. Thank you sir

  • @kalelsoffspring
    @kalelsoffspring ปีที่แล้ว +375

    As a dev who avoids nearly every third party library if I can just write it myself, it's pretty wild seeing how easy these are to use lol Maybe I should start using them.....

    • @chind0na
      @chind0na ปีที่แล้ว +5

      Appwrite ftw.

    • @bringbackwindowsphone
      @bringbackwindowsphone ปีที่แล้ว +61

      There's nothing wrong using maintained libraries/platforms which helps you develop faster and make more maintainable applications

    • @okie9025
      @okie9025 ปีที่แล้ว +82

      I pray for the person who has to touch your code if everything you write is from scratch lol

    • @OwO-.
      @OwO-. ปีที่แล้ว +10

      i thought the same and still think a zero-dependency app is great but some tools like svelte are really fucking useful

    • @Jorge78712
      @Jorge78712 ปีที่แล้ว +17

      Is common to meet developers who dislike using third-party libraries. I call them stubborn developers, for them it takes an eternity to finish a product.

  • @khaledsanny4817
    @khaledsanny4817 ปีที่แล้ว +109

    crazy !!! a complete production web app, fully stacked ... amazing FS ... I really like the real production approach...because we often dont have this in tutorials... thanks

    • @itsUnsmart
      @itsUnsmart ปีที่แล้ว +11

      Tbh this is more for simple MVPs to test out if something would work and wont scale for production loads, but MVPs are still very very useful so!

    • @M3t4lstorm
      @M3t4lstorm ปีที่แล้ว +4

      This is not a production app ;)

  • @michaelaboah1322
    @michaelaboah1322 ปีที่แล้ว +117

    Small svelte note that may save some trouble. At 12:35 Jeff is using the assignment “=“ operator. Svelte’s reactivity doesn’t work with state changes using methods. Hence array.push() and other methods won’t react. Use the es6 spread syntax as shown in 12:35.
    Another helpful Svelte tip, if you need an element to re-render based off a change in value check out the {#key} block.

    • @nickdaves3467
      @nickdaves3467 ปีที่แล้ว +1

      Thanks Michael, as a newbie coming from Python this is a bless! 🙌

    • @cubiq1
      @cubiq1 ปีที่แล้ว +1

      Is Svelte still being actively developed by 1 person? This is the biggest reason I've never tried it. A bus factor of 1 is no joke.

    • @michaelaboah1322
      @michaelaboah1322 ปีที่แล้ว +8

      @@cubiq1 nope there is a sizable team and they are even under the wing of the same company that maintains React. Namely Vercel. Svelte is currently in good hands.

    • @SuperOmercohen
      @SuperOmercohen ปีที่แล้ว +13

      @@michaelaboah1322 Vercel also maintains Next.js, not React. A team in Meta (facebook) maintains React

  • @OldKing11100
    @OldKing11100 ปีที่แล้ว +64

    Pocketbase looks really cool. I always liked paradigms where the API is closer to the database where you can self host (don't tell Theo). If I wasn't firmly planted with FastAPI + Redis/PostgreSQL; I'd start all over with Pocketbase.

    • @hamm8934
      @hamm8934 ปีที่แล้ว +14

      Ew Theo. Wish he wasn’t as toxic as he is because he’s got some interesting takes

    • @nomadtrails
      @nomadtrails ปีที่แล้ว

      @@hamm8934 Theo is toxic? link please. Only saw him once and thought his takes were on point.

    • @gerooq
      @gerooq 5 หลายเดือนก่อน

      @@hamm8934Be very suspicious of these "interesting" takes

  • @kiranraaj7889
    @kiranraaj7889 ปีที่แล้ว +6

    No way, NO WAYYY, I was building my web side project and going through different frameworks, i was considering svelte for frontend and i was not sure of a backend service so i searched and came across your pocketbase video, so my next step was obviously to search "svelte and pocketbase" AND GUESS WHAT, YOU UPLOAD A VIDEO ABOUT IT!????

  • @nulcow
    @nulcow ปีที่แล้ว +31

    As a web developer who pretty much exclusively uses vanilla HTML/CSS/JS for frontend and PHP/PostgreSQL for backend hosted on a local apache web server, this stuff is completely new to me, but it definitely seems like a much simpler way of creating web apps.

    • @iamvalenci4
      @iamvalenci4 ปีที่แล้ว +6

      the things you are learnig are the fundaments of this technology, so when you want to learn one of these technology, it will be easy for you.

    • @manojramesh4598
      @manojramesh4598 ปีที่แล้ว +1

      ​@@iamvalenci4 true

    • @dejangegic
      @dejangegic ปีที่แล้ว

      why are you using Apache?

  • @RS-90
    @RS-90 ปีที่แล้ว +2

    You make some complex things quite simple by making content concise to the point otherwise I need to go through whole documentation or big video. Great Work❤

  • @dreamisover9813
    @dreamisover9813 ปีที่แล้ว +29

    This video has such a high value! I feel like learning the steps to write this individually would take days possibly if you'd do it yourself

  • @lucasj.pereira4912
    @lucasj.pereira4912 ปีที่แล้ว +8

    I like how the hosted app is on fire right now! Literally...

    • @hakuna_matata_hakuna
      @hakuna_matata_hakuna ปีที่แล้ว

      I don't think he expected thousands of requests per minute

  • @DarkVader781
    @DarkVader781 ปีที่แล้ว +32

    As someone that started to code recently and varely understands vanilla Javascript, one quarter of my mind can follow what this guy is doing and the rest 3/4 is blown by the knowledge and makes me feel like a monkey eating dirt. Wonder if i'll ever be this good. Amazing channel and content!

    • @cody_code
      @cody_code ปีที่แล้ว +5

      You will be, just keep at it!

    • @yashpandey350
      @yashpandey350 ปีที่แล้ว +1

      Feeling is mutual 😅😅, I know django's sqlite and mongodb (Mern stack) related stuffs but still this content is like a bouncer for me 😛😛

    • @weblure
      @weblure ปีที่แล้ว

      Don't set your bar this low, lmao
      I recommend sticking to pure programming languages and staying far away from all these bulky, buggy, and security-compromising libraries/plugins/etc. The chat he made is complete dogshit, I swear it's worse than the AJAX chatroom I made when I was 14

    • @Nobodylihshdheuhdhd
      @Nobodylihshdheuhdhd ปีที่แล้ว

      ​@@weblurehow 🤡

  • @0Smile0
    @0Smile0 ปีที่แล้ว +40

    as of 15 minutes after the video was posted, the chat doesn't register emojis anymore, so i guess it didn't scale 🤣🤣

  • @ChrisPepper1989
    @ChrisPepper1989 ปีที่แล้ว +9

    As a C# / Microsoft Stack developer, I do often default to "What can i put together quickly in Azure" and it is increasingly painless these days to set up "something quick" (Blazor + VSCode deploy is ace). However I'm increasingly tempted by baas. Just having authentication and a database out of the box is very tempting. And Blazor is nice but it has a lot of "magic" that svelte seems to not carry as extra weight....

    • @ioneocla6577
      @ioneocla6577 ปีที่แล้ว +1

      For all my c# projects I just use azure app service which is kinda like firebase for azure

    • @ChrisPepper1989
      @ChrisPepper1989 ปีที่แล้ว

      @@ioneocla6577 I also just use an app service but it's not quite firebase from what I can see?
      There is still a slightly more manual sql set up and authentication isn't quite out of the box either... Unless I'm overestimating what firebase does?
      I quite like the look of amplify, there are some nice tutorials for blazor on amplify and it comes with a lot of things in a nice package.

  • @diegoavendanohernandez9908
    @diegoavendanohernandez9908 ปีที่แล้ว +1

    One of my favorites videos of yours

  • @hallelshmueli
    @hallelshmueli ปีที่แล้ว +25

    Crazy how I just started to built a Pocketbase and Svelte app and this releases

    • @mohsinyamani5497
      @mohsinyamani5497 ปีที่แล้ว +3

      Me too, was just starting a project with this stack as well

    • @unorthodox1430
      @unorthodox1430 ปีที่แล้ว +11

      he knows, he always does

  • @whkoh7619
    @whkoh7619 ปีที่แล้ว +2

    Loving the Svelte and Pocketbase videos. Thanks a million!!

  • @keithpharoah6110
    @keithpharoah6110 ปีที่แล้ว

    On a side note you are low key one of the funniest creators in this space 😂

  • @newton94
    @newton94 ปีที่แล้ว +6

    Love this channel. This project showcase actually made me try out linode.

  • @zookaroo2132
    @zookaroo2132 ปีที่แล้ว +5

    Damn the chat gets bombed immediately once the video released

  • @cloudfumes7367
    @cloudfumes7367 ปีที่แล้ว +3

    Nice tutorial pls create more on pocket base and svelte..

  • @JLarky
    @JLarky ปีที่แล้ว +2

    10:30 pretty sure it doesn't render them more efficiently :) just updates them more efficiently in case if one of the messages gets deleted

  • @gregor3148
    @gregor3148 ปีที่แล้ว +4

    Fireship single-handedly pushing more dev into svelte. NGL, svelte is the best thing in the world of web framework

  • @zoubirzarqi2731
    @zoubirzarqi2731 ปีที่แล้ว

    you the best, we want more videos about the Spock patern

  • @tinmank
    @tinmank ปีที่แล้ว +15

    Recently I started to play with pocketbase too, only problem I had faced so far is, importing a dataset to the database.
    I guess there is no bulk insert.

    • @derzart
      @derzart ปีที่แล้ว +9

      The SQLite database file is under pb_data folder, you can open them up using tools like DataGrid or Navicat and do any importing and exporting you’d like.

    • @marusdod3685
      @marusdod3685 ปีที่แล้ว

      @@derzart but then pocketbase'll likely not recognize it since more likely than not it stores a bunch of metadata to recognize the schemas

    • @pixobit5882
      @pixobit5882 ปีที่แล้ว +1

      @@marusdod3685 i don't think so. Sqlite should store the schema itself

    • @tinmank
      @tinmank ปีที่แล้ว +1

      @@derzart I've tried that, I don't know the ID format, no description in the documentation about it, also some other, default columns needs to be populated along with it.

  • @akshaymattoo
    @akshaymattoo ปีที่แล้ว +3

    This is what i started with last night and here comes the God’s video to save me a week. I have not tried it but looking the video i have a question can we use the same pocketbase installation for several projects. Is there a concept of schemas to separate the data?

  • @hansiboy5348
    @hansiboy5348 ปีที่แล้ว +3

    I enjoyed interacting with the app, but i don't think it is very responsive. I would love to see it remade using the T3 stack. This app is the perfect benchmark for it

  • @zalonics5177
    @zalonics5177 ปีที่แล้ว +8

    This is awesome. Pocketbase is the gigachad of bases. I'm glad I learned about Linode too! I was using Fly

    • @TheGargalon
      @TheGargalon ปีที่แล้ว

      Make the effort to learn AWS and you will never need any other service ever again for anything

  • @dr.d3600
    @dr.d3600 ปีที่แล้ว +1

    Hahaha the whole video is about svelte is awesome 😎😎😎 totally agree with Jeff😎😎😎

  • @spyous7884
    @spyous7884 ปีที่แล้ว +6

    The video has been up for 20 minutes and the chat is filled with three things
    1. "What is going on"
    2. "Sex"
    3. "fart"
    I don't think your auto-moderation thing is working

  • @lgsyt
    @lgsyt ปีที่แล้ว

    Super amazing work dude 🙂 !!!

  • @Qrzychu92
    @Qrzychu92 ปีที่แล้ว +7

    so, I tested the app, and the answer is, no, it doesn't scale that well :D I had to use devtools to make sure if my message was sent. Still, great video, cool tech

  • @camstuart
    @camstuart ปีที่แล้ว +1

    Another great video! so one thing I'm confused about, use svelte or sveltekit on the front end? 😕Also, the "spock stack" needs to stick!

  • @Arciiix
    @Arciiix ปีที่แล้ว +21

    Do you prefer Supabase or Pocketbase? Or maybe is creating a traditional back-end with Node better?

    • @realmimak
      @realmimak ปีที่แล้ว +10

      Pocketbase is sqlite-based while supabase is enhanced postgres with a layer of backend utilities like real time/graphql APIs and row-level security. While pocketbase comes in handy for small-to-mid projects, you wouldn't reasonably choose it over supabase if you see a db scaling scenario possibility

  • @g9icy
    @g9icy ปีที่แล้ว

    Two space indentation? Literally unwatchable. :D Great video, I might use Pocketbase for some side projects after seeing how easy it is to get things up and running.

  • @collinthomas6288
    @collinthomas6288 ปีที่แล้ว +3

    Great tutorial but damn what happened to the the rock climber

  • @Techy504
    @Techy504 ปีที่แล้ว

    10:31 the bass drop. Damn.

  • @theprince_101
    @theprince_101 ปีที่แล้ว +2

    Just finished building my portfolio website in Svelte.... This should come in handy this weekend 😊

  • @ChrisValinhas
    @ChrisValinhas ปีที่แล้ว +1

    There doesnt seem to be a way to filter the realtime subscriptions, its either everything or by record ID so this kinda breaks down if you needed to implement something like chatrooms. Or at the very least your data model would have to change...

  • @CottonInDerTube
    @CottonInDerTube ปีที่แล้ว +5

    9:59 cannot remember how its called, but you receive many data in JS, which can lead to leaks.
    Later you extend the user to contain more sensitive data
    and you loaded all this data to the collection, which every logged in user can collect =)
    _EDIT: except this is server side rendered ... but i dont know that yet._

    • @vzxai4275
      @vzxai4275 ปีที่แล้ว

      dose this being SSR protect the data tho

  • @phantom7132
    @phantom7132 ปีที่แล้ว +1

    Thanks for the video. Why do you await the call (9:50) in the mounted hook? That just blocks the page and the data has no dependencies, instead, a loading spinner with a certain treshold could be shown while the rest of the UI renders.

  • @CiceroMonteiro
    @CiceroMonteiro ปีที่แล้ว +3

    Awesome but as a backend dev I always like to have more control over performance and relational data is always something to keep an eye on. In frameworks like Laravel you can use Eloquent or Query Builder but all that does is to organize a nice little query for you to use. In some cases I need use raw queries to improve performance (for millions of records that relate to everything) and I don't see that kind of backend scaling to those levels. I might be wrong and Svelte is awesome, thanks Fireship for clearing the path.

  • @automation_by_blake
    @automation_by_blake ปีที่แล้ว +2

    Hold on, THAT LAST CLIP!

  • @omomer3506
    @omomer3506 ปีที่แล้ว +1

    Currently using sveltkit to build a website and I am loving it

  • @rifaldhiaw
    @rifaldhiaw ปีที่แล้ว +5

    Now I think Jeff can atctually sell anything. Definitely, not just a JS framework

  • @SrCapelinha
    @SrCapelinha ปีที่แล้ว +51

    after what happened on the first day of discord, leaving a chat app open like that, we know how it will end hahahaha

    • @SrCapelinha
      @SrCapelinha ปีที่แล้ว +16

      ClientResponseError 403: Only admins can perform this action.
      didn't last 10 minutes

    • @Mkrabs
      @Mkrabs ปีที่แล้ว +5

      You can login, but can't send messages.

  • @TKDVL
    @TKDVL ปีที่แล้ว +7

    "...With flat predictable pricing that won't cause collateral damage" now that's one hell of a pun

    • @anarcus
      @anarcus ปีที่แล้ว +3

      Is that even a pun?

  • @captnoplan3926
    @captnoplan3926 6 หลายเดือนก่อน

    Great little tutorial. You should do more PocketBase stuff.
    But your Linode link is dead. Seems they've been acquired by Akamai.
    Do you still use this now that it's with Akamai or can you recommend another Linode type host provider?

  • @pmpaulino
    @pmpaulino ปีที่แล้ว

    Saw this coming from your love of pocketbase and svelte... so gud! Kudos!

  • @jorispla7
    @jorispla7 ปีที่แล้ว +1

    As a climber, that climber fall at the end was too much
    GOOD VIDEO OTHERWISE THANKS

    • @AlecThilenius
      @AlecThilenius 27 วันที่ผ่านมา

      Yeah that gave me sweaty palms. If that guy lived, he broke an awful lot of bones. I've never understood the humor in watching people get injured, especially when it's life-ruining. Just leaves me feeling kind of sick.

  • @vinaymama
    @vinaymama ปีที่แล้ว

    Bro this is super awesome and fun . Thank you for the tutorial

  • @solutech2769
    @solutech2769 ปีที่แล้ว +1

    Yow this is 🔥🔥🔥, It literally enlighten me how backend works... Dang as an aspiring developer this is a big help. Thank you 😎😎😎

  • @duongx6252
    @duongx6252 ปีที่แล้ว +2

    please make more videos about svelte

  • @Twingamerdudes
    @Twingamerdudes ปีที่แล้ว +48

    $5 dollars can’t protect you from your discord chat lol.
    Edit: some people are asking what happened so here’s what happened. Fireship pinged everyone and the servers crashed.

  • @ShafterPlay
    @ShafterPlay ปีที่แล้ว +57

    I'm actually really curious to know how you made the reactions system. Last time I tried Pocketbase you could't make sure a user had a "reaction" record for a "message" already to prevent people from reacting to the same message multiple times.

    • @hakuna_matata_hakuna
      @hakuna_matata_hakuna ปีที่แล้ว +2

      you could create a unique index on user and reaction , this needs access to the pb_data/data.db

    • @valtism
      @valtism ปีที่แล้ว +1

      The way I would do it is to have a new table for reactions that has the userId and postId. If the user tries to react to something it would check to make sure that combination did not already exist.

    • @ShafterPlay
      @ShafterPlay ปีที่แล้ว +1

      @@hakuna_matata_hakuna Yep, but that's not really ideal, right?

    • @ShafterPlay
      @ShafterPlay ปีที่แล้ว

      @@valtism That's what I'm describing, I don't think you can currently do this with Pocketbase :/

    • @josewilhelm2717
      @josewilhelm2717 ปีที่แล้ว +4

      It would be something like a many-to-many relationship in a RDBMS. One entry relates a post, another one your user, and a third for a reaction type, so there can't be more than 1 entry in that table with the same 3 values at once

  • @SahraClayton
    @SahraClayton ปีที่แล้ว

    how the fuck does this guy make things look so easy

  • @benasmockus6988
    @benasmockus6988 ปีที่แล้ว +11

    Damn the ending broke my heart :'(

    • @otek_
      @otek_ ปีที่แล้ว +3

      Same, hope they're ok 😩

    • @beinyourguard
      @beinyourguard ปีที่แล้ว +1

      @@otek_ they are, thankfully. th-cam.com/video/66KF_5JWpdA/w-d-xo.html

  • @matthewbeardsley7004
    @matthewbeardsley7004 ปีที่แล้ว +2

    someone rebuild it with a scalable backend 🙂. Maybe a follow up video on where it fell down, how many simultaneous users...100? How many reqs per second? 500?

  • @BenAssane
    @BenAssane ปีที่แล้ว

    - fireship built a new app
    - me : Speed of the vid == 0.5

  • @nahuelpiguillem2949
    @nahuelpiguillem2949 ปีที่แล้ว

    i would love to click thousand "i like", dude you're awesome, a lighthouse for newbies

  • @joy_sam_raj
    @joy_sam_raj ปีที่แล้ว

    That Lil Wayne throwing money is my wallpaper🥰

  • @dejalaenvisto
    @dejalaenvisto ปีที่แล้ว

    Excelente, me encanto la forma y toda la informacion, increible, muy bueno 🔥🔥🔥🔥🔥🔥
    Excelente, me encanto la forma y toda la informacion, increible, muy bueno 🔥🔥🔥🔥🔥🔥
    Excelente, me encanto la forma y toda la informacion, increible, muy bueno 🔥🔥🔥🔥🔥🔥

  • @BorisBarroso
    @BorisBarroso ปีที่แล้ว +1

    Thanks for the tutorial. Svelte is amazing

  • @cruz.aljon1990
    @cruz.aljon1990 ปีที่แล้ว

    Great video! I have a question. Can you use the linode's volume you created to be the source of data of multiple pocketbase instance? Thanks

  • @XiaZ
    @XiaZ ปีที่แล้ว +1

    For someone looking to follow this, remember, there're no $inc in pocketbase.

  • @iyadelwy1500
    @iyadelwy1500 ปีที่แล้ว

    We need a "Scala in 100 seconds" video

  • @charleslewson5656
    @charleslewson5656 ปีที่แล้ว +5

    When your first thought as a QA engineer is, that poop button looks mighty nice to click with a swarm of users.

  • @komolafeezekieldare9873
    @komolafeezekieldare9873 ปีที่แล้ว

    Please fireahip your tutorial is awesome, thanks for the new update,

  • @trickyd499
    @trickyd499 ปีที่แล้ว

    you're a badass Lego programmer

  • @neociber24
    @neociber24 ปีที่แล้ว

    Linode
    That sounds too fancy

  • @ThisNils
    @ThisNils ปีที่แล้ว +160

    the people in his discord already know the answer lmao

    • @vectoralphaSec
      @vectoralphaSec ปีที่แล้ว +2

      why?

    • @gto433
      @gto433 ปีที่แล้ว +28

      It wont scale, he said himself it requires vertical scaling. Which is comparatively expensive

    • @bossgd100
      @bossgd100 ปีที่แล้ว +1

      @@gto433 thx

    • @MaulikParmar210
      @MaulikParmar210 ปีที่แล้ว +9

      No one in their right mind would use sqlite for actual data store for large system unless it's just logging :)

    • @KWerder92
      @KWerder92 ปีที่แล้ว +6

      @@MaulikParmar210 so what would someone in their mind use instead? Asking for a friend...

  • @TheEbencarljo
    @TheEbencarljo ปีที่แล้ว

    This is amazing. Pocketbase give me so many reason to try it out.

  • @theMarcantoine96
    @theMarcantoine96 ปีที่แล้ว +2

    I hope the guy at the end didn't die :(

  • @joeseabreeze
    @joeseabreeze ปีที่แล้ว +26

    It gives me a headache and anxiety watching this process that we’ve all done over and over using a different stack that uses different names and slightly different mechanisms but they all do the exact same thing ugh. When will it end? lol 😅

    • @ybrith
      @ybrith ปีที่แล้ว +9

      I feel you. These improvements seem very incremental, and it's totally fine to zone out a bit and not obsess over every little step along the way. Just update your stack every so many years, like you buy a new PC. Don't get stuck in the past, but also don't cut yourself on the bleeding edge every month. Let's stay sane everyone :D

    • @-Chris_
      @-Chris_ ปีที่แล้ว +3

      Never, there will be even more in the future

    • @carldrogo9492
      @carldrogo9492 ปีที่แล้ว +1

      That's the problem with trying to catch up with every new tech stack.

    • @marusdod3685
      @marusdod3685 ปีที่แล้ว

      it'll end when the tech bubble bursts

    • @realtruth1061
      @realtruth1061 ปีที่แล้ว

      Code conspiracy

  • @louroboros
    @louroboros ปีที่แล้ว +1

    Does the pocketbase JS lib do optimistic updates or does the app roundtrip before showing your submitted chat message?

  • @MrTien-yq6cj
    @MrTien-yq6cj ปีที่แล้ว +2

    More video about svelte?

  • @realPottekkat
    @realPottekkat ปีที่แล้ว +2

    What happened to the guy at the end who fell off a cliff?

  • @pnilssson
    @pnilssson ปีที่แล้ว +1

    Love the videos! More SSR stuff please 😍

  • @metatronicx
    @metatronicx ปีที่แล้ว +1

    What a lovely tutorial !! Fireship is a 10

  • @nohandleavails
    @nohandleavails 7 หลายเดือนก่อน

    Question about security: At 11:11 you have the sendMessage function that submits the chat message and the user ID. Could someone not hijack this function (using Devtools) and change the user ID to that of another user (to impersonate a message from someone else)? Or does Pocketbase automatically have protection against this?

  • @rick-kv1gl
    @rick-kv1gl ปีที่แล้ว +18

    so it compiles to exe and u can run it on debian, amazing.

    • @hglbrg
      @hglbrg ปีที่แล้ว +8

      no it compiles to an executable, not a .exe which is a windows type file

    • @anguswett
      @anguswett ปีที่แล้ว +2

      Just use wine bro

    • @entx8491
      @entx8491 ปีที่แล้ว +2

      Yes I thought that was potentially misleading too lol

    • @rick-kv1gl
      @rick-kv1gl ปีที่แล้ว

      @@anguswett proton joint the chat.

    • @edupazz
      @edupazz ปีที่แล้ว

      @@hglbrg r/whoosh

  • @SteveHazel
    @SteveHazel ปีที่แล้ว +1

    wait your local pc runs debian? are you usin' chromeos?

  • @thewanderingalien5653
    @thewanderingalien5653 ปีที่แล้ว +2

    Just checked out the live app..All the messages are pooped on and the send button doesn't work 🙃

  • @devbyveritech
    @devbyveritech 8 หลายเดือนก่อน

    Please we need a complete tutorial for the app

  • @ricardoalcantara5846
    @ricardoalcantara5846 ปีที่แล้ว

    I want to like this video twice =D

  • @Wreighn
    @Wreighn ปีที่แล้ว +1

    How do you create an elegant m2m relationship?

  • @MrgnUTube
    @MrgnUTube ปีที่แล้ว

    I really loved your work this year even if you continue to type "catch(err)" instead of "catch(exception)" 😅

  • @94sl
    @94sl ปีที่แล้ว +2

    Stuck on loading when creating a user. Well that's that about scaling... Or?

  • @rod6722
    @rod6722 ปีที่แล้ว

    Fascinating.

  • @Joneewars2
    @Joneewars2 4 หลายเดือนก่อน

    Man that last clip is crazy, is that guy ok?

  • @normanluismadrid422
    @normanluismadrid422 ปีที่แล้ว

    this is gold, much appreciated

  • @DanelonNicolas
    @DanelonNicolas ปีที่แล้ว

    excellent tutorial 😍👌🏻

  • @AnimeZone247
    @AnimeZone247 7 หลายเดือนก่อน

    cant you use kubernetes inside of linode to scale horizontally?

  • @DanishAnton
    @DanishAnton ปีที่แล้ว

    Why not use onMount's optional return to unsubscribe instead of using onDestroy?

  • @sayemprodhanananta144
    @sayemprodhanananta144 ปีที่แล้ว +9

    Running as root... The audacity

  •  ปีที่แล้ว

    Would be cool to see it redone in sveltekit.

  • @astrea4231
    @astrea4231 ปีที่แล้ว

    I've seen you used some kind of visualization tool to present backend. What's that?