Implement caching layer, DB optimization, Workbox SW, and blockchain unit-of-work#417
Merged
Smartdevs17 merged 2 commits intoMay 27, 2026
Merged
Conversation
…r, and blockchain unit-of-work pattern - Smartdevs17#379: Multi-level caching layer with in-memory + Redis, single-flight pattern for cache stampede prevention, cache warming, and hit/miss monitoring - Smartdevs17#378: Database query profiling with composite index recommendations and N+1 query detection utilities - Smartdevs17#377: Frontend service worker refactored with Workbox-powered strategies (cache-first, network-first, stale-while-revalidate) and update notification flow - Smartdevs17#376: Blockchain interaction refactored with UnitOfWork pattern, nonce management, gas estimation, and batch processing for atomic operations
|
@Ebuka321 is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
- Keep both env vars (Stripe + Redis/cache config) - Merge imports and route registrations (nfc + cache routers) - Merge batch.ts: keep CSV processing + BatchProcessor classes - Merge database.ts: keep pool config, slow query detection, prepared statements, replica routing + query profiler with composite indexes - Fix service-worker.ts type conflicts for sync/periodicsync events - Preserve upstream startup/shutdown code alongside batch/cache init
|
@samsonmbah002 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR resolves 4 assigned issues with comprehensive implementations:
#379 - Response Caching Layer with Cache Stampede Protection
/api/v1/cache/statsendpointcacheControl({ inMemory: true })#378 - Database Query Optimization
#377 - Service Worker Workbox Refactor
#376 - Blockchain Unit-of-Work Pattern
UnitOfWorkclass for atomic multi-step Stellar operations with rollbackBatchProcessorfor transaction batching with configurable flush intervals/api/v1/stellar/batch,/api/v1/stellar/unit-of-work,/api/v1/stellar/feesendpointsCloses #379, Closes #378, Closes #377, Closes #376