At every 20-30 entries, I have one request that takes 90 seconds for the response (this occurred three times in the last 24 hours).
Just random hiccups or a bad omen? ^^
Comment has been collapsed.
it's not, it's same as always - regeneration depends on amount of GAs being made. Less GAs gets created - your points regenerate slower, more GAs, you get more points. It was just a few slow days - not many great deals or new good bundles, so people were giving away less games.
Comment has been collapsed.
Comment has been collapsed.
36 Comments - Last post 38 seconds ago by Street77
544 Comments - Last post 29 minutes ago by tlo
59 Comments - Last post 2 hours ago by adam1224
450 Comments - Last post 9 hours ago by klingki
7 Comments - Last post 13 hours ago by xXSAFOXx
16,297 Comments - Last post 15 hours ago by SebastianCrenshaw
206 Comments - Last post 18 hours ago by Joey2741
3 Comments - Last post 3 minutes ago by Axelflox
10,777 Comments - Last post 4 minutes ago by CultofPersonalitea
58 Comments - Last post 6 minutes ago by AiKirika
167 Comments - Last post 6 minutes ago by PatchmaN
52 Comments - Last post 7 minutes ago by Mhol1071
173 Comments - Last post 17 minutes ago by Fitz10024
52 Comments - Last post 21 minutes ago by Jarlaxe
The Issue
When you create a giveaway there's a delay for 5-10 seconds. Also, when entering giveaways, the site occasionally hangs on the please wait state, or takes a few seconds to go through.
Why Is This Happening?
After a giveaway is created, the site needs to distribute 5% of the value in points to all users. This takes a few seconds, since we have nearly a million users. Since it happens during the giveaway creation process, users wait this few seconds when creating their giveaway.
As for the enter giveaway button, it sometimes freezes due to deadlocks in the database, when it's trying to perform the needed queries to enter the giveaway. Also, if a user creates a giveaway, and you try to enter a giveaway at the same time, there's a delay. The site is trying to distribute points for all users, and you need points removed from your account for entering the giveaway. This creates a delay for a few seconds until points are distributed and your giveaway entry can go through. During peak hours, we might have 5-10 giveaways created every minute. There's a decent chance you click the button to enter a giveaway within a few seconds of someone creating a giveaway, and end up waiting.
Solution
Points are now distributed in 15 minute intervals. Every 15 minutes, the site will look at the recently created giveaways, and distribute 5% of their total value to everyone. This means creating giveaways is faster and you no longer have that delay. Also, you're almost 100x less likely to run into a few second delay when entering a giveaway. Lastly, the code was improved for transactions surrounding giveaway entries, so there should no longer be deadlocks and endless please wait messages. These changes rolled out a couple of hours ago, and since then you should have seen the button for entering giveaways performing better.
Comment has been collapsed.