You are browsing a read-only backup copy of Wikitech. The primary site can be found at Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
No edit summary
(RCStream is gone)
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:RCStream_example.png|thumb|374px|Example client at []]]
'''''' hosts services that allow one to subscribe to real-time events from Wikimedia wikis.
'''''' is a service to provide a live data stream of edits on Wikimedia wikis that anyone can tap and use to power editor tools and web apps, create beautiful visualisations, inform research, and extend MediaWiki.
It uses [[RCStream]] to subscribe to the [[mw:Manual:RCFeed|RCFeed]] of Wikimedia's production cluster, and publishes this on the endpoint <code></code>. As a web developer, one can tap the stream using JavaScript. As an app developer, one can use a suitable client library for your platform.
Consuming RCStream is a cleaner approach than parsing the change messages from [[]]. Wikimedia Foundation continues to operate both (configured via <code>$wgRCFeeds</code> in [[wmf-config]]).
The RCStream server also responds at with a simple text message; check this if you do not receive any events.
{{Alert|content=As of January 2015, RCStream implements version 0.9 of the Socket.IO protocol, not 1.0 ([[phab:T68232]]). See also [ 0.9] and [ 0.9] on GitHub for more information.}}
== Usage ==
* Several researchers are pulling the whole recent changes stream with all associated content (see wiki-research-l, December 2014)
* [[m:CVN|CVN]] (Not yet, as of February 2015)
== Clients and alternative access points ==
* [ Demo client (CodePen)], Example listener for using JavaScript
* [ Datasift]: Stream of edits to the English Wikipedia (includes page content)
* [[mw:Manual:Pywikibot|pywikibot]]
== Server setup ==
[[RCStream]] runs on a set of backend servers (currently, <code>rcs100x</code>; [ puppet node]; [ puppet role]). Backend nodes: rcs1001, rcs1002.
The backend servers run instances of [[RCStream]], with an nginx reverse proxy on each server.
An [[LVS]] load balancer (<code>stream-lb</code>) is situated in front of the backend servers.
The [[Beta cluster]] has a simplified setup on a single VM instance running the rcstream role, exposed as
== See also ==
* [[RCStream]]: The application running on this domain.
* [[]]: The service that will be superseded by
* [ puppet-rcstream module]: Wikimedia's puppet module for RCStream.
* [ puppet-rcstream role]: Wikimedia's puppet role for

* <code></code>: '''[[EventStreams]]''' - REST API using the [[w:Server-sent events|Server-Sent Events]] protocol (SSE). See

[[Category:Recent changes]]

Latest revision as of 17:47, 6 July 2018 hosts services that allow one to subscribe to real-time events from Wikimedia wikis.