Hello,
We are pleased to announce that service-runner v2.6.0 has been released.
The important update in this release is the ability to start workers
concurrently using the `startup_concurrency` config stanza~[1].
Its default value is 1, which keeps the start-up procedure the same as
pre-v.2.6.0. When the value is greater than 1, the start-up procedure is as
follows. The first worker is started alone. After the successful completion
of its start-up, service-runner starts the rest of the workers
(`num_workers - 1` of them) in batches of `startup_concurrency` workers
until all of them are up and running.
Doing so allows for a faster start-up process of your service and
consequently offers a more predictable behaviour of the service during
deploys/restarts. Note, however, that starting workers in batches incurs
the penalty of increased resource consumption during the start-up process.
Therefore, we recommend values between 2 and 4. In order to make use of
this feature simply update your dependency to ^2.6.0 and add the config
stanza to your production configuration file~[2].
On behalf of the Services team,
Marko Obrovac, PhD
Senior Services Engineer
Wikimedia Foundation
[1] https://github.com/wikimedia/service-runner#config-loading
[2] eg. https://gerrit.wikimedia.org/r/#/c/427466/
Hello,
We are rolling out page previews to enwiki next Tuesday~[1,2]. Since this
is a multi-hour effort, I have cancelled the usual services deployment
window, as we will be completing the final roll-out round at that time.
If there is something that you need to deploy Tuesday, please let me know
and we will find a suitable time for it. I apologise for the late notice
and inconvenience.
Cheers,
Marko Obrovac, PhD
Senior Services Engineer
Wikimedia Foundation
[1] https://phabricator.wikimedia.org/T191101
[2] https://wikitech.wikimedia.org/wiki/Deployments#Tuesday,_April_17
Heya,
I asked this on IRC but didn't get any replies so I'm following it up this
way.
I have a question about the newer metrics REST v1 API: is there a way to
specify how many top articles to pull from
https://wikimedia.org/api/rest_v1/#!/Pageviews_data/get_metrics_pageviews_t…
or is 1k hardcoded? Old metrics data was available that had the most viewed
pages but that disappeared with the change to the new API.
The reason I ask is because we (https://endlessos.com) are trying to
rebuild our stale encyclopedia apps for offline usage but are space-limited
and would only like to include the most likely pages that would be looked
at that can fit within a size envelope that varies with the device in
question (up to 100k article limit probably) but the new API doesn't
provide us with the tools to figure out the rankings cleanly (other than
rate-limiting on our side and checking every single article's metric
endpoint for counts).
So the main question is: do we have a way to get this data out with the
current API? If this data is not available, can the "metrics/pageviews/top"
API be augmented to maybe have a `skip` and/or `limit` params like other
similar services that have this type of filtering?
Thanks,
..........................................................................
Srdjan Grubor | +1.314.540.8328 | Endless <http://endlessm.com/>