كل شي لازم تعرفه عن ال | Everything you should know about | Serialization
Yousef Abu Amireh
0:00 / 0:00
كل شي لازم تعرفه عن ال | Everything you should know about | Serialization
279 просмотров · 3 дн. назад
Yousef Abu Amireh
72 подписчика
279 просмотров · 3 дн. назад
بدك تعرف وحدة من الأشياء اللي بتفرّق ال senior عن ال junior؟ ال serialization.
بهاد الفيديو بنفصفص ال serialization من كل الجوانب: ليش بتأثر على ال CPU والشبكة وال memory، الفرق بين ال text وال binary formats (نفس ال object: 37 byte ب JSON و 10 bytes ب Protobuf)، ليش gRPC أسرع من REST، ال schema evolution مع Protobuf و Avro و Schema Registry، فخ Jackson مع ال fields الجديدة، مخاطر ال native deserialization، ونصائح performance من الخبرة.
0:00 Intro
0:49 What is serialization
1:41 Why it matters for performance
2:48 Text vs binary
3:50 JSON pitfalls
4:52 Binary formats
6:20 Why gRPC is faster than REST
8:27 Schema evolution
10:38 The Jackson trap
11:33 Native serialization & security
12:56 Performance tips
14:16 Which format when
14:54 5 rules
References:
Protocol Buffers encoding: https://protobuf.dev/programming-guides/en...
Protobuf best practices: https://protobuf.dev/best-practices/dos-do...
gRPC: https://grpc.io/docs/what-is-grpc/introduc...
Schema Registry compatibility: https://docs.confluent.io/platform/current...
OWASP Deserialization Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsh...
#serialization #grpc #protobuf #json #backend #softwareengineering #برمجة