Increasing speed of webservice - howto
Posted
by Koran
on Stack Overflow
See other posts from Stack Overflow
or by Koran
Published on 2010-03-20T17:20:45Z
Indexed on
2010/03/20
17:31 UTC
Read the original article
Hit count: 303
Hi,
Our client-server product has the protocol between them as XML over HTTP. Here, the client asks a GET/POST query to the web server and the server responds with XML. The server is written using django. The server has to be on the web because there are many clients across the world using this.
The server code uses extensive memoization and also there is very less db queries - most queries dont have any db queries, some of them has max 1.
The biggest problem is the speed. Every query takes close to 5 seconds for the reply. The data replied is also very less - in the range of 4-6 Kb.
What are the mechanisms to improve speed of the web service? Is this the usual way of writing a client-server? Are there other technologies and are we missing out on it?
Thank you K
© Stack Overflow or respective owner