쉐도잉 연습: Proxy vs Reverse Proxy Server Explained - YouTube로 영어 말하기 배우기

C1
going on guys my name is Hussain
⏸ 일시 정지
202 문장
문장이 너무 짧거나 길면 Edit를 눌러 조정하세요.
1
going on guys my name is Hussain
2
and in this video I want to discuss the difference between a proxy and a reverse proxy.
3
I made a video two years ago and I want to remake this video
4
and talk about things that I haven't talked about in the previous video
5
and things that I recently learned from
6
and from you guys like you had a lot of questions I compile these questions into this video as well
7
so if you're interested stay tuned how about we jump into the video.
8
So the first thing is what is a proxy?
9
A proxy is a software that makes requests on behalf of a client.
10
So in this case, for example, the client here, the laptop says, hey, I want to go to google.com.
11
But it has certain configuration in its setting that says, by the way, this is my proxy.
12
That means any request that needs to go out have to go through the proxy first.
13
So all the connections is actually established between those two guys only.
14
All right?
15
And then the proxy will look at the data and says, oh, you want to go to google.com?
16
I'll take care of it.
17
I'll make the request of your behalf.
18
So as far as Google is concerned or any of the destination server here, the client is the proxy, not this guy, right?
19
So that's essentially what a proxy is, right?
20
You might say, okay, what are use cases for this?
21
Well, some ISPs use proxies to block certain unwanted websites and certain governments, not all of them, right?
22
At your work, some organization uses a proxy.
23
They want to protect you from bad websites that, well, this is confidential data and we don't want you to visit bad websites.
24
So this is a list of things that you shouldn't access.
25
And we can know because we keep the list right here.
26
So if you try to access certain websites that we think is an efficient website, we're going to block you right here.
27
We're going to block that website.
28
And another use case is like, hey, I want to cache this stuff.
29
Hey, we just made another person just made a request for certain content.
30
Hey, I have it cached here.
31
Don't bother.
32
I'm not going to go to the server to pull this content again.
33
I'm just going to serve it back to you.
34
So that's where you use a proxy.
35
How about some use cases of a proxy?
36
The use of proxy is caching.
37
Caching is very popular where, hey, I'm consuming this content, but someone else already have done it.
38
So as you have this centralized location where all the some of the requests going through the proxy, the proxy can serve you cached content.
39
This could be bad or good, but nevertheless, it's a good idea sometimes.
40
right anonymity anonymity from the final destination the final destination doesn't know
41
that originating client as we have discussed here as far as
42
Google is concerned this is the client right not this one right
43
so this is kind of an anonymity right code in code you're kind of understand
44
that you're transferring the anonymity from one place to another
45
because yes Google doesn't know who you are anymore
46
but the proxy does logging yeah
47
and again in a work environment hey i want to log everybody request
48
and say okay this website is being visited a lot
49
so maybe it's time to start caching this website
50
or maybe this guy's oh this is this guy's always on facebook oh why is he doing
51
that right block websites hey i don't want you isps
52
and work situations can actually do that right if it can protect you from bad websites or actually if certain governments,
53
right, can force clients to actually use a proxy to access the internet.
54
It's like, hey, without this proxy, you cannot access the internet.
55
I'm sorry.
56
So if the month is to use a proxy, any website goes, any request goes through that ISP proxy.
57
And the moment you do that,
58
well, they can see certain information not everything at least the domains we we can go hours talking about
59
that stuff right block website
60
microservices is one of the recent chain uh use cases of
61
proxies especially a sidecar proxies there are many type proxies guys this yeah http proxy tcp proxy sidecar proxy
62
so microservices is also another use case where you can deploy a proxy next to your application and have it
63
take care of networking stuff, right?
64
So if you make a simple request, right, let's say an HTTP one request,
65
that sidecar proxy can actually start upgrading that request to a newer protocol, let's say HTTP two or HTTP three, right?
66
So it can do that for you because it know how to speak that language.
67
You just speak in a primitive way between these two.
68
And this could be the bad ass configuration, right?
69
They can use gRPC.
70
They can use very high tech at the back end, right?
71
So, that's another use case for microservices.
72
Microservices actually uses both proxy and reverse proxy.
73
Jumping to the reverse proxy.
74
The reverse proxy is actually the reverse, and I hate that because it's very confusing, I know.
75
In the proxy configuration, the server doesn't know the client.
76
In the reverse proxy, the client doesn't know the final destination server.
77
it's actually reversed right so if here you want to go to google.com
78
which is your final destination
79
but guess what google.com in itself is a reverse proxy it is not the true final destination
80
and you don't know that
81
because guess what the proxy in this case will make the request still on your behalf
82
but you don't know that they will communicate to either google server one or Google server two or Google server three.
83
And this is one use case of a reverse proxy called load balancing, right?
84
So, hey, I want to go to this or no, maybe I'm going to use a canary deployment.
85
Well, I'm testing that 8% of users should use this new version of the application, right?
86
And Instagram does that all the time, right?
87
Or YouTube does that all the time.
88
Hey, we're testing all the request, 8% of the request, we're testing this new feature, right?
89
This new functionality.
90
Oh, well, 8% of the request, literally in the reverse proxy, we're going to funnel it to this destination.
91
And that's it.
92
That's how you get the new functionality, right?
93
So that's a reverse proxy.
94
Again, very quick.
95
In a proxy, the server doesn't know the client.
96
Reverse proxy, the client doesn't know the final destination.
97
That's the simplest I can get it, really, right?
98
And let's talk about reverse proxy use cases, more reverse proxy use cases.
99
Caching is again, shows up again.
100
I want to make a request to Google.com and the Google.com is a reverse proxy.
101
Well, it will cache content for me so that I don't have to.
102
It doesn't have to go to the back end and features on formation for me.
103
Right.
104
Formation that are already being fetched so catching is very important load balancing something you cannot do with just a proxy
105
load balancing hey i am you're making a request to me
106
which is the reverse proxy i'm sometimes gonna hit this server
107
sometimes i'm gonna hit this server sometimes i'm gonna hit this server
108
and there are so this you can speak about this for hours guys i i made
109
so many videos about load balancing there are many types of
110
app balancer layer 4 load balancers layer 7 load balancers layer 3 load balancers it is a complicated topic
111
if you want to learn more i'm going to reference the
112
playlist it's going to in the comment section go dive deep into it
113
and just enjoy this is a huge huge huge huge feature right
114
so a lot balancing ingress in kubernetes and microservices
115
and architecture always says hey all right you talk to me
116
sir as a reverse proxy your client talk to me reverse proxy
117
and guess what if you want to access the pictures api i'm gonna funnel you to this api
118
if you're doing going to the comments api i'm going to funnel you to this
119
so that's called an ingress where it's actually based on certain
120
filtering on the content at least the http side it says
121
oh you want to go to this you want to consume
122
the comments api you want to consume the pictures api you
123
want to consume this api right well i'm going to take you to the actual service
124
that is responsible of serving you this content
125
so it's not really not balancing it's kind of cause it's
126
all an ingress where it's kind of like like a router right
127
so hey this goes here this goes here this goes here very important features in kubernetes canary deployment
128
Canary deployment is where we talked about right?
129
This is hey, I'm experimenting that 3% of all YouTube videos should have a random generated thumbnail.
130
That's a canary deployment.
131
How do they do it?
132
Reverse proxy rules.
133
They have rules and they define it in the reverse proxy.
134
Examples of reverse proxies guys by the way, hundreds of them right?
135
There are it's a proxy there is nginx there is envoy
136
there is linkedin linkedin linker d already run out i say 100
137
but i can't think of a lot of people
138
that yeah caddy web server some people some some servers act like a web server
139
and a reverse proxy which is awesome
140
and finally the microservices yes a microservice architecture reverse proxy is
141
also a key where each service sometimes as a sidecar plays like a sidecar it's both a proxy
142
and a reverse proxy at the same time we're going to talk about
143
that all right guys so these are the most common questions
144
that i have collected over over the years and just from reading my comment section on the youtube channel
145
the first question is can the proxy
146
and the reverse proxy be used at the same time yes
147
there is a use case where a proxy can act also as a reverse proxy at the same instance
148
and this is called the service mesh right a service mesh
149
or a sidecar proxy like linker d or stu
150
or envoy are used in microservices architecture
151
and it is used all the time to kind of build
152
the networking feature of the application in the proxy itself instead of
153
and focus the application to write its own features instead of worrying about timeouts
154
and circuit break and all that garbage right so
155
So that's a use case where a proxy can act like
156
a reverse proxy the same a second uh question is can
157
i use a proxy instead of vpn for anonymity well you can yeah you can
158
but you have to really know what they are doing technically vpn is more secure than
159
a proxy because they are at lower level and vpn the only thing
160
that vpn can see in your content is the domain that
161
and that's assuming every website you're visiting has the padlock in
162
it https right assuming i'm talking about only web traffic here but yeah
163
if the vpn can only see the domains right you have you're going to facebook.com they can see
164
that right you're going to this website that's come a proxy is more dangerous
165
because some proxies can not only see see the domains, they can see everything if they are TLS terminating proxies.
166
If they are that type, then actually they can just see everything you're doing and you don't want that, right?
167
So if you want to use a proxy, know that it's not a TLS termination proxy.
168
If it's that, then it's essentially decrypting the traffic and serving you its certificate.
169
So to know is very easy.
170
Go to the padlock and click on it and see that it's being served by the final destination web server, not the proxies certificate, right?
171
But yeah, to be honest, I don't use a VPN or a proxy, right?
172
Because first of all, I don't have a use case where I want to visit.
173
I live in the United States, so any page is pretty much open, right?
174
But if I want to use anonymity, I'm not going to use a VPN because VPN still, the anonymity is still not going to use a VPN transferred from from my isp to the vpn
175
so the vpn know where i'm going and which websites i'm visiting
176
but yeah even i don't have a use case
177
so i don't use a vpn
178
or a proxy i'm sorry i might consider using it to to access some content
179
that i'm not supposed to watch in the united states i
180
don't know some uk shows right i would i would use a vpn
181
but yeah i don't use that any of them Plus, as long as the website is secure, it's good, right?
182
And the domains, really?
183
I mean, yeah, they can look that I'm viewing amazon.com or facebook.com.
184
Yeah.
185
So I'm not really worried about that much.
186
So that's just me.
187
Is proxy just for HTTP traffic?
188
No. You can have so many types of proxies.
189
There is SOX proxies, which is a very low level.
190
There is unused for tunneling.
191
There is HTTP proxy, which only forwards traffic for HTTP, right?
192
There is HTTPS traffic proxy, which can act both ways.
193
As a tunneling proxy using the connect HTTP method, which is safer.
194
Or as a TLS termination, which is you want to use TLS termination reverse proxies.
195
TLS termination proxies And you use it for your normal days That's a no-no Alright guys That's it for me
196
Hopefully it was a quick video I don't know
197
if it's worse than the one I made
198
But hey I just thought it was a good idea To just remake this video guys for you
199
And follow me on Twitter Send me your great questions I
200
love to leave them Subscribe to this channel to see more software engineering Backend technology I talk about all
201
that stuff in this channel and I'm going to see you in the next one.
202
You guys stay awesome.

