Placeholder Image

字幕表 動画を再生する

  • Hey, yo, it's November 1st I have to finish my website.

  • Um, by the end of this month.

  • Well, that's just a self imposed deadline.

  • But I've learned quite a bit in the past month or two.

  • I'm excited.

  • I don't know if I even did I even show you this.

  • I've come up with my Web site life, my micro service's architecture of you to finally, I've split my back end into two sections.

  • Okay, CPU intensive and non CPU intensive.

  • So no jazz is only good for the Io bound activities.

  • The CPU bound activities were going to use a sp dot net core.

  • I I didn't understand why what the difference between Java and C Sharp was for the longest time, but now I finally see that, like C Sharp is kind of solving all the problems I had with Java for Web development has a lot of asynchronous built into it.

  • I know Java so well.

  • I've never used c sharp.

  • So that means over the next three weeks I'm gonna have to teach myself c sharp while building build my whole website.

  • In today's video, we're gonna build one of the micro service is it's probably gonna take more than one day to go.

  • We need to store our information in the database, and then we need to write a C sharp application that polls get hub inserts data into our database.

  • It's gonna be so fun, so good.

  • Okay, so our software page currently looks like this, and then you can see I was tryingto only do projects here, But instead of doing this, we're just gonna have this huge table, and we're just gonna display all might get help projects.

  • I'm excited to see all this data.

  • Okay, so I've been working on the schedule.

  • Er, you know, I looked up schedulers in, um dot net core, and I found this one hang fire.

  • It looks pretty solid.

  • A lot of the time you have background tasks.

  • So, for example, my get hub thing I need to pull, get hub and insert the changes into my database every like, 10 minutes.

  • Right?

  • And then the front end can just contact my database without having to actually like it would be a bad design if the user every request contacted, get huh?

  • Because I would overload get hub like, let's say, 1000 people join my sight.

  • We don't want to make 1000 requests to get, huh?

  • I don't really know what I'm doing right now.

  • I'm trying to learn dot Net.

  • I don't know.

  • I'm trying to figure it all out.

  • I was gonna pop music and, uh, work trying to figure it out way have to take our massive Jason and converted into objects.

  • Holy shit.

  • Whoa!

  • There is a list, and each object is like a project, right?

  • All I had to do was, say, read as a sink list project.

  • And then I just defined the project to be this.

  • And then that's it.

  • So now we have both the get hub projects and our local projects.

  • We've got one record in our database, and it's just this fake data that I just threw in there.

  • It's basically it's just this data.

  • So this local should populate with this.

  • It's coming from our database, so I'm freaking out and local is here.

  • Oh!

  • Oh, shit.

  • This song is so good.

  • Wow.

  • Way.

  • Got something that can automatically detect what changed way should see all these rose get removed, and then this This should become up to date.

  • With what get Hub has right now, which was mind blowing.

  • Right.

  • So we're gonna run it for the first time.

  • It's gonna open up.

  • Ah, wow.

  • Let's see what our database looks like now, huh?

  • Okay, now we can test our thing.

  • Let's it's all back.

  • You can't get rid of it.

  • Now, wait.

  • Hang for a sick.

  • Both of these don't exist.

  • You're ready now.

  • It's set up Thio.

  • It says it's gonna execute in 26 minutes.

  • But little does it.

  • No, it's gonna have Thio here.

  • Go processing A few seconds ago.

  • Weight.

  • So they did.

  • It just Did you just go?

  • Oh, it just went.

  • Wow.

  • I love all you can see my geese on here.

  • It's pretty beautiful, dude.

  • Um, now, I you know, I didn't even plan to make this into a video because I just code for, like, 12 hours at a time.

  • And then it's very hard to extract any any talking out of that.

  • Any explanation?

  • So the final result.

  • Dude, what?

  • What is the final result?

  • The final result is we have a service that could pull, get hub and insert the changes into my database.

  • Now, I used an open source software called Hang Fire.

  • And that's what you saw on the dashboard.

  • And that's what that's what can schedule jobs based on a Krahn schedule.

  • All I have to do to create a new service is I can write a regular object like this is the function that I want you to execute schedule of recurring job and schedule it on this on this Krahn schedule.

  • And then all I have to do is go into my start up and I have to just say jobs don't add type of and then the type of the the class, that's it.

  • So anything, any time I'm like, oh, I want to create a new background service, all I have to do is add two lines of code and then just just right just code, as I normally would, which is which is really what excites me.

  • That was my main goal from this project was so that in the future I have a system that allows me to to do that on a bigger scale.

  • So obviously I'm excited that man, you guys should subscribe and follow my social media's and I will see you.

  • I'll see you when I see you.

  • Okay.

  • I'm gonna go make the videos.

  • Good.

  • Dude, I'm gonna make the videos.

  • Good.

  • Okay.

  • I'll try and pull us more often.

Hey, yo, it's November 1st I have to finish my website.

字幕と単語

ワンタップで英和辞典検索 単語をクリックすると、意味が表示されます

A2 初級

新しいプログラミング言語を学ぶ|Developer Vlog (Backend Microservices) (Learning a new Programming Language | Developer Vlog (Backend Microservices))

  • 3 0
    林宜悉 に公開 2021 年 01 月 14 日
動画の中の単語