-
Notifications
You must be signed in to change notification settings - Fork 96
/
TODO
24 lines (14 loc) · 692 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Use multiprocessing for other threads (like change-watching)
We can use PATCH requests to send updates of everything but file content.
Consider batch API.
We can send ETag caching headers by sending a cache directory path:
http = httplib2.Http(cache=".cache")
Immediate File Fixes
====================
Cache to directories named and permissioned only for the accessing user.
Read Strategy
=============
* Re-use an existing, cached file if it matches size/mtime.
* Map read requests into another process that manages a process pool.
> Use greenlets for queries to it.
--> We can only use it if we update get_authed_http to use https://github.com/gwik/geventhttpclient .