Tim Abbott
a6d3bbfc63
zilencer: Add client-size rate limiting of analytics upload.
...
This should help both by avoiding high memory usage causing OOM kills
on the client, as well as timeouts causing an exception email to be
sent.
2019-02-02 11:51:22 -08:00
Tim Abbott
022c8beaf5
analytics: Add APIs for submitting analytics to another server.
...
This adds a new API for sending basic analytics data (number of users,
number of messages sent) from a Zulip server to the Zulip Cloud
central analytics database, which will make it possible for servers to
elect to have their usage numbers counted in published stats on the
size of the Zulip ecosystem.
2019-02-01 22:03:52 -08:00
Tim Abbott
1bcd7dfbad
remote_server: Return the result dictionary on success.
2019-01-31 17:39:41 -08:00
Tim Abbott
2d11e163dd
push_notifications: Move "push" part of URLs to callers.
...
This will make it possible for us to use this library for endpoints
not directly related to push notifications.
2019-01-31 15:22:00 -08:00
Tim Abbott
88fae0b6a9
remote_server: Extract remote_server.py library.
...
This moves the network request code for connecting to the push
notification bouncer service into its own module.
2019-01-31 15:08:46 -08:00