Increasing speed of webservice - howto
- by Koran
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