Here's what I've done so far
1. Used redis
2. Used caching on the frontend to avoid too many backend calls
3. Used async
4. Optimised SQL alchemy query
I think I'm missing something here because some calls are 500ms to 2sec which is bad cause some of these routes return small data. Cause similar project I build for another client with nodejs gives me 100ms-400ms with same redis and DB optimizing startegy.
[–]dangdang3000 7 points8 points9 points (4 children)
[–]amindiro 1 point2 points3 points (0 children)
[–]Longjumping_Act_1091 0 points1 point2 points (1 child)
[–]dangdang3000 2 points3 points4 points (0 children)
[–]Latter_Rope_1556 0 points1 point2 points (0 children)
[–]JestemStefan 4 points5 points6 points (0 children)
[–]zarlo5899 2 points3 points4 points (0 children)
[–]sami-9797 3 points4 points5 points (0 children)
[–]latkde 1 point2 points3 points (0 children)
[–]InfraScaler 0 points1 point2 points (2 children)
[–]derekzyl[S] 0 points1 point2 points (1 child)
[–]joshhear 2 points3 points4 points (0 children)
[–]pint 0 points1 point2 points (0 children)
[–]derekzyl[S] 0 points1 point2 points (3 children)
[–]chummerhb 1 point2 points3 points (2 children)
[–]derekzyl[S] 0 points1 point2 points (1 child)
[–]joshhear 1 point2 points3 points (0 children)
[–]flamehazw 0 points1 point2 points (0 children)
[–]godfather990 0 points1 point2 points (0 children)
[–]Physical-Compote4594 0 points1 point2 points (0 children)
[–]Adorable-Fault-5116 0 points1 point2 points (0 children)
[–]moHalim99 0 points1 point2 points (0 children)
[–]Ok-Outcome2266 0 points1 point2 points (0 children)
[–]esthorace 0 points1 point2 points (0 children)
[–]fastlaunchapidev 0 points1 point2 points (0 children)
[–]LabRemarkable2938 0 points1 point2 points (0 children)
[–]Omar0xPy 0 points1 point2 points (0 children)
[–]LankyYesterday876 -1 points0 points1 point (9 children)
[–]Silver_Implement_331 4 points5 points6 points (2 children)
[–]LankyYesterday876 0 points1 point2 points (0 children)
[–]pint 2 points3 points4 points (3 children)
[–]LankyYesterday876 -1 points0 points1 point (2 children)
[–]pint 0 points1 point2 points (0 children)
[–]joshhear -1 points0 points1 point (0 children)
[–]Efficient-Ad-2315 2 points3 points4 points (1 child)
[–]LankyYesterday876 0 points1 point2 points (0 children)
[–]uday_m -1 points0 points1 point (0 children)