Google Data Protocol Features Make APIs Faster
Two experimental features were announced in the Google Data Protocol today. Partial response and partial update can reduce the network, memory, and CPU resources needed to work with Google APIs.
The partial response feature adds the ability to use the “fields” query parameter to request only relevant information. For example, if you are using the Calendar Data API, you can opt to select only the event title and time. This is a significant boon to performance, as the previous API forced applications to request all of the data. Couple “partial response” with the other new experimental feature (partial update), and you will be able to edit data received and use the HTTP PATCH verb to send modified data back to the server.
Starting today, partial response and partial update are supported in four Google APIs included the YouTube Data API, the Calendar Data API, the Picasa Web Albums data API and the read-only Sidewiki Data API. Google will be adding support for most of the APIs very soon.