الدوال بلا خوادم (Serverless)
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
use functions where they fit and avoid them where they do not.
الموضوعات المخطط لها
- Fit: event-driven work, spiky or rare traffic, glue code, scheduled tasks.
- Strengths: no servers to manage, scale to zero, pay per use.
- Limits: execution time, cold starts, concurrency limits, harder local testing, vendor-specific triggers.
- Poor fit: long-running steady load, where per-run pricing exceeds a continuous instance, and latency-sensitive paths affected by cold starts.
- Watch downstream limits: functions can scale faster than your database.
تفاصيل المخطط المبدئي
عرض عملي
a cost sketch: break-even between function pricing and a small container as requests per second rise (illustrative; verify prices before recording).
اختبر فهمك
Which workload suits functions poorly?
أظهر الإجابة
Long-running steady load.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.