Fix the tech. Slow api calls are usually a result of slow running queries. Profile your app and look for n+1 queries
Entrepreneur
Rules
- No Personal Attacks - criticism of ideas is allowed, attacking people is not.
- Self Posts Only - links can only provide supplementary material. Your post must contain enough content to have a discussion.
- No “How To Get Rich Quick” posts - This community is not about making a quick buck. Posts asking the community how to make $X, without making specific reference to a reasonable idea, are not tolerated.
- Avoid unprofessional communication - Please treat fellow entrepreneurs like respected coworkers, label conversations if NSFW and avoid deliberate provocations.
Please feel free to provide evidence-based best practices, share a micro-victory, discuss strategy and concepts with a frame work, ask for feedback, and create professional conversation. Treat every post as if you're at work and representing the best version of yourself.
Thx for that I made it twice as fast tonight by optimizing 🙌🏼 plugging away
twice as fast is still pretty slow, what does it do? why is it so slow?
You got that right… it’s calling to gpt-4 turbo for personalized recommendations text. So it recommends movies, books, etc. One call to get recommendations than another call per rec to get personalized synopsis text. I tried making it 2 big calls but it was surprisingly slower. Lmk if thoughts
Making calls to GTP-4 will be pretty slow
Absolutely, that's a valid concern. 🤔 While the API response time is a crucial factor, it's important to consider the holistic user experience. If the total load time, including frontend script loading and rendering, is longer than expected, it might impact user satisfaction.
However, it's not necessarily a deal-breaker for lead generation. What I would recommend is to leverage this as an opportunity for transparent communication. You can let your potential leads know that you're actively working to optimize and improve the overall speed.
Consider saying something like:
"Hey there! 🚀 We appreciate your patience as we work on fine-tuning our system. While our API response takes around 3 seconds per call, we're fully aware that there's more to the equation, including frontend elements. Rest assured, we're actively working on optimizations to enhance your experience. We'd love to hear your thoughts and insights during this process – your feedback is incredibly valuable to us! Let's chat and explore how we can make things even better together. 💬✨"
This not only acknowledges the current situation but also opens the door for a conversation where you can address concerns, gather feedback, and potentially convert leads by showcasing your commitment to improvement. 🌟 #ContinuousImprovement #CustomerFirst