Release 0.9

19 views
Skip to first unread message

Louise Crow

unread,
Apr 17, 2013, 7:41:18 AM4/17/13
to alavet...@googlegroups.com
Hi all,

Early next week, I'm going to prepare a new release of Alaveteli - this will be release 0.9. We plan for this to be the last release before we upgrade to Rails 3. Release 0.9 will include a change in the way we markup text phrases that include a variable. All of these phrases will now appear in the form "There are {{count}} people following this request", where some were previously in the form "There are %s people following this request". Hopefully this will make translating, and working with the code, a bit easier. However, it is going to mean changes to lots of phrases in the translation files. As usual, I will take a copy of the latest translations from Transifex, and merge them with these changes, and upload them again. I will also back up the state of the translations before this merge in case any issues emerge after the release, and am very happy to fix any issues arising, so do please get in touch if you notice any oddities.

Cheers

Louise

Rowan Crawford

unread,
Apr 20, 2013, 7:01:19 PM4/20/13
to alavet...@googlegroups.com
Hi,

I've just gone to 0.8.0.1, and while I didn't notice on my development machine, it's significantly slower on the production server.

Can people describe the specs they have to get the performance I can see in other sites?

cheers,
Rowan




Louise

--
You received this message because you are subscribed to the Google Groups "Alaveteli Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alaveteli-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Louise Crow

unread,
Apr 23, 2013, 4:06:13 AM4/23/13
to alavet...@googlegroups.com
Hi Rowan,

WhatDoTheyKnow is the most active instance of Alaveteli - we run it on a box with the following specs:

 quad-core athlon 640 at 3GHz, 8GB memory, and 2x1TB 7k2 disks in a RAID1

We have had quite a lot of refactoring commits in the last couple of releases, so once we get the Rails 3 upgrade released, it may well be time to turn again to performance as a development priority. What version were you running before 0.8.0.1? Are you noticing performance issues in particular places, or just a general slowdown?

Cheers

Louise

Mark Longair

unread,
Apr 23, 2013, 4:19:49 AM4/23/13
to alavet...@googlegroups.com
Louise Crow <louis...@gmail.com> wrote:
>
> On Sunday, April 21, 2013 12:01:19 AM UTC+1, Rowan Crawford wrote:
>>
>> Hi,
>>
>> I've just gone to 0.8.0.1, and while I didn't notice on my development
>> machine, it's significantly slower on the production server.
>>
>> Can people describe the specs they have to get the performance I can see
>> in other sites?
>>
>> cheers,
>> Rowan
>
> Hi Rowan,
>
> WhatDoTheyKnow is the most active instance of Alaveteli - we run it on a
> box with the following specs:
>
> quad-core athlon 640 at 3GHz, 8GB memory, and 2x1TB 7k2 disks in a RAID1
>
> We have had quite a lot of refactoring commits in the last couple of
> releases, so once we get the Rails 3 upgrade released, it may well be time
> to turn again to performance as a development priority. What version were
> you running before 0.8.0.1? Are you noticing performance issues in
> particular places, or just a general slowdown?
>
> Cheers
>
> Louise

Hi Rowan,

I'm not sure if you already use a caching HTTP proxy in front of
your instance, so it might be worth mentioning that for
WhatDoTheyKnow we use Varnish [1] in front of Alaveteli, which
helps a great deal with performance - this is a blog post from
when we first started using it:

http://www.alaveteli.org/2011/07/27/speeding-things-up-with-varnish/

Best regards,
Mark

[1] https://www.varnish-cache.org/

Rowan Crawford

unread,
Apr 23, 2013, 5:37:56 AM4/23/13
to alavet...@googlegroups.com
I was on 0.5-something I believe.

It's slow if you're logged in. Very slow on the index page, and individual public body pages. Very, very slow on the admin screen.

I have a 512MB server, which probably explains everything to be honest. I didn't realise there was that much of a gap.

cheers,
Rowan

Louise Crow

unread,
Apr 23, 2013, 12:31:29 PM4/23/13
to alavet...@googlegroups.com
OK, this release branch is now ready for anyone that wants to preview it [1][2]. It removes some deprecated localization calls, brings in the standard string interpolation in translations I mentioned previously, and also has a bugfix for a database deadlock bug [3]. I've pushed the new translation files back to Transifex, so let me know if you see any problems. I'll probably merge this release to master tomorrow barring anything unexpected.

Cheers

Louise

[1] https://github.com/mysociety/alaveteli/tree/release/0.9
[2] https://github.com/mysociety/alaveteli/blob/release/0.9/doc/CHANGES.md#version-09
[3] https://github.com/mysociety/alaveteli/issues/336

Louise Crow

unread,
Apr 24, 2013, 12:10:48 PM4/24/13
to alavet...@googlegroups.com
Now merged. Onwards to Rails 3! (more to follow on this)
Reply all
Reply to author
Forward
0 new messages