Skip to content

Commit 63a19f1

Browse files
Chris WuChris Wu
Chris Wu
authored and
Chris Wu
committed
no message
1 parent 8fd6ac1 commit 63a19f1

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,24 @@ If you are new or know nothing about data structures and algorithms, I recommend
200200
* In short, UDP is smaller and faster while TCP is reliable and ordered.
201201
* UDP example, video streaming, DNS lookups.
202202
4. [HTTPS, CA, PKI](https://www.youtube.com/watch?v=i-rtxrEz_E8)
203-
5. HTTP, [Socket](https://www.youtube.com/watch?v=Y0g3M4VG6Ns), [WebSocket](https://www.youtube.com/watch?v=i5OVcTdt_OU), [HTTP KeepAlive](https://www.youtube.com/watch?v=j8lgFaIajko), HTTP2
203+
5. HTTP, HTTP Code, [Socket](https://www.youtube.com/watch?v=Y0g3M4VG6Ns), [WebSocket](https://www.youtube.com/watch?v=i5OVcTdt_OU), [HTTP KeepAlive](https://www.youtube.com/watch?v=j8lgFaIajko), HTTP2
204+
6. DNS, CNAME, NS, A, AAAA, IPv4, IPv6
205+
7. Code, Process, Thread
206+
8. [Stack memory vs Heap memory](https://www.gribblelab.org/CBootCamp/7_Memory_Stack_vs_Heap.html)
207+
Stack memory
208+
1. Stores temporary variable created by functions.
209+
2. Memory is managed by CPU for you. No need to allocate and free it by hand.
210+
3. L.I.F.O.
211+
4. Stacks has limit (That is why we seldom use recursion real life)
212+
5. Stacks variable are local variable in nature.
213+
214+
Heap memory
215+
1. Larger.
216+
2. Slightly slower. Because we has to use "pointers" to access.
217+
3. We are responsible to free() the memory.
218+
4. Heap variable is global variable in nature.
219+
9. GET vs POST
220+
10. [CORS](https://www.youtube.com/watch?v=eWEgUcHPle0)
204221
...
205222

206223

0 commit comments

Comments
 (0)