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.
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).
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.
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.
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.
@@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.
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 😂
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
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
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!????
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.....
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.
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.
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.
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❤
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!
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
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?
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 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.
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._
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.
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.
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.
@@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.
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?
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
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.
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.
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
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...
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.
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 🔥🔥🔥🔥🔥🔥
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
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?
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
$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.
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
10:40 theres no need to use the ugly js string interpolation. Any js expression that is in between brackets is automatically injected by svelte. Really beautiful, i hate js string interpolation, that's what noped me out of vue lmao.
12:24 again no need to use the onDestroy fn and storing the unsubscribre fn. You can return a fn in the onMount and it will run when the component is destroyed. You can just reduce all the boilerplate by returning the pocketbase subscription and thats it. Svelte is 🔥
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.
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.
@@carldrogo9492 You can mount an external SSD on most cloud providers (they call it a volume). You can store your database on this. It seems like a good idea at first because it's cheap and usually much bigger than your main drive. The problem is when you get enough writes, your CPUs will shoot up to 100% being bottlenecked by the slower I/O of the volume. Basically, it doesn't scale.
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?
Here’s your $100 stimulus check, go break something (must be used in 60 days) www.linode.com/fireship
will do.
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.
good looks
@@zedespook DAMN BRO THATS HARSH
I don't think that the site scaled ...
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).
Thanks for giving us PocketBase, it's very appreciated!
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.
@@Fireship Please do! Would be interesting to see the stats
@@Fireship on the 5$ server?
@@Carlos-xz9zqI want to know this too! 🤔
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.
Awesome idea! Because right now all beginners know how to start, but as we have seen it’s not production ready
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
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.
Thanks Michael, as a newbie coming from Python this is a bless! 🙌
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.
@@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.
@@michaelaboah1322 Vercel also maintains Next.js, not React. A team in Meta (facebook) maintains React
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 😂
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
The openssh scp implementation actually uses sftp to copy the file.
Calls “cp” wtf?
@@mudhutonthemoon Yes, its called a program call. how do you not know?
@@garethgan9519 I thought it was calling something more nefarious.
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
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!
This is not a production app ;)
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!????
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.....
Appwrite ftw.
There's nothing wrong using maintained libraries/platforms which helps you develop faster and make more maintainable applications
I pray for the person who has to touch your code if everything you write is from scratch lol
i thought the same and still think a zero-dependency app is great but some tools like svelte are really fucking useful
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.
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.
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.
@@iamvalenci4 true
why are you using Apache?
youre stuck on the early 2000 or what
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.
Ew Theo. Wish he wasn’t as toxic as he is because he’s got some interesting takes
@@hamm8934 Theo is toxic? link please. Only saw him once and thought his takes were on point.
@@hamm8934Be very suspicious of these "interesting" takes
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❤
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
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!
You will be, just keep at it!
Feeling is mutual 😅😅, I know django's sqlite and mongodb (Mern stack) related stuffs but still this content is like a bouncer for me 😛😛
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
@@weblurehow 🤡
I like how the hosted app is on fire right now! Literally...
I don't think he expected thousands of requests per minute
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?
as of 15 minutes after the video was posted, the chat doesn't register emojis anymore, so i guess it didn't scale 🤣🤣
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....
For all my c# projects I just use azure app service which is kinda like firebase for azure
@@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.
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
On a side note you are low key one of the funniest creators in this space 😂
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._
dose this being SSR protect the data tho
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.
Loving the Svelte and Pocketbase videos. Thanks a million!!
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.
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.
@@derzart but then pocketbase'll likely not recognize it since more likely than not it stores a bunch of metadata to recognize the schemas
@@marusdod3685 i don't think so. Sqlite should store the schema itself
@@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.
One of my favorites videos of yours
Hahaha the whole video is about svelte is awesome 😎😎😎 totally agree with Jeff😎😎😎
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?
Crazy how I just started to built a Pocketbase and Svelte app and this releases
Me too, was just starting a project with this stack as well
he knows, he always does
Love this channel. This project showcase actually made me try out linode.
Do you prefer Supabase or Pocketbase? Or maybe is creating a traditional back-end with Node better?
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
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.
you could create a unique index on user and reaction , this needs access to the pb_data/data.db
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.
@@hakuna_matata_hakuna Yep, but that's not really ideal, right?
@@valtism That's what I'm describing, I don't think you can currently do this with Pocketbase :/
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
Super amazing work dude 🙂 !!!
Nice tutorial pls create more on pocket base and svelte..
you the best, we want more videos about the Spock patern
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...
Damn the chat gets bombed immediately once the video released
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.
Just checked out the live app..All the messages are pooped on and the send button doesn't work 🙃
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 🔥🔥🔥🔥🔥🔥
Does the pocketbase JS lib do optimistic updates or does the app roundtrip before showing your submitted chat message?
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!
10:31 the bass drop. Damn.
- fireship built a new app
- me : Speed of the vid == 0.5
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
This is awesome. Pocketbase is the gigachad of bases. I'm glad I learned about Linode too! I was using Fly
Make the effort to learn AWS and you will never need any other service ever again for anything
i would love to click thousand "i like", dude you're awesome, a lighthouse for newbies
Hold on, THAT LAST CLIP!
Stuck on loading when creating a user. Well that's that about scaling... Or?
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?
What happened to the guy at the end who fell off a cliff?
wait your local pc runs debian? are you usin' chromeos?
Great tutorial but damn what happened to the the rock climber
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
cant you use kubernetes inside of linode to scale horizontally?
Does Svelte has good auto complete in VS code? Because that syntax looks weird
Yes it does. Especially if you use SvelteKit
@@isdeonf Especially^2 if you use Copilot
$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.
What happened?
Yes, What happened with Discord?
.
@@vaibhavnayak233 they broke the app in 0.01 seconds, like the moment he pinged everyone, the servers crashed
lol
More video about svelte?
Saw this coming from your love of pocketbase and svelte... so gud! Kudos!
Accessing dB client side ?
11:14 creating a chat message and specifying userid? Seems like I can pretend to be someone else?
How do you create an elegant m2m relationship?
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
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
after what happened on the first day of discord, leaving a chat app open like that, we know how it will end hahahaha
ClientResponseError 403: Only admins can perform this action.
didn't last 10 minutes
You can login, but can't send messages.
Yow this is 🔥🔥🔥, It literally enlighten me how backend works... Dang as an aspiring developer this is a big help. Thank you 😎😎😎
Just finished building my portfolio website in Svelte.... This should come in handy this weekend 😊
so it compiles to exe and u can run it on debian, amazing.
no it compiles to an executable, not a .exe which is a windows type file
Just use wine bro
Yes I thought that was potentially misleading too lol
@@anguswett proton joint the chat.
@@hglbrg r/whoosh
Bro this is super awesome and fun . Thank you for the tutorial
would i be able to say "I use arch btw" if i use something based on arch, like manjaro?
Love the videos! More SSR stuff please 😍
Why not use onMount's optional return to unsubscribe instead of using onDestroy?
"...With flat predictable pricing that won't cause collateral damage" now that's one hell of a pun
Is that even a pun?
Fireship single-handedly pushing more dev into svelte. NGL, svelte is the best thing in the world of web framework
I've seen you used some kind of visualization tool to present backend. What's that?
was wondering if it could also be utilized to share files in the chat?
Please fireahip your tutorial is awesome, thanks for the new update,
I followed this guide and it fails to create the record at the signup part.. not sure whats wrong here
What is the source of the climb video ? 😁
What did use to style the current website?
What a lovely tutorial !! Fireship is a 10
how the fuck does this guy make things look so easy
That Lil Wayne throwing money is my wallpaper🥰
10:40 theres no need to use the ugly js string interpolation. Any js expression that is in between brackets is automatically injected by svelte. Really beautiful, i hate js string interpolation, that's what noped me out of vue lmao.
12:24 again no need to use the onDestroy fn and storing the unsubscribre fn. You can return a fn in the onMount and it will run when the component is destroyed. You can just reduce all the boilerplate by returning the pocketbase subscription and thats it. Svelte is 🔥
What string interpolation in Vue? 🤷♂️
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.
Currently using sveltkit to build a website and I am loving it
This app is constantly lagging and hanging. Why i don't know.
if i instead use my pi zero where do i find the ip adress from wich i can access pocketbase???
please make more videos about svelte
Damn the ending broke my heart :'(
Same, hope they're ok 😩
@@otek_ they are, thankfully. ruclips.net/video/66KF_5JWpdA/видео.html
We need a "Scala in 100 seconds" video
Please we need a complete tutorial for the app
it wont login bro ! stuck at "Loading..." msg :(
I hope the guy at the end didn't die :(
Why is Spock in Thimbnail? I've been thinking about it for while but have no clue 🤔
Yeah why would I want linode when I have to pay up the wazoo to scale. Is TidalScale becoming cheaper or something?
I believe I heard your little one around 2:08 😄
As a climber, that climber fall at the end was too much
GOOD VIDEO OTHERWISE THANKS
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.
Wondering something but with that setup isnt it easy for a malicious user to extract the full list of users and their data?
For someone looking to follow this, remember, there're no $inc in pocketbase.
Don't put your DB on a volume. The disk write speed is limited and your CPU will be crushed.
The real tutorial is in the comments
What do you mean "on volume"?
@@carldrogo9492 You can mount an external SSD on most cloud providers (they call it a volume). You can store your database on this. It seems like a good idea at first because it's cheap and usually much bigger than your main drive. The problem is when you get enough writes, your CPUs will shoot up to 100% being bottlenecked by the slower I/O of the volume. Basically, it doesn't scale.
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?