Skip to content

Parallelize async operations to eliminate request waterfalls - #2

Open
maktoufzied wants to merge 1 commit into
saikothasan:mainfrom
maktoufzied:feature/parallelize-async-operations
Open

Parallelize async operations to eliminate request waterfalls#2
maktoufzied wants to merge 1 commit into
saikothasan:mainfrom
maktoufzied:feature/parallelize-async-operations

Conversation

@maktoufzied

Copy link
Copy Markdown
  • Use Promise.all() in /api/quran route to fetch Quran data and languages concurrently
  • Parallelize language availability checks in getAvailableLanguages() instead of serial loop
  • Check all fallback languages concurrently in getFallbackLanguage()

- Use Promise.all() in /api/quran route to fetch Quran data and languages concurrently
- Parallelize language availability checks in getAvailableLanguages() instead of serial loop
- Check all fallback languages concurrently in getFallbackLanguage()
@maktoufzied
maktoufzied force-pushed the feature/parallelize-async-operations branch from d89502d to a075f58 Compare March 6, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant