I've been sleeping on Cloudflare's compute offerings - Free serverless hosting that scales

  Рет қаралды 61,741

backpine labs

backpine labs

Күн бұрын

Пікірлер: 448
@backpine
@backpine 2 ай бұрын
Correction: R2 Object storage does have a free tier (as shown in the video) but it requires a credit card get started. All the other worker features shown in the free section of this video do not require a credit card.
@okage_
@okage_ 2 ай бұрын
wonder why
@pable2
@pable2 2 ай бұрын
Also, I don't know where to get a Postgres for free, I only see D1 for free.. Even in the documentation their sample connection string points to Neon for postgres
@dalisoft
@dalisoft 2 ай бұрын
Hyperdrive is available only in Paid plans. I really hope it also become available in Free tier
@Mystery_Glitch
@Mystery_Glitch 2 ай бұрын
​@@okage_So they can charge you instantly after you reach the free usage limit (Better wording is those are free usage instead of free tier)
@zzzz6538
@zzzz6538 2 ай бұрын
bro is edging his credit card
@backpine
@backpine 2 ай бұрын
😂
@geodebreaker
@geodebreaker 2 ай бұрын
😂
@okunamayanad
@okunamayanad 2 ай бұрын
😂
@Obujjj
@Obujjj 2 ай бұрын
Bro gooning on it
@HerroEverynyan
@HerroEverynyan 2 ай бұрын
holy shit my man came out of nowhere with S-tier content
@dogafincan
@dogafincan 2 ай бұрын
My thoughts exactly wow
@Businessology.
@Businessology. 2 ай бұрын
i totally agree but can't put my finger on why exactly. what do you like most about it?
@backpine
@backpine 2 ай бұрын
Appreciate you all
@tiagodev5838
@tiagodev5838 2 ай бұрын
In just over 10 minutes you’ve helped me understand more about Cloudflare than hours of research
@backpine
@backpine 2 ай бұрын
Glad to hear! My goal was to illustrate how you can use Cloudflare end-to-end during the development cycle. Future videos will be more specific
@tiagodev5838
@tiagodev5838 2 ай бұрын
@@backpine fantastic work!!
@jit-r5b
@jit-r5b 2 ай бұрын
Cloudflare should totally sponsor you. The sales pitch so good I almost wanna completely move to it 🤣
@backpine
@backpine 2 ай бұрын
Appreciate the comment! The next small project you start give it a shot and see how you like it before moving over. It is easiest to start from scratch on cloudflare. There is a bit of a learning curve to migrate existing apps to cloudflare. I am hoping to document some of my learning on this channel!
@Businessology.
@Businessology. 2 ай бұрын
@@backpine if im forking other peoples nextjs projects and they are are not using cloudflare, what changes would i need to make?
@elliott.builds
@elliott.builds 2 ай бұрын
We need more Cloudflare tutorials 🙌
@backpine
@backpine 2 ай бұрын
Any specific frameworks you want a tutorial for?
@elliott.builds
@elliott.builds 2 ай бұрын
@backpine I think breaking this down into individual videos would get great responses. For example: 1. Setting up CI/CD with Next.js and Cloudflare. 2. Implementing an API gateway across your APIs with Next.js and Cloudflare. etc etc I'd personally love more detailed content on these topics. It seems like people are really searching for these solutions, especially with Vercel’s recent price hikes.
@tejassethi9319
@tejassethi9319 2 ай бұрын
@@backpine hono and workers with auth
@hayskapoy
@hayskapoy 2 ай бұрын
@@backpine remix please!
@franciscosilva2135
@franciscosilva2135 2 ай бұрын
@@backpinedo next js since it is on a peak rn.
@CaramelFur
@CaramelFur 2 ай бұрын
Very good video, keep up the good work. I would like to add, that once a project on cloudflare gets big enough, there is the chance that cloudflare will hold your project hostage until you upgrade to the enterprise tier. Even if your project was running fine on a different tier. Combined with the vendor lock-in, this can be quite bad. And this has happened before with many other companies, so is something to keep in mind. But if your project stays quite small, this should not be a problem you'll run into.
@backpine
@backpine 2 ай бұрын
Thank you! This is indeed in the back of my mind as I use Cloudflare. This is how I think about it: 1. When I build solutions for big companies with a large existing user base I will ship to AWS or another mainstream provider. There is really no debate here. 2. If I am building products for small/medium companies that will likely never need to scale or hit a large user base I'd consider Cloudflare and I would have them purchase the proper tier for their traffic. 3. When I ship side projects, I am currently using cloudflare. I got tiered of paying for several dozen VPS and a load balancer for projects that don't make much money. If one day I strike lighting in a bottle and one of my projects gets a lot of traction I'd either become a CF enterprise user (which would make sense) or start the migration process. To me the hard part is not the migration or ponying up money to a vendor like cloudflare. The hard part is actually finding and building something that people want I might be wrong here, but I think it is safe for other indie hackers to take the same approach as me
@zoki5388
@zoki5388 2 ай бұрын
Yt recommended this video to me, great qualty I hope you will keep posting.
@backpine
@backpine 2 ай бұрын
Thank you! More to come
@tanmaysingewar
@tanmaysingewar 2 ай бұрын
Is it real 615 subscribers only and quality of videos above the creators having millions subscribers Keep growing!!!
@backpine
@backpine 2 ай бұрын
Zero subscribers 3 days ago lol.I was not expecting this video to resonate with so many people! Thanks for your comment!
@mucool328
@mucool328 2 ай бұрын
@@backpineit is crazy that you are now at 1.63 K subs in 4 days. Keep up the good work. I am interested in building a web app using cursor and deploying it to web domain without too much hassle. I have not done web development for a long time, so it is going to be a learning curve
@Mushbee
@Mushbee 2 ай бұрын
Exactly what I was looking for this week. Amazing how perfect timing this video hit!
@backpine
@backpine 2 ай бұрын
I am surprised how many people this video resinated with. I guess many other devs have been having similar experiences to me in terming of trying to find the most suitable hosting provider!
@georgi_my
@georgi_my 2 ай бұрын
Best video I have seen all week! Absolutely amazing!
@backpine
@backpine 2 ай бұрын
Thank you!
@owencooke3983
@owencooke3983 2 ай бұрын
Dude, absolutely amazing video. The fast-paced walk through + code snippets are soooo so useful!
@approxahmed
@approxahmed Ай бұрын
Thank you for the insightful breakdown of CloudFlare's services! Didn't think all that is possible on a free tier (without a credit card too, wow) you got my sub for the great breakdown
@raymondaxyz
@raymondaxyz 2 ай бұрын
Impressive. Integrating cloudflare has been a smooth experience, I just didn't realise there's more 😮
@iloos7457
@iloos7457 2 ай бұрын
This format is so nice!!
@anatoliansettler9922
@anatoliansettler9922 2 ай бұрын
I guess I was waiting for that video for the entire year to relieve myself that it is okay for me to launch my projects without hesitating. Waiting for more insights, keep up with that dude. You got a new follower
@backpine
@backpine 2 ай бұрын
Glad to hear this video provided some motivation!
@SoloJetMan
@SoloJetMan 2 ай бұрын
Instantly subbed and liked. Would love to see a an entire series on the process & flow you covered here.
@backpine
@backpine 2 ай бұрын
coming soon!
@MjStryker51
@MjStryker51 2 ай бұрын
Nice video. Can't wait to see the next one! 😉
@backpine
@backpine 2 ай бұрын
Thank you!
@ecommerce9926
@ecommerce9926 2 ай бұрын
From now on, I'll make sure to watch and like every video you post.
@backpine
@backpine 2 ай бұрын
Appreciate you!
@jatih9657
@jatih9657 2 ай бұрын
Great exposition video on CW platform! No BS, just describe then demonstrate the use case. A good topic to deep dive would be the design pattern for the ease-of-use vs mitigating vendor lock in.
@backpine
@backpine 2 ай бұрын
This is a great suggestion as it is a very important topic! I have spent time thinking about designing in away to avoid vendor lock-in but my thoughts are not fully flushed out. Once I have a mature opinion on this topic I'll make a video comparing the pros and cons
@jatih9657
@jatih9657 2 ай бұрын
@@backpine I'm more or less on the same boat. For me very roughly it means being able to run in parallel / load balanced with self-hosted instances. It's less abstract if you're going with an existing service and building replacement workers/functions via CW platform + setting up replication for the stateful data. But for starting from scratch on CW platform side it might be more abstract with more pitfalls depending on the features used. Nonetheless, eventually I'll get around to it since I think this will be great to have for handling excess load / serve as backup. Would be interesting to see if it's viable to use single VPS + CW platform to get high availability + scalability as an alternative to multiple VPS & kubernetes / other container orchestration.
@dalisoft
@dalisoft 2 ай бұрын
Impressive tutorial. It’s already on recommendation. Good job
@backpine
@backpine 2 ай бұрын
Thank you!
@awesomeworstgamer
@awesomeworstgamer 2 ай бұрын
Literally one of the best videos I've seen on the topic! Instant subscribe!
@backpine
@backpine 2 ай бұрын
Thank you!
@bijan-f
@bijan-f 2 ай бұрын
Should keep in mind that building on Cloudflare, while a great dev experience, can lead to vendor lock in just like the other platforms. VPS is still the best way to go to host in most situations imo.
@backpine
@backpine 2 ай бұрын
Agreed, I also prefer this route for projects that already have significant traffic or are making good money. But if you go the VPS route you have to consider production readiness. Best practice is to spin up at least three VPS instances, stick them behind a load balancer, most likely put a proxy in front of the load balancer, build out your preferred CICD pipeline (coolify is nice), and set up robust external logging and monitoring system. When getting started on a small project these things should also be considered.
@nicholas4523
@nicholas4523 2 ай бұрын
​@@backpine Hello your video was awesome thanks! Would you suggest me to spinup database to coolify(postgres) or use something like cloudflare D1? In best scenario i'm expecting to get 1000-2000 users. Im already using coolify to host My nextjs application.
@noob-qk7mo
@noob-qk7mo 2 ай бұрын
bro is not pregnant, still delivered
@backpine
@backpine 2 ай бұрын
😂
@utkarshseth3082
@utkarshseth3082 2 ай бұрын
I am building my SAAS, and that's exactly what i was looking for, thanks man
@backpine
@backpine 2 ай бұрын
Good look shipping your idea!
@utkarshseth3082
@utkarshseth3082 2 ай бұрын
I Tried to deploy my nextjs project but get lots of errors for nextjs
@utkarshseth3082
@utkarshseth3082 2 ай бұрын
It's not compatible for nextjs app
@abmoallim
@abmoallim 2 ай бұрын
very very underrated YT Channel.
@NumbSoul02
@NumbSoul02 2 ай бұрын
The information sweetened with each passing minute!! 👍🏻
@helgelol
@helgelol 2 ай бұрын
What a hidden gem you are, subbed, keep on rocking!
@martindimitrov8547
@martindimitrov8547 2 ай бұрын
Cloudfront seems great! Would be nice if you shared your exploration on DO, GCP, etc. Just so viewers can compare themself. Especially given that you can't write non-ts code like golang, etc
@2ksplash532
@2ksplash532 2 ай бұрын
Great video. Love your style of presentation. I haven’t been commenting on youtube video but this video is amazing
@backpine
@backpine 2 ай бұрын
Thank you!
@basicbasis
@basicbasis 2 ай бұрын
You just earned a subscriber bro🔥❤
@backpine
@backpine 2 ай бұрын
Thank you!
@DavidDiazDev
@DavidDiazDev 2 ай бұрын
Love the format, thanks man
@backpine
@backpine 2 ай бұрын
Thank you!
@lukebierbaum
@lukebierbaum 2 ай бұрын
I thought you had way more subs and only realized 10 mins in! Gained 1 more here. S-Tier content Never considered cloudflare before but this is on heck of a sales pitch
@backpine
@backpine 2 ай бұрын
I appreciate you! I just created this channel a few days back and didn't expect this video to resinate with so many people!
@ddubb3000
@ddubb3000 Ай бұрын
Well done ! You gave an objective view!
@NaourassDerouichi
@NaourassDerouichi 2 ай бұрын
Since my secret stack is no longer secret, Primagen needs to see this. Love the video, exceptional work (BTW).
@backpine
@backpine 2 ай бұрын
Thank you!
@michaelewen5498
@michaelewen5498 2 ай бұрын
He's done videos on their shady business tactics somewhat recently... He'd probably recommend that you jump ship
@NaourassDerouichi
@NaourassDerouichi 2 ай бұрын
@@michaelewen5498 They are aware that they did a big mistake regarding how they dealt with the casino website, I don't think this is going to happen again...
@backpine
@backpine 2 ай бұрын
@@NaourassDerouichi to be totally frank I have no idea if Cloudflare will do that again. But if I had a product that was doing serious business with serious traffic it would still be a concern for me. For side products, small SasS apps, and midsize businesses that don't have insane traffic I think CF compute is still awesome.
@2penry2
@2penry2 2 ай бұрын
Cloudflare got me pretty excited with some of their more novel stuff, durable objects is hella cool for being able to deploy small stateful websocket based room games.
@backpine
@backpine 2 ай бұрын
Durable objects are awesome and very few people know about it.
@2penry2
@2penry2 2 ай бұрын
@@backpine They are absolutely lit. Have you checked out PartyKit? one of the devs at CloudFlare created a framework to make working with durable a little easier. I've build a couple of simple games with it and it's been great. You're analysis about the binding and passing of env vars tho is totally valid, I wish it would populate the process.env rather than a context parameter passed with the request. Also as others have pointed out I'd be a little scared of their predatory sales team. No problem for me just doing lil side projects. But from what I've seen the step between just paid usage and being strong armed into a contract is a little alarming.
@Someone1337.
@Someone1337. 2 ай бұрын
Until they pull the bait & switch
@jseng818
@jseng818 2 ай бұрын
bro you are awesome, it would be amazing to see how you are effectively shipping a full stack app with these services! looking forward for the CF tuts serie!
@backpine
@backpine 2 ай бұрын
Thank you!
@abh1yan
@abh1yan 2 ай бұрын
Would love the series.
@timeforrice
@timeforrice 2 ай бұрын
Great content! Would you create an extended tutorial including coding for this project in the near future?
@agentbayabas
@agentbayabas 2 ай бұрын
Can you this using php?😅
@treksis
@treksis 2 ай бұрын
hyper drive sounds like holy grail. gotta read the doc. good info. thanks a lot.
@backpine
@backpine 2 ай бұрын
It does seem like a good product! I want to make a video load testing hyperdrive connected to CockroachDB for various locations around the world
@Pyrospower
@Pyrospower 2 ай бұрын
Great video, that makes me want to look into Cloudflare more and try stuff with the free tier 👀
@backpine
@backpine 2 ай бұрын
I'd like to see what you build!
@lyleliao
@lyleliao 2 ай бұрын
🎉 awesome explanation
@YashRaj-k2e
@YashRaj-k2e 2 ай бұрын
Great video! What are you planning to make next?
@backpine
@backpine 2 ай бұрын
Thanks! I'm making video about the deployment process, then I am going to focus on solving real word problems with code the runs on Cloudflare. I want to illustrate real uses cases for Queues, Durable Objects with websocks and Worker workflows while using R2, D1 and KV. After the Cloudflare series I am thinking about doing a series on dev marketplaces that could become viable small software products (depending on if people are interested or not)
@YashRaj-k2e
@YashRaj-k2e 2 ай бұрын
@@backpine I'll be looking forward to those
@nofoobar
@nofoobar 2 ай бұрын
This was a really great tutorial. @cloudflare should 100% sponser him. I do use cloudflared for routing requests to my office network on a raspberry pi.
@backpine
@backpine 2 ай бұрын
I've seen a few videos of people tunneling traffic to their local network with CF. Seems very interesting, especially if you have AI workflows running on your own box. It's super cool to be able to access your workflows remotely.
@abdelilahou2822
@abdelilahou2822 2 ай бұрын
Love this ❤ more on how to use cloudflare please 🙏
@domiibunn
@domiibunn 2 ай бұрын
You've built an app. CF slaps you with a bill and asks you to join their Enterprise plan and you're so vendor locked-in that you can't do anything but pay cloudflare more than your app is making.
@mayankkumar-j2k
@mayankkumar-j2k 2 ай бұрын
make a long dedicated video for walkthrough and building of this project and deployement, please.
@jatinhemnani1029
@jatinhemnani1029 2 ай бұрын
would like you to explain more cloudflare products, this is great!
@webdancer
@webdancer 2 ай бұрын
Great video. Create some videos on simple cloudflare deployments. Thanks
@backpine
@backpine 2 ай бұрын
In the works now!
@Cyanide0112
@Cyanide0112 2 ай бұрын
Really nice video, subbed
@backpine
@backpine 2 ай бұрын
Thank you!
@nicmilot8914
@nicmilot8914 2 ай бұрын
Excellent video 🔥 We need more videos on CF 😎
@backpine
@backpine 2 ай бұрын
Thank you! More to come
@js32096
@js32096 2 ай бұрын
Would like to see the Golang to WebASM demoed with this
@backpine
@backpine 2 ай бұрын
I also want to go through the process just for learning purposes
@nestnik
@nestnik 2 ай бұрын
great content, i've subscribed!
@backpine
@backpine 2 ай бұрын
Thank you!
@okage_
@okage_ 2 ай бұрын
would love to see you build something with the sveltekit template
@backpine
@backpine 2 ай бұрын
This is in the plans!
@ikbo
@ikbo 2 ай бұрын
Great first video! Would love to see a vercel vs cloudflare esp. with respect to hosting next.js. Give what you have said so far I don't see a reason to use vercel?
@backpine
@backpine 2 ай бұрын
Vercel is the ultimate home for Next projects and the dev experience is really good for shipping next services. You will never feel like you are fighting the platform when using vercel. I only use the basic features of Next by taking advantage of SSR and server side data fetching, and have only had a positive experience deploying to Cloudflare. I have heard of people having issues with the more advance features of Next when deploying to platforms other than Vercel. As I stumble upon the tradeoffs I will be sure to document those. I love the combo of SvelteKit, Hono, and Queues on Cloudflare. I think it is really hard to beat this stack!
@sarjannarwan6896
@sarjannarwan6896 2 ай бұрын
Wait till that 10k sales team shakedown comes
@shuZro
@shuZro 2 ай бұрын
Great video man
@backpine
@backpine 2 ай бұрын
thank you!
@sakibhasandev
@sakibhasandev 2 ай бұрын
One thing to mention, D1 is limited to max size 10GB. So it's not good for big databases
@backpine
@backpine 2 ай бұрын
This is a really good callout! When I design database schemas I will typically use relational databases to store metadata and basic user info. Whenever I have large text blocks or JSON objects I will store these in R2/S3 and use the database to reference these objects. With this pattern, it is very hard to hit the 10GB max. That being said, you do alway have the option of bringing your own Postgres database and using Hyperdrive to interface with in it your workers.
@alexnahas2907
@alexnahas2907 2 ай бұрын
@@backpine It's not hard to set up multi Tenancy with D1's similar to a Turso type offering. You get something like 50k d1 so the 10gb limit is not really a problem
@iyxan23
@iyxan23 2 ай бұрын
imo 10GB is already more than enough for most side-projects
@4lxprime730
@4lxprime730 2 ай бұрын
What a great video! Personally i prefer to build and deploy on a vps with docker or k8s because i don't want to depend on providers as they become really expensive when you have more traffic, especially vercel but for a serverless app in js or high level languages, cloudflare seem to fit very well. Have you tried to build fullstack apps with htmx (or just templ) and golang ? I always wanted to tried this stack. Anyway thanks for the advice
@backpine
@backpine 2 ай бұрын
Thanks for the comment! I also personally favor deploying to a VPS with docker. I actually built an AI language study tool with the stack you mentioned (HTMX, Go with Fiber and templ, shipped with docker to a VPS on digital ocean). It's a very fun stack to work with and I especially love working with Go. But when building apps that are more interactive on the client side I like working with SveltKit deployed to Cloudflare. I actually want to make a video weighing the cost of shipping a production app (with a database, object storage, and a monitoring system) to a series of VPS instances vs Cloudflare workers. My rough estimate is that your app needs to receive *80,000,000 monthly requests for it to be more cost effective on k8s compared to Cloudflare workers. When working with k8s what cloud provider do you prefer?
@4lxprime730
@4lxprime730 2 ай бұрын
@@backpine With k8s i don't have much experience but i'm actually deploying on OVH (because i needed huge GPU instances for ai stuff and they seem to have great pricing on them), few years ago their ui/ux was terrible and badly worst than aws but now its really nice. I've deployed many times on digital ocean with their $200 credits without docker and it was great, but a long time ago. 80,000,000 requests monthly seems a lot but, if i'm not wrong it is ~31rps if your traffic is the same 24/24, which is not that much .. Also this kind of video seem really interesting, i'll be watching it on release. I'm not a big frontend fan but i really enjoy working with sveltekit aswell. Hope more people will enjoy your channel!
@backpine
@backpine 2 ай бұрын
@@4lxprime730 I have not heard of the 31rps cap, and cannot find anything of the sort online? If you come across documentation with that limit can you let me know? I know the free tier of workers has a burst limit of 1000 requests a minute (which is not a lot). But if you handling that type of traffic you'd need to upgrade to the $5 a month tier anyways. I have never heard of OVH, so I will have to take a look. Have you considered Replicate for your AI compute? They have a pay-for-usage model that seems very enticing if you want to get an AI project off the ground without renting a massive GPU instance with a fixed monthly cost
@nickwoodward819
@nickwoodward819 2 ай бұрын
@@backpine would love a video on your vps setup/best practice, especially with databases. i'm struggling with working out what my best db option is if i'm self hosting (currently on hetzner, but thinking of going back to DO for the managed DBs)
@raideez
@raideez 2 ай бұрын
@@nickwoodward819 EdgeDB is the way now
@zaheerbeg4810
@zaheerbeg4810 2 ай бұрын
Thanks for useful content❤
@salamandr4111
@salamandr4111 2 ай бұрын
Woah man fire content ngl
@AjayCoding
@AjayCoding 2 ай бұрын
Great video! ❤
@backpine
@backpine 2 ай бұрын
thank you!
@showbikshowmma3520
@showbikshowmma3520 2 ай бұрын
so now we can deploy our dynamic Next js project in Cloudflare instead of using vercel?
@user-yz7fl7mf8g
@user-yz7fl7mf8g 2 ай бұрын
love you video. Thank you for sharing.
@backpine
@backpine 2 ай бұрын
Thank you!
@iamfahimshahriar
@iamfahimshahriar 2 ай бұрын
i am glad to comment on the 1st video of this chanel . i was learning nextjs but when i saw hobby plan does not offer payment gateway implementation i thought i will not depend on vercel ecosystem. thanks to your video. one problem i have is i am from Bnagladesh and stipe,paypal is not available here. need to find a payment gateway
@backpine
@backpine 2 ай бұрын
Thanks for the comment! If you are just getting started you can also look to SvelteKit as a replacement to Next. It is much easier to deploy SvelteKit apps to different providers. I wish I cloud offer advice about alternative payment gateways, but I have only ever used Stripe and Braintree.. I have no idea about the process of setting up these accounts outside the US /:
@SuperElephant
@SuperElephant 2 ай бұрын
You've made your point. I can keep the credit card in my pocket. And fuck that animation of the logo, I can't properly focus my eyes to that.
@backpine
@backpine 2 ай бұрын
Noted 😂
@SirWolfski
@SirWolfski 2 ай бұрын
You are insanely underrated, it's only a matter of time. Keep it up! 🙌
@backpine
@backpine 2 ай бұрын
Really appreciate it! I did not expect my first video about Cloudflare to get more than 1k views. Seems that other people are interested in the subject as well!
@kmdavidds
@kmdavidds 2 ай бұрын
godlike video bro, thank you so much 🔥
@backpine
@backpine 2 ай бұрын
Thank you!!
@singha360
@singha360 2 ай бұрын
Great video detailing all of cloudflares offering! Might be a huge task but would it be possible to show us a real world usage of hyperdrive and show us the benefit in terms of latency using a single region database? For a simple solution like Hyperdrive, it would help us developers self hosting our app in a VPS to easily globally distribute our app. Keep up the good work!
@backpine
@backpine 2 ай бұрын
I want to do exactly this! I'm curious to see the impact of hyperdrives global coaching when handling requests at scale. Thanks for the suggestion!
@seeker4430
@seeker4430 2 ай бұрын
Wow! Where were you all these days sir
@danielegvi
@danielegvi 2 ай бұрын
What's up with the interlacing in the video? Artistic choice, or video export mishap?
@backpine
@backpine 2 ай бұрын
Mishap. Just an extreme lack of experience making videos on my part lol
@GeorgeInTech
@GeorgeInTech 2 ай бұрын
Nice subbed for the future content
@backpine
@backpine 2 ай бұрын
Thank you!
@sahiltiwaskar
@sahiltiwaskar 2 ай бұрын
Great channel 👏
@backpine
@backpine 2 ай бұрын
Thank you!
@kawa14
@kawa14 2 ай бұрын
very helpful video, thanks!
@backpine
@backpine 2 ай бұрын
Thank you!
@s1lvax_
@s1lvax_ 2 ай бұрын
Could you please do a tutorial on SvelteKit & Cloudflare development ?
@backpine
@backpine 2 ай бұрын
Absolutely! SvelteKit is my preferred framework
@s1lvax_
@s1lvax_ 2 ай бұрын
@@backpine I'd be so grateful, there is no actual good tutorial out there How to properly dev with SvelteKit & Cloudflare
@NN-xn2jb
@NN-xn2jb 2 ай бұрын
can I run a puppeteer instance with cloud fare ?
@sadev0
@sadev0 9 күн бұрын
Hey @backpine, is that possible to add multiple custom domains and point out to nextjs project using cloudflare like vercel? for multi-tenant system.
@backpine
@backpine 7 күн бұрын
@sadev0 if you have multiple domains associated with your cloudflare account you can point as many of them as you want at the same worker application. Cloudflare also offers a service called "workers for platforms" which offer very robust multi-tenant capabilities. If you're going the multi tenant route you may want to take a look at that!
@sadev0
@sadev0 6 күн бұрын
​@@backpine Thanks Man for reply. and are we able to revalidate cache data for fetch requests or paths?
@garethjax
@garethjax 2 ай бұрын
awesome tips, i hope you'll be able to test python too!
@backpine
@backpine 2 ай бұрын
I need to find the time! Curious to see what the DX is like for python!
@BeauAD
@BeauAD 2 ай бұрын
I'm still learning about cloudflare, wouldn't it make sense to utilise their workflow product to persist state for the api route between the function calls in the process-transcript endpoint where you added the queue?
@backpine
@backpine 2 ай бұрын
You are absolutely right! Workflows came out a week after releasing this video. They are still in beta, but they unlock a bunch of options when building more complex services
@BeauAD
@BeauAD 2 ай бұрын
​@@backpine Yes indeed. Hope you keep producing HQ cloudflare related videos, there's a big asymmetry in their product offerings and usage case studies. They should be paying you for dev rel!
@daviesgeek
@daviesgeek 2 ай бұрын
This is great thanks so much
@backpine
@backpine 2 ай бұрын
Thank you!
@ResIpsa-pk4ih
@ResIpsa-pk4ih 2 ай бұрын
The vector db does not seem cheap or generous. It’s free up to 5 million dimensions which is only 5 thousand embeddings with most embedding models returning 1k+ dimension embeddings…
@tonirehnman3223
@tonirehnman3223 2 ай бұрын
Good video! keep making more :)
@backpine
@backpine 2 ай бұрын
Thank you!
@shaik-arif-dev
@shaik-arif-dev 2 ай бұрын
MEAN or MERN Stack application deployment AND CICD
@cloudflare
@cloudflare 2 ай бұрын
#AlwaysHappyToHelp!
@arijitdn
@arijitdn 2 ай бұрын
What language do u use to code your backend? And how do you host it in cloudflare?
@backpine
@backpine 2 ай бұрын
If I am deploying to cloudflare, all my backend services are written in Typescript. You can deploy TS services to Cloudflare workers or pages
2 ай бұрын
As a business decision, do not create a scenario where your whole company is depending on the services offered by one provider and their current pricing for said service.
@hayskapoy
@hayskapoy 2 ай бұрын
at 7:20 when you say cloudflare analytics solution, which service are you referring to?
@backpine
@backpine 2 ай бұрын
I just updated the description with a link. It's not heavily marketed, but you can access cloudflares analytics engine from workers. This is the same engine cloudflare uses within your account to visualize traffic and usage. I'll make a video about because I think it's an overlooked product!
@PieXD124
@PieXD124 2 ай бұрын
I'd love to have this same analysis for popular frameworks: 1. Go/Rust/FastAPI/Django + React/Vue 2. Springboot 3. Monolyths 3. Ruby on Rails 4. Laravel 5. React Native/Flutter/Expo (stuff used for cross functional app development) That being said, you just earned a subscriber, tysm :)
@backpine
@backpine 2 ай бұрын
Love the idea! It's unlikely that Rails, Spring, Laravel and Django will be able to ship to Cloudflare considering the V8 runtime. But it would be interesting to see what you can do on cloudflare outside the JS ecosystem.
@PieXD124
@PieXD124 2 ай бұрын
@@backpine Oh right, I didn't mean in Cloudflare but rather which tools/platforms/companies you'd pick for those frameworks. Regardless, very convinced to pick Cloudflare for my next JS/TS project hahaha
@backpine
@backpine 2 ай бұрын
@@PieXD124 ah got you! There's so many topics I'd like to cover. Time is really my biggest constraint. I'll likely eventually get to some of the frameworks you mentioned. I've actually never worked with Laravel but really want to get some exposure
@anoopchandran3267
@anoopchandran3267 22 күн бұрын
I tried this, but the CI/CD was not working until I connected my Git with the CF pages. Even then the build kept failing because the CF node version was 18.17 while Next requires 18.18, I tried putting the env variable NODE_VERSION in the secrets but now it was complaining about the variable itself. However the deploy command works flawless but I still cant get the build working.
@backpine
@backpine 22 күн бұрын
When you added the node version as an env variable did you make sure to click "encrypt" or "secret" depending on which wrangler version is used? I had this issue when converting an existing project to work with Cloudflare. After making sure the NODE_VERSION was encrypted after adding it as an ENV it worked. If you use the cloudflare cli command to create your project you should not encounter this issue
@anoopchandran3267
@anoopchandran3267 22 күн бұрын
@@backpineWow, thanks for the tip, let me try that. Awesome video, btw, I like the short, quick format. Keep up the great work.
@backpine
@backpine 21 күн бұрын
@@anoopchandran3267 Thank you! I got a bunch more in the pipeline
@anoopchandran3267
@anoopchandran3267 21 күн бұрын
@@backpine ooh waiting for it. If you can please do one on durable objects. 👍
@backpine
@backpine 21 күн бұрын
@@anoopchandran3267 Does a video on how to use Durable Objects to keep track of websocket state amongst multiple clients sound interesting?
@infdesu
@infdesu 2 ай бұрын
How is the observability story in Cloudflare?
@backpine
@backpine 2 ай бұрын
I'll be making a video about this soon. They recently rolled out a new log monitoring system for workers and you can also push logs to other observability providers. I push all logs and metrics to a service called Baselime where can create dashboards, debug, and manage alerting. I'd say observability right out of the box with CF is just okay, but it's easy to create your own observability solution that is really good
@infdesu
@infdesu 2 ай бұрын
@@backpine Thanks, looking forward to your take on this. I've used Baselime with Vercel and that integration is straight up useless because the default integration (that can't be customized) sets incoming log event metadata wrong, making most of the tool really hard to use. It could be a case where our deployed payload (Nuxt) runs as a catch-all monolith route with an internal request router instead of gazillion individually deployed cloud functions and that use-case is simply not supported... but that's a pretty weak reason if so. Hence, I'm interested in if Baselime (or whatever) works nicer with Cloudflare's stuff for some magical reason 🙂 Another content idea: if/how to make Cloudflare play ball with monorepos. I had a terrible time trying to use their integration and not trigger CI builds on commits that do not touch the project in question inside a monorepo. Probably that is a case of moving to use GH actions to ochestrate builds... making it a deep enough topic to probably have some hidden knowledge with a video. Doing the same in Vercel definitely involved exploring some undocumented aspect of their CLI to manage preview deployment domain alising, for example. Thanks for the video! Good stuff 👏
@backpine
@backpine 2 ай бұрын
Thanks for the suggestion. How long ago did you try to set up a mono repo with CF? I structure my projects as a mono repo as I like to share schemas across services. This pattern is also good if you go the trpc route. Anyways, pages allows you to add path changes to trigger deployments. This has worked perfectly for me so far. Not sure if it's a newish feature. For workers you're right, it would probably make sense move the deployment to GH actions.
@whodoneitx2x
@whodoneitx2x 2 ай бұрын
Nice video. Looks like you’re using hono? Would love to see you demo tanstack router and later when it enters into beta soon, tanstack start
@backpine
@backpine 2 ай бұрын
Yes, I heavily use Hono! The creator of the Tanstack is actually from my hometown (: I'll keep this in mind
@harshitpant07
@harshitpant07 2 ай бұрын
Not being able to use express and had to use hono bring in its seperate sets of problems 🙂
@backpine
@backpine 2 ай бұрын
What do you mean by not being able to use npm?
@harshitpant07
@harshitpant07 2 ай бұрын
@@backpine when i tried using cloudflare for one of my project as a backend i use hono since edge env doesnt support npm and so i have heard thats why we use hono
@backpine
@backpine 2 ай бұрын
@@harshitpant07 I also use Hono as a backend when deploying to Cloudflare and I use npm for package management. I think the issue you were running into is that Cloudflare workers do not run Nodejs. They use V8 as their runtime, so basically all projects deployed to Cloudflare need to be bundled in a way that is compatible with V8. Most mainstream frameworks will have build-time dependancies to bundle the code so it is compatible with V8. But some frameworks like Express JS have very deep Nodejs dependencies and are not able to run on Cloudflare. This is where frameworks like Hono come into play, to provide Express-like features that can be shipped to non-nodejs runtimes. You can google "Cloudlfare Workers Framework guide" to see a list of the core supported frameworks. I'll be making a video about this soon if you are interested (:
@harshitpant07
@harshitpant07 2 ай бұрын
@@backpine ok thanks i think my half-assed knowledge is perfected somehow and i never ran into any problem i was just saying some features of node and express are hard to find in hono just that is, I'll wait for your video nice explanation man!
@CHETAN_I_007
@CHETAN_I_007 2 ай бұрын
Waiting for the tutorial 😊
@m3mem4chine86
@m3mem4chine86 2 ай бұрын
Why did you render your video as interlaced? I see interlacing lines.
@backpine
@backpine 2 ай бұрын
I have no idea what that means 😂 I'm incredibly new to video editing. Literally leaned Davinci Resolve while editing this video. I'd love any pointers if you have
@m3mem4chine86
@m3mem4chine86 2 ай бұрын
@@backpine You rendered the video as interlaced instead of progressive scan. Interlaced video was used for analog television (and CRTs). It means frames alternate between odd and even lines, rather than the whole frame. Check your render profile and set it to progressive scan.
@backpine
@backpine 2 ай бұрын
@@m3mem4chine86 thank you for this info!! I am checking my setting now
@panuozzo7769
@panuozzo7769 2 ай бұрын
Guys I think this video is AI generated because it's too convincing. Bro you're a legend
@backpine
@backpine 2 ай бұрын
Lol I appreciate you! TBH I want to find a way to lever AI for the editing. It took like 20 hours to edit and the quality is still mid
@MrAdnan252
@MrAdnan252 2 ай бұрын
Cool sales pitch
@ticua07
@ticua07 2 ай бұрын
How did you use R2 without a credit card?
@yusufisawi509
@yusufisawi509 2 ай бұрын
very nice video, keep going
@backpine
@backpine 2 ай бұрын
Thank you!
Cloudflare vs Vercel - We need to talk
27:50
Mehul - Codedamn
Рет қаралды 14 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
The Underrated Coolify Feature You Didn't Know About
10:03
Theo in Tech
Рет қаралды 569
How Uber Handles TRILLIONS of Transactions
13:03
Coding with Lewis
Рет қаралды 344 М.
Why did Raspberry Pi make their own SSD?
12:58
Level 2 Jeff
Рет қаралды 310 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
The Cloudflare Stack
13:26
Cloudflare Developers
Рет қаралды 21 М.
3 Levels of WiFi Hacking
22:12
NetworkChuck
Рет қаралды 2,4 МЛН
Docker Image BEST Practices - From 1.2GB to 10MB
7:15
Better Stack
Рет қаралды 135 М.