Click here to Skip to main content
15,903,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
are portal is travel portal
we get airline data from airline API
we integrate 6 API Into are website
but we calculate each API response time taking to longer
because all API data come in different method Like Soap / Web services /Jason
we use delegate method for all API but still not that good quality response
please help me to improve this .
Posted
Comments
InbarBarkai 12-Feb-15 0:20am    
Sorry, You can't.
This has nothing to do with the way you write your code.
The time it takes the response to return depends on your network, their network, your server and their server.
If your side is good, then probably their's isn't or very busy.
tejas.chudasama 12-Feb-15 0:30am    
my server configuration is 16gb ram 6 core processer and API provider Server also Higher than my server

1 solution

If you are sure that the time spent on networking there is nothing you can do with that...After all the networks speed is not in your hand...Of course you can get the best network for your server, but still the external sources can lack the requested speed...
What you CAN do is perfect your searching criteria to ensure minimum network usage...
For instance if your end-user ask for flies from A to B in the next 5 days, you always ask for one day at a time and present the data to the end-user in a paging solution...
Such tweaks can improve the response time of your site even network sucks...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900