لماذا بوابة
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
list what a gateway does for a set of services.
الموضوعات المخطط لها
- A gateway is the single public entry point in front of services.
- Routing:
/api/orders/**goes toorders,/api/products/**tocatalog. - Cross-cutting edge concerns in one place: TLS termination, authentication, rate limiting, CORS, request logging, correlation ids.
- Hides internal topology: clients do not know service names or ports.
- Cost: an extra hop, an extra thing to scale and keep highly available.
تفاصيل المخطط المبدئي
عرض عملي
diagram: browser → gateway → catalog, orders, inventory, payments on a private network.
اختبر فهمك
Name two concerns a gateway centralizes.
أظهر الإجابة
For example TLS termination and rate limiting.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.