zulip/zephyr
Tim Abbott 99d4bc114b Move Zephyr mirroring liveness check to the UserPresence queries.
It's closer to a presence query than an update, and more importantly
this moves this out of Tornado -- previously Tornado was spending at
least 3ms per recipient on messages sent to the MIT realm fetching all
this data to return back to users.  This should save around 100ms per
message sent to a popular stream the MIT realm -- but more
importantly, each such event is 100ms during which Tornado is not
processing other messages.

(imported from commit 134169f0fdcd9f6640fda957edc4a28b07783d8e)
2013-03-13 17:41:29 -04:00
..
fixtures Rename zephyrs.json => messages.json in .gitignore. 2012-10-10 10:39:27 -04:00
jstemplates Fix typo in user-visible string 2013-03-13 13:50:45 -04:00
lib Add backend support for handling new 'read' message flag 2013-03-13 14:14:45 -04:00
management Mark messages as read when creating them in populate_db 2013-03-13 14:14:46 -04:00
migrations Fix 0012 migration to work with sqlite 2013-03-13 11:52:06 -04:00
static Move Zephyr mirroring liveness check to the UserPresence queries. 2013-03-13 17:41:29 -04:00
tests Properly disable the tutorial in the test suite. 2013-03-12 11:05:46 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Get rid of the static-access-control mechanism 2013-01-31 15:34:12 -05:00
decorator.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
filters.py Filter out all cookies and the csrfmiddlewaretoken. 2013-02-05 16:12:48 -05:00
forms.py Rename is_active to is_inactive. 2013-02-12 16:15:29 -05:00
handlers.py Catch all exceptions when sending a message from AdminHumbugHandler 2013-02-05 16:12:48 -05:00
middleware.py logging: Fix super verbose logging of 404 errors. 2013-02-12 16:36:13 -05:00
models.py Add backend support for handling new 'read' message flag 2013-03-13 14:14:45 -04:00
openid.py [manual] Implement backend support for authenticating a user via Google. 2013-02-27 10:16:54 -05:00
retention_policy.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
tests.py Add backend support for handling new 'read' message flag 2013-03-13 14:14:45 -04:00
tornadoviews.py Move Zephyr mirroring liveness check to the UserPresence queries. 2013-03-13 17:41:29 -04:00
views.py Move Zephyr mirroring liveness check to the UserPresence queries. 2013-03-13 17:41:29 -04:00