Experiencing intermittent site errors? It's BA, not you.

Blog Discussion in 'BeerAdvocate Talk' started by Todd, Sep 10, 2023.

Thread Status:
Not open for further replies.
  1. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    Since the cron job times were adjusted, I was able to monitor performance real-time this morning (EEST). I did notice some 504 (server gateway timeout) errors from Cloudflare when the first cron ran at 4 AM UTC, but it didn't last too long and all other crons ran without any noticeable impact.

    I tracked the issue to a horribly inefficient database query (not coded be me!) and applied some tweaks, which should eliminate the issue, but I'll continue to monitor this week.
     
  2. GratefulBeerGuy

    GratefulBeerGuy Pooh-Bah (2,918) May 20, 2006 New Hampshire
    Pooh-Bah Trader

    I mostly rate and review here. Always have. Used to Trade heavily 2006-2009. Can't say I noticed any issues recently with reviews at least.
     
  3. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    Looks like my updates helped. No issues logged or reported within the last two days. Let's hope the trend continues...
     
  4. PapaGoose03

    PapaGoose03 Grand High Pooh-Bah (6,057) May 30, 2005 Michigan
    BA4LYFE Society Pooh-Bah

    Could the recent issues with the site have caused a loss of reviews in the database outside of the posting period? I noticed last night that a dozen or so of my Place reviews are missing from 4-5 years ago. I think I have them saved from that time period and will check things out later today for more details.
     
    Bitterbill, ChicagoJ and Blogjackets like this.
  5. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    No. Recent database issues (too many connections) didn't cause random data from years ago to be lost.
     
  6. Todd

    Todd Founder (13,518) Aug 23, 1996 Finland
    STAFF Mod Team Society Pooh-Bah

    Update: Looks like all of the tweaking worked. It's been a week with zero database and related issues, but I'll continue to monitor and continue to optimize where I can.
     
    Rug, jmdrpi, GratefulBeerGuy and 4 others like this.
Thread Status:
Not open for further replies.