Impact by the Numbers
By prioritizing Time to First Interactive (TTFI), we transformed a slow waiting experience into an engaging, dynamic conversation.
Time to First Interactive (TTFI)
90% Reduction
Perceived Wait Time
Negligible
User Frustration Score
Reduced
Overall User Satisfaction
Highest
The Challenge
The AI Latency Problem
AI Engine Requirement
The 'Eighty Days' app relies on complex AI generation (OpenAI APIs) that includes 'thinking' or processing time to generate detailed, structured outputs (like JSON itineraries).
The Core Problem
Traditional API calls require waiting for the entire response to be generated and validated before displaying anything to the user, resulting in a frustrating and lengthy silent wait.
The Roadblock: The Silent Wait
Slow Overall Execution Time
Due to the complex 'thinking functionality' required, the total time for the AI to finish and send the complete response was long.
Total Response Time
5 - 10s
Zero Feedback User Experience
For the entire duration of the AI processing, the user saw no output, creating anxiety and the perception that the app was frozen or slow.
Time to First Byte (TTFB)
High
Data Fragmentation Risk
Receiving partial, buffered data could lead to invalid or broken JSON objects if not handled meticulously on the frontend.
Data Integrity Risk
High
The Client’s Vision: Instant, Dynamic Feedback
01
Minimize Perceived Latency
Reduce the time the user spends looking at an empty screen, even if the total processing time remains constant.
02
Utilize Buffered API Data
Implement a method to stream data chunks from the OpenAI API as they are generated, rather than waiting for the final package.
03
Maintain Data Integrity
Develop a robust frontend mechanism to correctly piece together partial, buffered JSON objects into a valid final output.
Our Solutions
Instant Gratification via Streaming UX
01
Reduced Time to First Interactive
02
Frontend JSON Reconstruction
03
Enhanced Perceived Performance
04
Optimized User Experience (UX)
Project Visuals
Behind the Transformation
Key Takeaways
Main Learnings & Highlights
Perceived Speed Trumps Actual Speed
01
Frontend Processing is Crucial for AI UX
02
UX is About Managing Expectations
03
Limitations That Guided The Process
Project Timeline
The project carried a firm deadline, pushing the team to stay aligned and deliver on time.
Time taken
125 Hrs
Phase 1
Initial planning and research took place, establishing the framework for the project.
Time taken
50 Hrs
Phase 2
Development and implementation, where the core features were built and tested.
Time taken
75 Hrs
Phase 3
Final review and adjustments, ensuring everything met the quality standards before the launch.
Time taken
30 Hrs