תזמור Stateless לארכיטקטורת Base44 | VibeScale Prompts
חזרה לכל הפרומפטים

תזמור Stateless לארכיטקטורת Base44

ניהול "מצבים" (State) מורכבים ב-Backend המיועד לבינה מלאכותית.

מודל: Base44 / Node.js SDKקטגוריה: פיתוח
Implement the 'Base44 Stateless Orchestrator' pattern for this project.
We are moving away from tradition Session-based storage to a pure stateless event-driven architecture.

CORE REQUIREMENTS:
1. Every API call MUST be idempotent.
2. Use the Base44 'Contextual Singleton' to pass LLM-specific state without storing it in a persistent SQL database if not necessary.
3. Implement 'AI-Security-Headers': Validate that every incoming prompt has been sanitized by the Base44 Gateway before it hits the application logic.
4. Write the implementation for a 'Task Worker' that handles long-running AI generations using background job orchestration (Base44 Workers).

מתי כדאי להשתמש?

כאשר אתם בונים מערכת עם מיליון יוזרים וזקוקים ל-Core יציב שלא קורס.