앱 다운로드

Everything you need to speak fluently

AI PronunciationScore every sentence
IPA PracticeMaster every sound
VocabularyBuild your word bank
Vocab GameLearn while playing

맥락 및 배경

이번 비디오에서는 Hussain이 프록시 서버와 리버스 프록시 서버의 차이점에 대해 설명하고 있습니다. 두 년 전 제작한 비디오의 내용을 보충하고, 시청자들이 질문한 내용을 정리하여 새로운 정보를 제공합니다. 이 내용을 통해 영어 학습자들은 기술적인 주제에 대한 영어 표현력을 향상시키고, 관련된 문맥에서의 대화 능력을 키울 수 있습니다.

일상 커뮤니케이션을 위한 5가지 표현

  • What is a proxy? - 프록시란 무엇인가요?
  • I'll take care of it. - 제가 처리할게요.
  • I'll make the request on your behalf. - 당신을 대신해 요청할게요.
  • It's a good idea sometimes. - 때때로 좋은 아이디어예요.
  • This is kind of an anonymity. - 이것은 일종의 익명성입니다.

단계별 셰도잉 가이드

이 비디오에서 다루는 기술 용어와 내용을 효과적으로 소화하기 위해 다음의 단계를 따라하세요:

  1. 비디오 시청: 비디오를 처음부터 끝까지 시청하며, 내용을 파악합니다. Hussain의 발음을 주의 깊게 들어보세요.
  2. 중요 문장 반복: 비디오에서 나온 5가지 표현을 반복해서 듣고, 발음을 따라 해보세요. 이 과정에서 영어 발음 교정에 도움이 됩니다.
  3. 셰도잉 연습: 각 문장을 따라 말하는 shadow speak 훈련을 하세요. 속도를 줄여 말하는 것이 좋습니다.
  4. 단어의 의미 파악: 비디오 중에 등장한 전문 용어와 표현을 별도로 정리하십시오. 이렇게 하면 단어의 의미를 이해하며 문장 구조를 익힐 수 있습니다.
  5. 실제 대화에 적용: 학습한 내용을 실제 대화에서 활용해 보세요. 친구나 동료와의 대화에서 기술적인 주제를 시도해 볼 수 있습니다.

