This week I tried optimizing a production endpoint.
First instinct? Rewrite the query.
Because performance issue = database issue… right?
Wrong.
The query wasn’t slow.
The architecture was fragile.
here’s what actually fixed it:
Read:
dev.to/codewithrani/from-que…
5/
Step 2: Java-side improvements
• removed unnecessary loops
• reduced in-memory processing
• got rid of the JSON conversion that was taking the most amount of time.
Spending my ass off in college on DSA has actually paid off.
I can literally switch any day, just need an interview call for it. I cleared the Atlassian interview with just two days of study after almost a year of 0 leetcode greens, while I see other people struggling with prep
eg - [2, 1, 5, 4, 3]
took me two hours to figure that even after swapping i.e., when array becomes [2, 3, 5, 1, 4] we need to reverse from i 1 till the end so it becomes [2, 3, 1, 4, 5]
This is a backend oriented project, I started this for implementing JWT, and some libraries of Node.js but I want to give this page a better UI. Any suggestions?
4 hours learning something new.
4 hours coding at your job.
4 hours working on actionable personal projects.
6-8 weeks , 5 days a week with consistency.