Energy Patterns for Mobile Apps

← show all patterns

Reduce Size

Reduce Size

When transmitting data, reduce its size as much as possible.

Context

Data transmition is a common operation in mobile apps. However, such operations are energy greedy and the time of transmission should reduced as much as possible.

Solution

Exchange only what is strictly necessary, avoiding sending unnecessary data. Use data compression when possible.

Example

When performing HTTP requests use gzip content encoding to compress data.

References

Occurrences

Android

Issues
Pull Requests
No pull requests.
Commits