Stories
Slash Boxes
Comments

Dev.SN ♥ developers

posted by NCommander on Friday March 21 2014, @05:45PM   Printer-friendly
from the 40-minutes-by-the-clock dept.
We're back up and running, with a slightly longer than expected downtime. As part of this maintenance cycle, we've installed new varnish configuration files which *should* hopefully fix the long standing issues with logging in, as well as articles not showing up on the main page.

Furthermore, we've dumped the static page generation used by slash in favor of simply varnishing everything. Now anonymous users are on a 5 minute page cache (so new comments and such will take a bit of time to show up, consistent with the other site), which logged in users can bypass the cache and get live access to articles. A couple of things such as comment count are still dependent on slashd's freshen.pl task, so those don't update in real time (yet).

In other news, we've (finally) got a proper development server up at http://dev.dev.soylentnews.org/, running a copy of the production database where we can stage changes and other various things before deploying here. If you want to see what we're up to before we push it live, check it out. As usual, if we make any large scale changes, we'll announce it BEFORE pushing it here.
 
This discussion has been archived. No new comments can be posted.
Display Options Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by Open4D on Sunday March 23 2014, @12:33PM

    by Open4D (371) on Sunday March 23 2014, @12:33PM (#19949) Journal

    A couple of things such as comment count are still dependent on slashd's freshen.pl task, so those don't update in real time (yet).

    From a marketing perspective, this looks bad. I just looked at the front page and the last 5 or 6 stories were showing zero comments. (In fact they have plenty of comments - well, they have as many comments as I would want to read anyway). I don't remember noticing anything like this before.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by NCommander on Monday March 24 2014, @03:23AM

    by NCommander (2) <mcasadevall@dev.soylentnews.org> on Monday March 24 2014, @03:23AM (#20124) Homepage Journal

    slashd hung when we updated the backend authetication. Its done this before, but it tends to self-resolve if left alone long enough. I didn't notice, and it wasn't until several hours later when the comment counts were still at zero that anyone else did. Due to the authetication changeover, no one with access to the boxes could kick it. This was a combination of bad design in slash and bad timing.

    We're setting up a crontab to auto restart slashd as a stopgap, and we've got everyone in LDAP now with boot kicking permissions to restart slashd should it do this agian.

    --
    Still always moving ...