elz: (AO3: learn ruby)
elz ([personal profile] elz) wrote2010-11-11 11:32 am

Code, code, code

Deploy day at AO3 today! We're upgrading from Ruby 1.8 to 1.9, from Rails 2 to Rails 3, and from Apache and Passenger to Nginx and Unicorn. We're also replacing our authorization and authentication systems, changing our html parsing and sanitizing, and updating/replacing a whole bunch of third-party plugins and gems, as well as updating nearly every file in the codebase to work with the new version of Rails. The site will be down for an extended period of time while all the underlying software is switched over.

So, that's not stressful at all, haha! On the plus side: unicorns!

Basically, the number of users and works and the amount of traffic keeps increasing, and we hope to do some hardware upgrades, but in the meantime, we're doing what we can to improve performance and maintainability. (Plug: if you happen to know a lot about MySQL or memcached and you'd like to help us improve our system, we will love you and throw roses at your feet!) An enormous amount of work has gone into this deploy, and I feel like I did barely any of it - yay, team! And the yuletiders who've been helping out with testing are beyond awesome.

My goal for the next couple of weeks: see how much I can get done in terms of filtering and browsing. The filters are both unwieldy and a big drain on performance, so we've been looking to replace them for ages, and the upgrade should facilitate that. And we've been brainstorming about browsing for eons as well - its time has come! *resolve face* I try to use the archive as much as I can, and those things drive me crazy as well. Maybe more so than other people, even, since I stop to yell at myself every time I get frustrated. :)
hl: Drawing of Ada Lovelace as a young child, reading a Calculus book (Default)

<3

[personal profile] hl 2010-11-11 05:13 pm (UTC)(link)
You and the rest of the coders are awesome.

Also, I'm now curious. Replace the filters with other filters or replace the filters with another method altogether?
awils1: Blinky bill, on a mission: `crazy cyborg koalas over at OTW and AD&T'. (OTW-3)

Re: <3

[personal profile] awils1 2010-11-12 04:12 am (UTC)(link)
How accessible is typing in tags, though? I think something visual is needed, even though I understand the performance issues.

(I use the filters a fair bit, and I'm definitely one of the 'see what's out there' crowd.)
awils1: Nothing special; just a pixelated rainbow. (Default)

Re: <3

[personal profile] awils1 2010-11-12 11:02 am (UTC)(link)
Also, I've seen a fair bit of "Delicious is good filtering done well", and I'd like to say, Delicious is unaccessible to me -- there are too many mouse-driven events. My arms get tired from fibro, and I'm quite the keyboard user.
lim: baby Spock peeks over the bottom of the icon (Default)

Re: <3

[personal profile] lim 2010-11-12 06:36 pm (UTC)(link)
Amy, if you have mousing issues I recommend you switch to Google Chrome and install Vimium. It's what [personal profile] panrubius uses.
awils1: Nothing special; just a pixelated rainbow. (Default)

Re: <3

[personal profile] awils1 2010-11-13 07:17 am (UTC)(link)
I'm an Emacs girl -- I use emacs editing of textboxes and have YakShave installed in Chrome. Thank you anyway!
lim: baby Spock peeks over the bottom of the icon (Default)

Re: <3

[personal profile] lim 2010-11-13 08:42 am (UTC)(link)
If you have a solution, why can't you use delicious? With Vimium, panrubius can use delicious and he cannot use a mouse at all. What is the problem?

(This is not a combative question, I am genuinely interested for accessibility design reasons.)
awils1: Nothing special; just a pixelated rainbow. (Default)

Re: <3

[personal profile] awils1 2010-11-17 10:48 am (UTC)(link)
Because it's not a perfect solution. It's been awhile, but I remember hating the post new bookmark interface, because it was hard to find, and too lengthy to use (the toolbar, as you can imagine, wasn't a great choice). Sometimes all I wanted was to plug in a link and click submit. I remember trying to delete a section of bookmarks (which was all of my bookmarks at the time, since I imported them and changed my mind) and having to go through them page by page, selecting all of them, and then deleting them. Which was wasteful, and as I didn't have the keyboard navigation I have now (Chrome for Linux didn't exist then), it was also painful. There was way too much text on the page, and this upset my Asperger's brain. I need visual aids in the way of graphics, and too much text leads to mental overload on my part.

(I could go back and point out more things that were unaccessible to me, but I don't know how much detail you want. All I can say is that I'm not a fan of delicious' attempts to browse -- the lists, like the AO3, become unwieldy, and the 'bundling' is awkward to use. I remember trying to set it up and getting frustrated at how much clicking was involved.)
lim: baby Spock peeks over the bottom of the icon (Default)

Re: <3

[personal profile] lim 2010-11-17 03:45 pm (UTC)(link)
/me nodsnodsnods

That's really useful, thank you! <3
hl: Drawing of Ada Lovelace as a young child, reading a Calculus book (Default)

Re: <3

[personal profile] hl 2010-11-20 06:48 pm (UTC)(link)
Argh, this is really late! I thought I had answered. Anyway, much thanks for the tech-made-easy explanation! It makes sense.

I was curious about the type in filters that made a showing during the yuletide sign-up, but not wanting to badger the archive, didn't tried them. Are they similar to what you envision?
jumpuphigh: Dreamsheep in front of bookshelf with text "Books make everything better" (Booksheep)

[personal profile] jumpuphigh 2010-11-11 05:53 pm (UTC)(link)
Are you making any changes to the download feature? I was about to file a support request and if there are changes happening there, I'll wait, play a bit, and see if the problem has been resolved prior to bothering you guys?
jumpuphigh: Pigeon with text "jumpuphigh" (Default)

[personal profile] jumpuphigh 2010-11-11 06:17 pm (UTC)(link)
The conversation is happening in the [community profile] ebooks community here.

It looks like an issue that won't be resolved by the changes you listed. I'm still trying to suss out when the bad behavior happens so that the coder has more data to work with.
jumpuphigh: Pigeon with text "jumpuphigh" (Default)

[personal profile] jumpuphigh 2010-11-11 06:43 pm (UTC)(link)
I will definitely submit it. :D

cCqOogHFbKoRypO

(Anonymous) 2014-04-30 05:32 pm (UTC)(link)
Great, thanks for sharing this post. Awesome.
samvara: Picture of a white unicorn in front of a lake under a rainbow (Rainbows & unicorns)

[personal profile] samvara 2010-11-11 11:20 pm (UTC)(link)
Unicorn!

It's such an amazing piece of work - SO MANY CHANGES!

XCGDPYkEQtVQ

(Anonymous) 2014-04-30 05:32 pm (UTC)(link)
I really like and appreciate your article.Thanks Again. Awesome.