I forgot to add, import with history is also much slower than without.
If it's too slow, add something like
-Dqueue-rate=3 \
to your runant script, then run
./runant war
third_party/appengine-sdk/sdk/bin/appcfg.sh update_queues build/war
to update the setting. (./deploy will also update the setting, but
the above is cheaper.)
You can use higher queue rates as well, but going too high will cause
errors (and make things slower rather than faster). 1 is the default
and safest, and I haven't tried any other settings, but 3 or 5 or even
10 are probably OK as well.
On Sun, Apr 29, 2012 at 18:41, bobstacle <bobsta...@gmail.com> wrote:
> Thanks Christian for the quick response.
>
> I'll try it right now
>
> On Apr 30, 9:38 am, Christian Ohler <oh...@google.com> wrote:
>> On Sun, Apr 29, 2012 at 16:29, bobstacle <bobsta...@gmail.com> wrote:
>> > Playback history can optionally be imported with a server-side setting - How
>> > is this done?
>>
>> Add a line
>>
>> -Dimport-preserve-history='true' \
>>
>> to your runant script and remove the "#" from the line
>>
>> #third_party/appengine-sdk/sdk/bin/appcfg.sh backends update build/war
>>
>> from the deploy script. Then, run ./deploy, and import as usual.
>>
>> Verify the setting by pointing your browser at /admin/flags -- it
>> should say "import_preserve_history true" among the list of parsed
>> flags.
>>
>> Note that importing with history will cost you a lot more money. You
>> can make it somewhat cheaper by editing webinf/backends.xml and
>> changing the instance class B8 to B4, B2, or B1 (cheapest), before you
>> run ./deploy. B1 worked for me.
I forgot to add, import with history is also much slower than without.
If it's too slow, add something like
-Dqueue-rate=3 \
to your runant script, then run
./runant war
third_party/appengine-sdk/sdk/bin/appcfg.sh update_queues build/war
to update the setting. (./deploy will also update the setting, but
the above is cheaper.)
You can use higher queue rates as well, but going too high will cause
errors (and make things slower rather than faster). 1 is the default
and safest, and I haven't tried any other settings, but 3 or 5 or even
10 are probably OK as well.
On Sun, Apr 29, 2012 at 18:41, bobstacle <bobsta...@gmail.com> wrote:
> Thanks Christian for the quick response.
>
> I'll try it right now
>
> On Apr 30, 9:38 am, Christian Ohler <oh...@google.com> wrote:
>> On Sun, Apr 29, 2012 at 16:29, bobstacle <bobsta...@gmail.com> wrote:
>> > Playback history can optionally be imported with a server-side setting - How
>> > is this done?
>>
>> Add a line
>>
>> -Dimport-preserve-history='true' \
>>
>> to your runant script and remove the "#" from the line
>>
>> #third_party/appengine-sdk/sdk/bin/appcfg.sh backends update build/war
>>
>> from the deploy script. Then, run ./deploy, and import as usual.
>>
>> Verify the setting by pointing your browser at /admin/flags -- it
>> should say "import_preserve_history true" among the list of parsed
>> flags.
>>
>> Note that importing with history will cost you a lot more money. You
>> can make it somewhat cheaper by editing webinf/backends.xml and
>> changing the instance class B8 to B4, B2, or B1 (cheapest), before you
>> run ./deploy. B1 worked for me.