이러한 방법을 통해, 영어를 사용하는 환경에서의 자신감을 높이고, 영어 회화 연습의 기회를 최대한 활용하시기 바랍니다. 또한, 비디오 내용을 활용하여 shadowing site에서 추가적으로 연습하는 것도 좋은 방법입니다.

쉐도잉이란? 영어 실력을 빠르게 키우는 과학적 방법

쉐도잉(Shadowing)은 원래 전문 통역사 훈련을 위해 개발된 언어 학습 기법으로, 다언어 학자인 Dr. Alexander Arguelles에 의해 대중화된 방법입니다. 핵심 원리는 간단하지만 매우 강력합니다: 원어민의 영어를 들으면서 1~2초의 짧은 지연으로 즉시 소리 내어 따라 말하는 것——마치 '그림자(shadow)'처럼 화자를 따라가는 것입니다. 문법 공부나 수동적인 청취와 달리, 쉐도잉은 뇌와 입 근육이 동시에 실시간으로 영어를 처리하고 재현하도록 훈련합니다. 연구에 따르면 이 방법은 발음 정확도, 억양, 리듬, 연음, 청취력, 말하기 유창성을 크게 향상시킵니다. IELTS 스피킹 준비와 자연스러운 영어 소통을 원하는 분들에게 특히 효과적입니다.

커피 한 잔 사주기