154
dfox
1y

Hey everyone,

We’ll be doing maintenance on our web server on Sunday, April 29 at around 3pm EDT. The app will probably be unreachable for about 10-15 minutes over that time. We apologize for the inconvenience and we’ll be sure to get it back up as quickly as possible.

Feel free to let me know if you have questions.

Comments
  • 19
    Thanks for keeping us posted!
  • 50
    But I need the app the most in these 10-15 minutes!
  • 25
    10-15mins for maintenance. thats fast. our releases usually take a weekend
  • 6
    Dark theme for supporters?
  • 20
    @Gerrymandered dark theme for supporters? We already have that.
  • 6
    04:47AM... notification... Forgot to mute the phone yesterday... but for @dfox this and more 😂 good night people
  • 2
  • 3
  • 3
  • 2
  • 13
    4am for me, so np for me
    .
    .
    .
    .
    .
    wait, I have to wake up at 4am to go to the airport!!!!!!!!

    I need dR at that time..... (sobs)
  • 13
    Will the cat meme be available during the downtime?
  • 5
    @Floydian what cat meme?
  • 5
    @Condor never knew that this exists :D
  • 16
    @Paramite THIS IS THE LEGENDARY KITTEN IMAGE BOIS

    https://devrant.com/static/devrant/...
  • 12
    Haha, unfortunately there will be no cat meme because the web server is what’s being upgraded, rather than usual database maintenance which means the web server can still serve static content. In this case, the site/api will unfortunately be completely inaccessible.
  • 4
    @dfox damn! 💔

    We'll miss the kitty. 😥
  • 6
    @dfox if you are upgrading webserver that means devRant is getting more traffic?
  • 9
    @py2js partially - while the current web server can handle the traffic, it’s really began to run really slowly for avatar building/image processing because that’s pretty CPU/memory intensive. I’m hoping the upgrade will help since there will be more memory/cores available, but I’m not sure.

    I’m not exactly sure why image processing slowed down. It could be because of a few things - increased traffic/utilization on the server itself, but I also wonder if DigitalOcean lowered the quality of the CPUs in their new instance offerings. Hopefully though the upgrade will help.
  • 9
    @dfox
    maybe you can put the calculation in devices, distribute it among users
    I mean each device can calculate it's own avatar, so server will be free of these kind of calculations
  • 5
    I wonder if I can survive that long 🤔
  • 1
    @tinybyte that would be great, that means we could also add custom things on our desk because there is no check..
  • 1
    @Codex404
    actually there can be checksums to validate the pic
  • 2
    @tinybyte all random possibilities have to be precalculated first to get a checksum. Its easier to do this on the fly and store each already used combination on the server. That way only the unique combination will be slower rendered because the second time its used its restored from the disk.
  • 5
    That means we get a meme right?
  • 3
  • 5
    @dfox you can route devrant.com to my server and I'll host's static cat memes just for the devrant community :D
  • 1
    Good luck at slaying bugs
  • 0
    Hm... You can't "bake" the images to avoid recalculations of profile images?
  • 0
    @Paramite you're being awkward as fuck 😂😂
  • 2
    @1nfinite hey, sarcasm is the best language I speak :D
  • 0
    @NotFound I think caching them would be easiest, because its not bound to a person as suggested on github yet, so if the user changes his hair etc. it'll just change the url, so you wont even need to cache release anything @dfox
  • 5
    The avatar system already relies heavily on caching. The main problem is the actual avatar building, which results in combinations of avatars being created that haven’t been created before so there isn’t anything cached. The process of overlaying the images seems to be using a lot of CPU. There’s so many combinations it’s impossible to cache each one before they are entered.

    The operation isn’t so crazy that it should have to take as long as it was. Upgrading our web server from 4 cores to 6 cores seems to have significantly improved the speed of the avatar builder. I am going to try one more thing (compare 6 cpu server to a CPU-optimized 2 CPU server to see if maybe the avatar image process behaves better on those optimized CPUs.
  • 2
    @dfox 6 cores for that, wow :/
    By the way not sure if you already do it, but separating avatar code from the main service wouldn't that help?

    There are lots of requests to the server especially if someone keeps website open all day.

    You know better bro just thought I'd pitch in with an idea
  • 2
    @gitpush separating the services is what I’m trying to do now. I’m hoping the avatar/image generation stuff will run better on a CPU optimized instance so trying that now!
  • 1
    @dfox best of luck 😀
    You still going with Digital Ocean right?
  • 1
    @gitpush thanks - I’ll post a comment here when it’s switched over, hopefully a good speed improvement will be obvious.

    Yeah, still DigitalOcean.
  • 1
    @dfox great, I'm also wondering how bad was it, I did notice it isn't fast but it isn't too slow either, how much does a user change his avatar here 😅
  • 3
    The avatar builder should be much faster now!
  • 0
    @dfox now that makes me actually wonder if not generating the image and then just always serving it, would aggressively reduce the cpu cost? those would be of course cached and then just released if a user updates it

    also I think rant views load faster now, probably the avatars took the most of the long load before

    edit: nvm it couldnt have been, because then a lot of users would have had to change their avatars to unique combinations a lot for that to be the reason
Your Job Suck?
Get a Better Job
Add Comment