zulip/zephyr/lib
Tim Abbott 9909c8dc19 send_message: Use a memcached for the UserProfile-by-id cache.
This cache should save 2 database queries whenever we send a private
message.  However, previously it was per-process (which meant it was
mostly useless) and also buggy (it never stored anything in the cache,
so that it was completely useless).  Switching this to our standard
memcached setup will address both problems.

(imported from commit 1d807f30704bccf28de33a80523488aedc58a9be)
2013-03-18 16:15:11 -04:00
..
bugdown Show Twitter previews on production. 2013-03-14 18:00:04 -04:00
__init__.py Add simple parallel computation library. 2012-09-14 13:32:25 -04:00
actions.py send_message: Use a memcached for the UserProfile-by-id cache. 2013-03-18 16:15:11 -04:00
avatar.py Factor out Gravatar hash calculation 2012-10-17 01:09:16 -04:00
bulk_create.py Move create_user to its own file. 2013-02-19 17:36:22 -05:00
cache.py send_message: Use a memcached for the UserProfile-by-id cache. 2013-03-18 16:15:11 -04:00
cache_helpers.py send_message: Use a memcached for the UserProfile-by-id cache. 2013-03-18 16:15:11 -04:00
context_managers.py Manage file locking using the 'with' statement 2012-11-16 13:43:44 -05:00
create_user.py Move create_user to its own file. 2013-02-19 17:36:22 -05:00
debug.py Add support for making Tornado dump its stack via SIGUSR1/2. 2013-03-06 14:19:32 -05:00
initial_password.py Generate initial API keys in the same manner as passwords 2012-10-17 18:23:01 -04:00
parallel.py Remove unused imports 2012-10-25 15:22:18 -04:00
query.py Add a Django query helper 2012-09-28 19:33:15 -04:00
queue.py Handle SIGINT and SIGTERM in process_user_activity by closing communication gracefully 2013-02-15 11:05:31 -05:00
response.py Move json response functions into their own file 2012-11-08 16:30:57 -05:00
timeout.py timeout: Try to kill the thread once the timeout expires 2013-01-30 11:13:48 -05:00
timestamp.py Rename zephyr.lib.time to zephyr.lib.timestamp. 2013-01-11 15:58:19 -05:00
utils.py [schema][manual] Add South migration for flags on UserMessage 2013-03-13 10:20:56 -04:00