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. 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.

Share
Published by
Ajitesh Kumar

Recent Posts

Agentic Reasoning Design Patterns in AI: Examples

In recent years, artificial intelligence (AI) has evolved to include more sophisticated and capable agents,…

1 month ago

LLMs for Adaptive Learning & Personalized Education

Adaptive learning helps in tailoring learning experiences to fit the unique needs of each student.…

2 months ago

Sparse Mixture of Experts (MoE) Models: Examples

With the increasing demand for more powerful machine learning (ML) systems that can handle diverse…

2 months ago

Anxiety Disorder Detection & Machine Learning Techniques

Anxiety is a common mental health condition that affects millions of people around the world.…

2 months ago

Confounder Features & Machine Learning Models: Examples

In machine learning, confounder features or variables can significantly affect the accuracy and validity of…

2 months ago

Credit Card Fraud Detection & Machine Learning

Last updated: 26 Sept, 2024 Credit card fraud detection is a major concern for credit…

2 months ago