Google Cloud Introduces Request Priorities for Cloud Spanner APIs | C2C Community

Google Cloud Introduces Request Priorities for Cloud Spanner APIs

Categories: API Management Google Cloud Product Updates

Yesterday, Google Cloud introduced request priorities for Cloud Spanner APIs in this blogpost

Today we’re happy to announce that you can now specify request priorities for some Cloud Spanner APIs. By assigning a HIGH, MEDIUM, or LOW priority to a specific request, you can now convey the relative importance of workloads, to better align resource usage with performance objectives. Internally, Cloud Spanner uses priorities to differentiate which workloads to schedule first in situations where many tasks contend for limited resources.

Customers can take advantage of this feature if they are running mixed workloads on their Cloud Spanner instances. For example, if you want to run an analytical workload while processing DML statements, and you are okay with your analytical workload taking longer to run. In that case, you’d run your analytical queries at a LOW priority, signaling to Spanner that it can reorder more urgent work ahead if it needs to make tradeoffs.

Check out the blogpost for more details, including using and monitoring request priorities.

What do you think?

Are you likely to use request priorities? What question do you have?

Share your thoughts in the comments below. 

 

Be the first to reply!