I've learnt a lot from you and gained more confidence in getting into programming currently learning Python and GO, and these open source projects you keep sharing really help, Thanks!
Lmao 😂 bro should of worded that different "make sure my backend can handle multiple users at a time" 😅😅 thank you for the chuckle 😂 made my morning 😂😂😂😅😅😅😅😅😂😂
I known it's not possible but pocket base indeed can handle a lot more concurrent users with open websocket connections on the same hardware compared to any custom backend, especially node
“Handle multiple users at the same time”, really gotta try your best not to be able to do that tbh. Even in 1995 (when php was released), or before that, it was pretty trivial
If your app uses SQLServer then microsoft already has a solution = localDB. This allows you to connect to a DB and even query it like with MSSM without needing a turn your local machine into a DB server A lightweight and accessible DB
Other than being FOSS, it is also self-hosted and extendable. The latter meaning you can import the Pocket base functionality inside a Go or Node project. This allows you to build out your own backend using Pocketbase as a framework, rather than completely relying on the built in functionality. Also, Pocketbase's data store is relational vs Firebase's json document scheme. This is better for 99% of applications.
This doesnt sound good production for 2 reasons: 1. Uses sqlite, 2. Can only have 1 instance of this server at a time Looks like single point of failure to me
This is the worst tool to use, there are many more mature options. also how will this scale ? it's sqlite so we can kiss replication goodbye , so the only way to scale up is to buy bigger server....
Just dockerized it and built around a chat app with react, thats a very good tool And its open source so, if it does not have something you can always add to it
I’m like almost 9 months coding, I could’ve understand shit what you were talking about, but now Jesus feels so good to understand what the hell you talking, my impostor syndrome is fading more and more hahaha
I've been programming for a few years and there's so many times where I still don't understand or know what I'm doing! Keep up the work man! Just be confident and pretend you know what you're doing even if you don't. That's how we learn. Fake it til you make it!
The downside of PocketBase is embedded SQLite, so replication is not possible. And the infrastructure becomes inflexible. Not great if your requirements change with growing users.
For me the fastest way to build a backend is fast API Funny I feel Django is actually very nice to get something done fast I know there will be many controversies but chill Django gives you an admin dashboard, and many other core functions like user model e.t.c out of the box , let's not also forget about it's scalability Honestly it's so much easier to setup especially when using drf
SQLite can handle thousands of reads and writes a second even on low quality hardware. If your backend really does that amount of operations a second then you would be rich and hire a senior dev to migrate to postgresql if you want to 😅
@@CodingWithLewis wouldn’t it make more sense to learn html and css since they are much more easier and by the time he picks up JS he will be able to build projects as he acquires more advanced JS skills. Plus this way it’s easier to stay motivated and not get discouraged
SQLite is fine when all your load can be served by a single backend process on a single machine. The moment you need multiple backends to handle more load, or the moment you need high availability, you can't do it with SQLite. Now, for streaming backups - how do you come back from node failure? You're going to incur downtime downloading your DB. Not to mention migrating to other databases as the volume grows will need a rigorous planning as well. I don't feel comfortable using sqlite as a server's database, but it's absolutely fine for mini database inside client machine.
Question :-- Is FireBase Good Option For Building Site Like Community Sites/Forum Sites?? Me and My Team Building Site For Our Final Year Project And Thinking To Use NodeJs
Firebase should be okay for such projects. But if you're using nodejs then go for something better since firebase is used to avoid the need of a server.
It depends. If you make small project that don't expect it to grow much, this will be fine. But if it's a big project, and you expect some growing userbase, I don't recommend using this.
Listen mate, your customers probably don't care about what's going behind your client side code, if you know pocketbase good enough that you can create a working demo for your financer or early users, You'll save yourself from the trouble of spending thousands of hours writing custom optimised code and configuring aws just to know that nobody wants to put money in this thing and neither people want to use it.
It only scales vertically. But it's so efficient that, if you ever actually reach the point where horizontal scalling becomes the better choice, you probably have more than enough resources to migrate to whatever you want. And since it's a self-hosted, open source database, you can migrate much more easily than you could with most proprietary, cloud-only services.
SQLite in WAL mode (which is what PocketBase uses) is faster than most other relational databases. Go is a language designed to make reliable and easy to deploy server-side applications. What's wrong with either of these choices?
@@ahmedaghadi8281backend means it can handle lots of users at the same time. Saying multiple users is like saying 2 or 3 users and it sounds funny i guess 😅
Not a huge fan of BaaS's, but I heard of it, and it seems cool! Something I do for my side projects is, I have a pretty robust template, and just copy over a lot of boilerplate, like Auth, etc. So you can really go similar speeds with any backend lang/framework after a certain point, in my experience, and have full ownership/configurability
Sqlite3 database? What about concurrent transactions? Sqlite3 is great however if anything tries to connect when there's already an existing connection, the db just spits a "database is locked" error unfortunately. If you can use something else other than sqlite3 such as another SQL database like postgresql, then great!
Link: github.com/pocketbase/pocketbase
Hello Lewis , Can you make a detail video of this please
PB is Go, Appwrite is more customizable.
Cheers
Naw he said he wants his “backend to handle multiple users”
bruh 🤣
Bruh
Bruh 🤣🤣
Bruh
Bruh
Back to showcasing more open source projects to help you be a better Dev 👩💻
I'm nobody to decide on this but could you cover more FOSS and dev topics on linux?
I still use Supabase all the time
I've learnt a lot from you and gained more confidence in getting into programming currently learning Python and GO, and these open source projects you keep sharing really help, Thanks!
Django is better than pocket base?
"I want to make sure that my backend can handle multiple users" 🤣🤣🤣🤣🤣🤣
with SQLITE 😊
@@acromos no fuck no😂
It can handle a few at least 😂
Lmao 😂 bro should of worded that different "make sure my backend can handle multiple users at a time" 😅😅 thank you for the chuckle 😂 made my morning 😂😂😂😅😅😅😅😅😂😂
I known it's not possible but pocket base indeed can handle a lot more concurrent users with open websocket connections on the same hardware compared to any custom backend, especially node
If I recall correctly, pocket base only support sqlite. So if you wanna migrate to other databases in the future, please keep this in mind.
Kind of unrelated but the go mascot is the best mascot in programming
Tym to learn another lang 🙂
You know what i would like a video on? A tips guide on how to spot projects on github that are actually malware.
If you make iOS apps, how would this be better than Firebase?
“Handle multiple users at the same time”, really gotta try your best not to be able to do that tbh. Even in 1995 (when php was released), or before that, it was pretty trivial
If your app uses SQLServer then microsoft already has a solution = localDB.
This allows you to connect to a DB and even query it like with MSSM without needing a turn your local machine into a DB server
A lightweight and accessible DB
He looks like Thomas Schubert from series "King of Stonks", go checkout yourself if you don't believe me..
What programming language is the best for back-end? I want to make simple dynamic web site.
Php
Whatever one you are most familiar with most likely has a solution :)
Python (Django)
Anything but php
Blazingly fast RUST 🦀
Cool, like Django?
I just want a backend which can handle one user. What’s wrong with you YT! 😂
nice
But does Google allow it as an alternative to firebase?
Supabase is the best
How is it compared to Firebase?
This is open source alternative. You can tell a lot of inspiration was taken but this is a great alternative! ALso check out supabase :)
Other than being FOSS, it is also self-hosted and extendable. The latter meaning you can import the Pocket base functionality inside a Go or Node project. This allows you to build out your own backend using Pocketbase as a framework, rather than completely relying on the built in functionality. Also, Pocketbase's data store is relational vs Firebase's json document scheme. This is better for 99% of applications.
Pocketbase it's still in beta , no production
It supports making an Api? Or it does ssr websites?
SQLite database to make a powerful backend capable of handling multiple users. What in the world did I listen to?
Yoooo I was thinking the same thing.
Two is technically “multiple users”
Is there something similar for python?
I honestly didnt understand anything about it...please if you could find time..could you go through it?
is this same with firebase?
Really should of thought about script before you filmed this lol... 😂😂😂
double thumbs up 👍👍
This doesnt sound good production for 2 reasons: 1. Uses sqlite, 2. Can only have 1 instance of this server at a time
Looks like single point of failure to me
Wow, great! Until the service is no longer provided I'm a year
Pocketbase doesnt scale. bye.
Sqlite?😂
🙏💀😭☠️
This is the worst tool to use, there are many more mature options. also how will this scale ? it's sqlite so we can kiss replication goodbye , so the only way to scale up is to buy bigger server....
Strapi is better
???😑
This might be the worst way to sell this product lmfao. Just throw out buzz words that actually technical people will see right through
Back4app : damn
SQLite3 will lose you many users, why not mySQL/PostGRES?
those are hard to setup, sqlite can be embedded in the single binary
@@HansePeter-o8p You can use docker compose and have it working in one line.
Do u have a community
I am a Amateur and have doubts 🥲 and if there's a community I would like to join
We’re just gonna put this comment on pause for a minute. “I want to make sure my backend is powerful and can handle multiple users at the same time”.
nah he ditent
Just dockerized it and built around a chat app with react, thats a very good tool
And its open source so, if it does not have something you can always add to it
You don't even need to dockerize it with how portable and easy to deploy it is, honestly.
this is more like for prototyping rather than building production-ready project
So what will be a similar thing for production?
@@danyala.1659Django is a web server framework. PocketBase is a database.
You can absolutely deploy this to production.
Unless you actually expect to suddenly have 2 million daily users... This framework can handle 99% of anyones small to mid sized project.
@@SkyyySino, i think it only support sqlite, so you need to keep in mind for future migration to other databases if your users grow
I’m like almost 9 months coding, I could’ve understand shit what you were talking about, but now Jesus feels so good to understand what the hell you talking, my impostor syndrome is fading more and more hahaha
Whoosh..
Gj dude!
I've been programming for a few years and there's so many times where I still don't understand or know what I'm doing!
Keep up the work man! Just be confident and pretend you know what you're doing even if you don't. That's how we learn.
Fake it til you make it!
@@RoccoTeh faking it now still, 2+ years now working in a MS company
Sqlite and multiple users and powerful...u want to many things 😅
The downside of PocketBase is embedded SQLite, so replication is not possible. And the infrastructure becomes inflexible. Not great if your requirements change with growing users.
As a user, I can approve your backend is powerful for multiple users 😂
Firebase on top
fast doesn't mean that its better
For me the fastest way to build a backend is fast API
Funny I feel Django is actually very nice to get something done fast
I know there will be many controversies but chill Django gives you an admin dashboard, and many other core functions like user model e.t.c out of the box , let's not also forget about it's scalability
Honestly it's so much easier to setup especially when using drf
Only bad side is It's sqlite
SQLite? that's the best you've got?
Its a lol
SQLite is fantastic. What's wrong with it?
SQLite can handle thousands of reads and writes a second even on low quality hardware.
If your backend really does that amount of operations a second then you would be rich and hire a senior dev to migrate to postgresql if you want to 😅
hey i have a question,should i learn bootstrap after css or go for javascript? which is the best option?
Don't learn bootstrap learn tailwind css but before learn javascript and create website using html css and javascript
I would say just go straight for JS :)
Thank you
@@CodingWithLewis wouldn’t it make more sense to learn html and css since they are much more easier and by the time he picks up JS he will be able to build projects as he acquires more advanced JS skills. Plus this way it’s easier to stay motivated and not get discouraged
@@ManiaBeats bro they aren't talking about learning html or css, they were talking about learning bootstrap that implies he already knows css.
What your backend or baas you recomend for nextjs apps
Powerful backed for... writing to sqlite database? 😅 Yeah very smart.
Hey thanks man you helped out really needed this :-P
Glad I could help!
For??
You don't need anything more than Firebase,
@@rohanmanchanda5250 firebase costs money and isn't self-hostable
@@pixobit5882 firebase has generous monthly limits that are free for use and could you explain 'self-hostable'?
I can spin up a fully functional BE with authentically & apis in 30 mins, that can handle a few millions of concurrent DB write in just Django
Nothing beats Java and C#
In Back-End development
but it uses sqlite3, so good luck scaling it. like, what if you want multiple backends accessing the same db? with sqlite3 you cant just do that.
nah, fuck that, just open an smb server to the open internet and store everything in a plain text file.
Is it light weight? When app uploaded on google store, is it requiring more memory?
I prefer building my own backend. Is cheaper
What's going on with these BaaS.
Why all their name ending with "base"
I love how many of "developers" made their assumptions about Sqlite when they not even tried to look at the website and docs of this software.
SQLite is fine when all your load can be served by a single backend process on a single machine. The moment you need multiple backends to handle more load, or the moment you need high availability, you can't do it with SQLite. Now, for streaming backups - how do you come back from node failure? You're going to incur downtime downloading your DB.
Not to mention migrating to other databases as the volume grows will need a rigorous planning as well.
I don't feel comfortable using sqlite as a server's database, but it's absolutely fine for mini database inside client machine.
pocket base
I thought sqlite didnt support concurrent connextions
Question :-- Is FireBase Good Option For Building Site Like Community Sites/Forum Sites??
Me and My Team Building Site For Our Final Year Project And Thinking To Use NodeJs
I’d like to know the answer to this as well. I’m in the same boat just about
@OverAnalyzing… are you also developing a site like mine ??
@@HeyyDixit almost literally the same. An e-community platform. Upvotes, posting, notifications etc.
@@overanalyzing let's build sites together and help each other
Firebase should be okay for such projects. But if you're using nodejs then go for something better since firebase is used to avoid the need of a server.
Did I just get advertised at? Blocked.
handling multiple users is easy, i wanna know how many
But can we deploy in sqlite3?
Pocketbase not meant to be in production atm. Its so early. Dont use it in production.
Appwrite would be another alternativ
But django does all of this aswell and you can use Python which IMHO is way easier to use than go
SQLite3 isn’t scalable 💀
Anything built ready made is never truly ready made. You’re better creating everything from scratch.
Found the freshman CS major
It depends. If you make small project that don't expect it to grow much, this will be fine. But if it's a big project, and you expect some growing userbase, I don't recommend using this.
Listen mate, your customers probably don't care about what's going behind your client side code, if you know pocketbase good enough that you can create a working demo for your financer or early users,
You'll save yourself from the trouble of spending thousands of hours writing custom optimised code and configuring aws just to know that nobody wants to put money in this thing and neither people want to use it.
SO its just django for django
the fastest way is not the best way sometimes
SQL lite has limitations that is why I moved to MySQL.
So it's an sqlite wrapper?
I've got a pretty powerful backend as it is, thank you very much
Is it scalable though?
It only scales vertically. But it's so efficient that, if you ever actually reach the point where horizontal scalling becomes the better choice, you probably have more than enough resources to migrate to whatever you want. And since it's a self-hosted, open source database, you can migrate much more easily than you could with most proprietary, cloud-only services.
Sir, your videos contain lots of information I'm gald I am one of your subscriber, my question is , can I use this in Python backend?
Yes, you can! I do all the time :) look up Django
Pause for applause...
What about Appwrite?
SQLite in prod😂
Can you do opencv using python please and I also shouted your channel out in one of my videos
Was all in till I hear 2 things, go and SQLite... *shivers*
What's your problem with go?
i understood sqlite, but why go?
@@DerLuukee GO is like “fetch” - Google keeps trying to make it happen, but it won’t happen.
SQLite in WAL mode (which is what PocketBase uses) is faster than most other relational databases. Go is a language designed to make reliable and easy to deploy server-side applications. What's wrong with either of these choices?
Hey what software do you use to edit those video ?😀
This channel is programming brainrot at this point.
So true the guy doesn't know shit about programming
Fastest promoter.
Supabase?
Would love to see a version with postgres or mariadb
Backend to handle multiple users😂😂
Can you elaborate?
@@ahmedaghadi8281 no
@@ahmedaghadi8281backend means it can handle lots of users at the same time. Saying multiple users is like saying 2 or 3 users and it sounds funny i guess 😅
You know what 1 file means?
Not a huge fan of BaaS's, but I heard of it, and it seems cool! Something I do for my side projects is, I have a pretty robust template, and just copy over a lot of boilerplate, like Auth, etc. So you can really go similar speeds with any backend lang/framework after a certain point, in my experience, and have full ownership/configurability
Gotta get that back end ready for a pounding
Supabase is also amazing!
So basically Firebase
Sqlite3 database? What about concurrent transactions? Sqlite3 is great however if anything tries to connect when there's already an existing connection, the db just spits a "database is locked" error unfortunately.
If you can use something else other than sqlite3 such as another SQL database like postgresql, then great!
only 1 problem: authorization by token is not supported, it is very easy to hack.