Architecture / 4+1 / View 03

/ARCHITECTURE /PROCESS VIEW

The Process View shows how Intaliq behaves at runtime: requests from the mobile app to the backend, notifications pushed to users and coaches, offline actions synced later, and scheduled data clean-up. It also covers how the design handles concurrent bookings, response-time targets and lost connections.

Stakeholders: Integrators Concern: Performance, Concurrency
ACTIVITY_DIAGRAM.UML
Activity diagram: setting an activity goal
FIG 1.0 Setting an activity goal (user): log in, open the Goals tab, choose a running, hiking or cycling goal, specify time period, calories burnt and deadline, then save once all fields are valid.
ACTIVITY_DIAGRAM_COACH.UML
Activity diagram: admitting session members
FIG 2.0 Admitting members (coach): review the users requesting to join, check session capacity and whether the user meets the activity level, then accept or decline and record the decision.

Runtime Processes

P-01 Session Booking & Admission
Synchronous

Triggered when a user submits a join request or a coach accepts or rejects one. The app calls the backend over HTTPS; the backend validates login, checks capacity and fitness-level match, updates the request status and member list, and returns a confirmation or error pop-up.

P-02 Notification Dispatch
Asynchronous

Triggered by booking decisions, partner request updates, coach announcements and goal reminders. Events are handed to the push notification service (SI-4) and email (CI-3) so the user's request does not wait for delivery.

P-03 Offline Sync & Data Retention
Scheduled

When the connection returns, the app syncs actions it stored locally, such as activity logs and partner requests (CI-4, CI-5). A scheduled policy also permanently deletes passively deleted data after the retention period and clears AI chat inputs after each session (SRS Section 4.4).

Concurrency & Communication

Communication Style

The mobile app uses HTTPS request/response calls to the cloud backend (CI-1) over Wi-Fi or 4G/5G (CI-2). Notifications and emails are sent asynchronously through external push and email services, so user actions are never blocked by delivery.

Synchronization

Session capacity is shared by concurrent join requests and coach admissions. The capacity check and member-list update must happen together in one step (for example, a single database transaction) so a session is never over-filled, and repeated offline syncs must not create duplicate records.

Performance & Fault Tolerance

Targets: results within 3 s (PER-1), statistics within 4 s (PER-2), server responses under 5 s (CI-6), and 99% availability (REL-1). When the connection drops, the app stores unsent actions locally and retries on reconnect. On a system error the action is not saved and the user is told.