Uploaded February 2025 | Updated September 2026, 6 days ago
Check out Ktor: kotl.in/try-ktor-3
I've never used Kotlin or Ktor until today, so I decided to build a reverse proxy for docker to learn all about it. I'll be able to utilize Ktor's coroutines for handling async requests, built-in HTTP client for forwarding traffic, routing to dynamically proxy requests to different backend services, and things like that. But first, I wanted to get acquainted with Kotlin, so I did Kotlin Koans, which is โone of the most popular and most effective ways to get into Kotlin for people who already know Java.โ And that it was.
This was a fun project to build, so I hope you enjoy the video as much as I enjoyed making it!
Original Title: So I Tried Kotlin Instead of Java
0:00 I'm building a reverse proxy for docker
1:50 Kotlin Koans
2:52 About Ktor, sponsored by JetBrains
3:56 Finish Koans
8:00 Ktor project setup for reverse proxy
9:32 What's a reverse proxy?
11:20 HttpClient
13:41 Async handling
17:15 try-catch block
19:51 getDockerServices()
21:30 Block and unblock
24:26 Persistence... with a txt file lol
25:11 Let's see if it works
26:42 Thanks for watching!!
This video is sponsored by JetBrains, the creators of Kotlin and IntelliJ IDEA.
If you're a developer, sign up to my free newsletter Dev Notes ๐ devnotesdaily.com
If you're a student, checkout my Notion template Studious: notionstudent.com
Don't know why you'd want to follow me on other socials. I don't even post. But here you go.
๐ฑโ๐ GitHub: github.com/forrestknight
๐ฆ Twitter: twitter.com/forrestpknight
๐ผ LinkedIn: linkedin.com/in/forrestpknight
๐ธ Instagram: instagram.com/forrestpknight
Check out Ktor: kotl.in/try-ktor-3
I've never used Kotlin or Ktor until today, so I decided to build a reverse proxy for docker to learn all about it. I'll be able to utilize Ktor's coroutines for handling async requests, built-in HTTP client for forwarding traffic, routing to dynamically proxy requests to different backend services, and things like that. But first, I wanted to get acquainted with Kotlin, so I did Kotlin Koans, which is โone of the most popular and most effective ways to get into Kotlin for people who already know Java.โ And that it was.
This was a fun project to build, so I hope you enjoy the video as much as I enjoyed making it!
Original Title: So I Tried Kotlin Instead of Java
0:00 I'm building a reverse proxy for docker
1:50 Kotlin Koans
2:52 About Ktor, sponsored by JetBrains
3:56 Finish Koans
8:00 Ktor project setup for reverse proxy
9:32 What's a reverse proxy?
11:20 HttpClient
13:41 Async handling
17:15 try-catch block
19:51 getDockerServices()
21:30 Block and unblock
24:26 Persistence... with a txt file lol
25:11 Let's see if it works
26:42 Thanks for watching!!
This video is sponsored by JetBrains, the creators of Kotlin and IntelliJ IDEA.
If you're a developer, sign up to my free newsletter Dev Notes ๐ devnotesdaily.com
If you're a student, checkout my Notion template Studious: notionstudent.com
Don't know why you'd want to follow me on other socials. I don't even post. But here you go.
๐ฑโ๐ GitHub: github.com/forrestknight
๐ฆ Twitter: twitter.com/forrestpknight
๐ผ LinkedIn: linkedin.com/in/forrestpknight
๐ธ Instagram: instagram.com/forrestpknight










