NATION

PASSWORD

[RESOLVED]Trades page brings down the site

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Noahs Second Country
Issues Editor
 
Posts: 2043
Founded: Aug 31, 2016
Anarchy

[RESOLVED]Trades page brings down the site

Postby Noahs Second Country » Sat Jun 20, 2020 10:16 pm

I've reported this on the cards discord in the #bug-reports channel but I'll go ahead and post it here.

This was initially reported a few days ago, but it appears the problem persists.

The gist of the problem is that whenever mass copy transfers are being conducted(where multiple matches are made on a card in order to transfer to bank to the main), attempts to access the trades page of the main nation brings the whole gameside down for 30 seconds - a minute.

Any player currently has the capacity to cause this issue simply by clicking a link such as: https://www.nationstates.net/page=deck/ ... nd_country whenever transfers are being conducted. (DO NOT CLICK THAT LINK)

I did not observe any issues with the market page, going directly to the card in question, or any other page. This does not appear to be a coincidence or a problem with this card in general, as the same thing is happening right now with this card: https://www.nationstates.net/page=deck/ ... 9/season=1 and DGES's trades page.

The player has to have said multicopy transfer in their auctions for the link to break the site.

Sorry for any trouble I have caused :blink:
Last edited by Noahs Second Country on Sun Jun 21, 2020 12:12 pm, edited 2 times in total.
Westinor wrote:Who knew the face of Big Farma could be the greatest hero of the Cards Proleteriat?
Honeydewistania wrote:Such spunk and arrogance that he welcomes the brigade of hatred!
Orcuo wrote:The plan was foolproof! Unfortunately, I didn’t make it Noah-proof.
WeKnow wrote:I am not a fan of his in the slightest.
Benevolent 0 wrote:You can't seem to ever portray yourself straight.
Bormiar wrote: reckless and greedy, closer to a character issue than something to be rewarded.
Second Best™ - 7x Issues Author, 7x SC Author, Editor, Ex-Minister of Cards of the North Pacific

User avatar
Ballotonia
Senior Admin
 
Posts: 5494
Founded: Antiquity
Liberal Democratic Socialists

Postby Ballotonia » Sun Jun 21, 2020 3:38 am

Thank you for alerting me when you started a new mass-transfer, allowing me to do some 'live' analysis.
The root cause is now known, we have an ugly SQL query which isn't easy to optimize.

Admins are discussing what the best way forward is to resolve this issue.

Ballotonia
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
Ballotonia
Senior Admin
 
Posts: 5494
Founded: Antiquity
Liberal Democratic Socialists

Postby Ballotonia » Sun Jun 21, 2020 12:10 pm

Greetings,

This has now been fixed.

Well... it won't come up again until the number of cards being mass-transferred increases by a lot. If you throw enough data at a server it will always buckle at some point, but this time it was happening way way way too soon.

Thanks again for assistance from Noahs Second Country in providing a situation to test possible fixes.

Ballotonia
"Een volk dat voor tirannen zwicht zal meer dan lijf en goed verliezen, dan dooft het licht…" -- H.M. van Randwijk

User avatar
Refuge Isle
Technical Moderator
 
Posts: 1874
Founded: Dec 14, 2018
Left-wing Utopia

Postby Refuge Isle » Sun Jun 21, 2020 12:15 pm

Ballotonia wrote:Greetings,

This has now been fixed.

Well... it won't come up again until the number of cards being mass-transferred increases by a lot. If you throw enough data at a server it will always buckle at some point, but this time it was happening way way way too soon.

Thanks again for assistance from Noahs Second Country in providing a situation to test possible fixes.

Ballotonia

Thanks for your hard work Ballo <3


Return to Technical

Who is online

Users browsing this forum: Cricetomia, Khantin, Kractero, Osmauri, Promo, Random Country 453632, Ratburger, Treir, Very totally free

Advertisement

Remove ads