Google Glass Development: Performance Tips

0
Google glass performance

Google glass performance

With google glass development, performance has to take center stage and software engineers, no more can afford to put performance testing on back burner. Following are some of the techniques for achieving high performance of glasswares:

  1. Compression (to beat Network Latency): Compression technique has been one of the most important aspect in getting faster download of your web pages. The primary reason have been to take care of network latency aspects which would impact glasswares performance much more. You may want to check the details on this on following page. The same technique also applies to google glasswares by enabling gzip compression. One needs to do following two things to achieve gzip compression by setting following in HTTP headers:
    1. Accept-Encoding: gzip
    2. User-Agent: my program (gzip)
  2. Partial Data (to optimize CPU/Memory/Network Resources): Partial data (enough data) is achieved by sending & receiving the minimum data for request/response to be completed: This may be termed as partial response and partial update (patch). The objective is to reduce the activities of network, CPU, memory by avoiding transferring unnecessary data (network), transfer/process data (cpu), and store them (memory). Following are two different kinds of partial requests:
    1. Partial Response: Send information about the enough fields that is needed in HTTP response. This would let server send only enough data in form of partial response.
    2. Partial Update (Patch): Send only the enough data in Http update request, that needs to be updated.

 

Ajitesh Kumar

Ajitesh Kumar

Ajitesh has been recently working in the area of AI and machine learning. Currently, his research area includes Safe & Quality AI. In addition, he is also passionate about various different technologies including programming languages such as Java/JEE, Javascript and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data etc.

He has also authored the book, Building Web Apps with Spring 5 and Angular.
Ajitesh Kumar

Leave A Reply

Time limit is exhausted. Please reload the CAPTCHA.