zulip/zephyr/management/commands
Tim Abbott 76837ebe2c fill_memcached_caches: Also fill the caches of User/UserProfile objects.
Since we flush memcached when we do a server restart, the flurry of
get_updates requests that fly in afterwards are all cache misses for
getting the User/UserProfile objects, so Tornado ends up spending
around 70ms per get_updates request rather than the usual 1-2ms.

So this should substantially improve our Tornado performance around
server restarts.

(imported from commit 07b8126bdfd4ff14e4c3362f9eda1fe5fd571c5b)
2013-03-14 15:07:42 -04:00
..
__init__.py Add a management command to populate the database. 2012-08-28 12:45:10 -04:00
activate_mit.py Implement MIT signups. 2012-10-29 16:59:37 -04:00
add_users_to_streams.py management: fix add_users_to_streams given do_add_subscriptions output change. 2013-02-12 11:49:22 -05:00
analyze_mit.py Add tool to analyze fraction of Zephyrs sent using Humbug. 2013-02-01 13:37:40 -05:00
banish_broken.py banish_broken: Fix handling of jesstess|MIT.EDU@mit.edu. 2012-12-04 10:59:26 -05:00
change_user_email.py Add a management command to change and log user emails. 2013-02-10 16:45:25 -05:00
clear_db.py Cut out duplicated code between clear_database and populate_db. 2012-10-29 14:54:18 -04:00
colorize_streams.py Fix bug in colorize_streams that tried to include non-streams for colorizing. 2013-03-04 16:30:23 -05:00
create_realm.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
create_user.py create_user: Remove unused import. 2013-03-08 17:24:33 -05:00
deactivate_user.py Add a management command to deactivate a user. 2013-03-06 11:57:04 -05:00
delete_tutorial_streams.py Add a management command to clean up lingering tutorial streams. 2013-03-08 17:01:11 -05:00
dump_passwords.py dump_pointers and dump_passwords: Add error handling for deleted users. 2012-12-14 17:15:32 -05:00
dump_pointers.py Rename zephyr.lib.time to zephyr.lib.timestamp. 2013-01-11 15:58:19 -05:00
dump_useractivity.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
expunge_db.py Implement a command to expunge old UserMessages and Messages from the database 2012-11-30 17:24:37 -05:00
expunge_logs.py expunge_logs: Abort on keyboard interrupt 2013-02-07 11:34:49 -05:00
fill_memcached_caches.py fill_memcached_caches: Also fill the caches of User/UserProfile objects. 2013-03-14 15:07:42 -04:00
generate_invite_links.py Introduce script to bulk-create activation URIs. 2013-02-28 14:34:18 -05:00
populate_db.py Mark messages as read when creating them in populate_db 2013-03-13 14:14:46 -04:00
print_initial_password.py print_initial_password: Print API keys too 2012-10-17 18:23:01 -04:00
process_user_activity.py Add backend support for handling new 'read' message flag 2013-03-13 14:14:45 -04:00
realm_stats.py Add a realm_stats management command. 2013-02-02 08:24:21 -05:00
remove_users_from_stream.py management: add a remove_users_from_stream command. 2013-02-12 11:49:22 -05:00
runtornado.py Add support for making Tornado dump its stack via SIGUSR1/2. 2013-03-06 14:19:32 -05:00
set_default_streams.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
set_unread_to_pointer.py Add a manage.py command to add read flags up to the current pointer 2013-03-13 14:14:45 -04:00
test_deactivate.py Add command to mark users as inactive. 2012-12-13 14:15:31 -05:00
test_messages.txt populated_db: Rename many functions/variables from zephyr => message. 2012-10-03 18:14:15 -04:00
update_mit_fullnames.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
user_stats.py Add a user_stats management command. 2013-02-02 08:24:06 -05:00