I implemented a Razuna site that holds the images for our Magento site using the Magento add-in.
Our page loads for our category pages, which shows the list of products, went from 1 second to over 6 seconds (note we are getting the url from Razuna to the files stored on our cloudfront cdn).
What could be taking so long that it adds 5 additional seconds of processing to retrieve the list of items?
What can I do to get this time so the category pages load in the 1-2 second time frame that they were before?
I have done some more testing, where I wrote my own service to call into Razuna search api using multiple threads to see if I can reduce the search time when processing 10-25 items like I would via the magento categories and found something interesting.
If I run 10 searches sequentially, I get a consistent response time of 7.5 seconds.
if I run all 10 concurrently (threaded), I get a consistent response time of 6.7 seconds for all to complete.
Is there a setting in Razuna somewhere where it is only allowing a single thread to search at a time and then queueing up the rest?
I then set this up to run 10 different part numbers first sequentially where 1 is called waits for completion, then the next and so on. After that is completed I take the same 10 part numbers and call the same API with 10 concurrent threads so all are running at the same time.
I then repeat this ten times for each test so we can get good metrics.
The results of test #1 (where each number is the total time in seconds, hundreds of seconds) :
Typically when I thread I see a time slightly larger than the longest duration individual item; but here it appears that something in Razuna is blocking the searchassets requests from running simultaneously.
As Razuna is an open source application the source code is freely available for anyone to see and improve upon. The source code is available over at https://github.com/razuna/razuna. You are free to fork the code, change it and issue a pull request.
Since I have never developed a cold fusion application before, do you have any hints as to what could be causing / where this issue could be located within the Razuna system:
1.) Configs for Tomcat?
2.) Configs for Cold Fusion?
3.) Programming within the search function itself?
4.) Other?
Just really strange that the concurrent searches are working that way.
Aren’t other people who are using the Magento add-in saying anything about the performance of it as it renders the category listing pages?
Did you tune your Linux machine for better networking?
Where is your Magento server located?
Mu suspicion is that Tomcat is not configured properly. Java tuning is an art in itself and takes time and efforts. We can only offer so much as pointing you to the available documentation on the web without a support plan subscription.