Comment 4 for bug 1978225

Revision history for this message
Stéphane Graber (stgraber) wrote : Re: Insane amount of DB queries when hitting /MAAS/api/2.0/machines/

Hmm, I'm really confused by your standards for a critical bug then.

This is the most common endpoint (or at least you'd think it is) on your core REST API which is taking long enough to timeout in most software (10s timeout is common) rendering it entirely unusable.

The kind of load it creates against the database also means that this bug makes for very trivial DoS attack against MAAS. Throw a dozen GET /MAAS/api/2.0/machines/ in parallel on a moderately busy MAAS and MAAs will be completely dead.