Google Glass Development: Performance Tips

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

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. For latest updates and blogs, follow us on Twitter. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking. Check out my other blog, Revive-n-Thrive.com

Share
Published by
Ajitesh Kumar

Recent Posts

Autoencoder vs Variational Autoencoder (VAE): Differences

Last updated: 08th May, 2024 In the world of generative AI models, autoencoders (AE) and…

5 hours ago

Linear Regression T-test: Formula, Example

Last updated: 7th May, 2024 Linear regression is a popular statistical method used to model…

1 day ago

Feature Engineering in Machine Learning: Python Examples

Last updated: 3rd May, 2024 Have you ever wondered why some machine learning models perform…

5 days ago

Feature Selection vs Feature Extraction: Machine Learning

Last updated: 2nd May, 2024 The success of machine learning models often depends on the…

6 days ago

Model Selection by Evaluating Bias & Variance: Example

When working on a machine learning project, one of the key challenges faced by data…

6 days ago

Bias-Variance Trade-off in Machine Learning: Examples

Last updated: 1st May, 2024 The bias-variance trade-off is a fundamental concept in machine learning…

7 days ago