Skip to content

POST /vscode/gallery/extensionquery consumes many resources and does not scale. #1305

@agafgfafa

Description

@agafgfafa

I am seeing frequent entries to POST /vscode/gallery/extensionquery. They can generate response times up to hundreds of seconds. Even during relatively calm periods, those requests can take 8-40 seconds to render and consume many resources on the postgres database server. This becomes an easy target for DoS attacks and since it's a POST method, cannot be cacheable.

Can this endpoint be profiled for performance and optimised?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions