Pagination for REST API collections

Bug #1156529 reported by Peter Holzer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
High
Barry Warsaw
Postorius
High
Unassigned

Bug Description

Hi
I'm running a list with roughly 2500 subscribers on mm3 which works like a charm.
Recently I had to manually delete some subscribers and ran into performance issues.
Showing the full list of members takes more than 5 minutes!
I had the naive idea that switching to postgres would change something, it didn't.
The database itself is kind of bored with the request, django instead generates all the cpu load.
I'm not a django-dev and not sure why this rather simple task takes such a long time.
Maybe the easiest was to fix this would be to add a batched listing and a simple search.
Peter

Related branches

Revision history for this message
Terri (terriko) wrote :

I just want to say that your bug report kind of made our day here at the PyCon Mailman sprint. We figure you easily have the largest Mailman 3 installation in the world right now.

Florian is working on a solution; we're hoping to have a paginated members page by the end of the week.

Changed in postorius:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Peter Holzer (agitator) wrote :

First of all thanx for the great work on mailman and postorious!
Cool to hear this issue is already to be worked on :) let me know if I can help you with testing.
Peter

sideinfo about the list:
we're using it to promote music and cultural events in the zurich area.
content is created via a plone site and send out collective.newsletter to the list

Barry Warsaw (barry)
summary: - Postorious Performance
+ Pagination for REST API collections
tags: added: mailman3 rest
Changed in mailman:
milestone: none → 3.0.0b4
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → High
status: New → In Progress
Barry Warsaw (barry)
Changed in mailman:
status: In Progress → Fix Committed
Changed in postorius:
status: Confirmed → Fix Committed
Changed in postorius:
milestone: none → 1.0.0a2
Barry Warsaw (barry)
Changed in mailman:
status: Fix Committed → Fix Released
Changed in postorius:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers