Multiverse Feedback: Cardlist | Visual spoiler | Export | Booster | Comments | Search | Recent activity
Mechanics | Upcoming releases | Skeleton

CardName: Undocumented limit of cardlist display Cost: r Type: Pow/Tgh: / Rules Text: Is there a limit that the cardlist can't go over? I've noticed my personal dump set is hitting a LOT of errors when I try to use cardlist display. Almost always I need to reload multiple times before getting the page to load up without a server-side error message. Flavour Text: Set/Rarity: Multiverse Feedback None

Undocumented limit of cardlist display
{r}
 
 
Is there a limit that the cardlist can't go over? I've noticed my personal dump set is hitting a LOT of errors when I try to use cardlist display. Almost always I need to reload multiple times before getting the page to load up without a server-side error message.
Updated on 15 Apr 2015 by Circeus

History:

2015-04-15 22:11:54: Circeus created the card Undocumented limit of cardlist display
2015-04-15 22:12:21: Circeus edited Undocumented limit of cardlist display

It's going to be based on the number of cards in the set. There's probably a particular threshold (a few hundred cards), over which the act of creating the cardlist takes more than the 30 seconds that Heroku allows before they force a timeout error.

Fortunately I do still get to continue rendering, in the server process, I just don't get to send the result to you; but I do get to store it in my cache, so that when you refresh a couple of minutes later I can serve it to you quickly.

But yes, taking the cardlist of big sets (say >300 cards) isn't going to work well. In general searching the cardset will be a lot faster if there's something particular you're looking for, though I appreciate that's not as user-friendly. The visual spoiler I think does work reasonably well even for huge sets, too, because it splits them into manageable chunks.

What I should probably do is make the cardlist page load quickly, and then send a series of Ajax requests for 100 cards at a time. Well... what I should actually do is fix the performance so that the cardlist doesn't take tens of seconds to render, because being that slow is pretty inexcusable. But I haven't thought of a way to do that yet.

Add your comments:


(formatting help)
Enter mana symbols like this: {2}{U}{U/R}{PR}, {T} becomes {2}{u}{u/r}{pr}, {t}
You can use Markdown such as _italic_, **bold**, ## headings ##
Link to [[[Official Magic card]]] or (((Card in Multiverse)))
Include [[image of official card]] or ((image or mockup of card in Multiverse))
Make hyperlinks like this: [text to show](destination url)
What is this card's power? Runeclaw Bear
(Signed-in users don't get captchas and can edit their comments)