glare/glare
Mike Fedosin 2a2c7f432e Optimize zip unpacking
Now each file in zip archive requires 2 or 3 calls to db:
1. initialize blob instanse, 2.(optional) upload data if
database store is used, 3. activate blob instance
So, for 100 files there are 300 requests, and complexity
is O(n).

With this commit we perform requests for all files in batch
mode: 1. initialize all blob instances, 2.(optional) upload
all data if database store is used, 3.activate all blob
instances.
So, for any number of files in archive there will be only 2 or
3 requests to db. Complexity is O(1).

Change-Id: I87ea9d1f87dc6519956808a1d1e764f16e6dc611
2017-09-20 15:48:54 +00:00
..
api Merge "Enable Glare API 1.1" 2017-09-07 19:39:37 +00:00
cmd Enable eventlet monkey patching for mysql 2017-08-08 15:02:40 +03:00
common Optimize zip unpacking 2017-09-20 15:48:54 +00:00
db Optimize zip unpacking 2017-09-20 15:48:54 +00:00
hacking Update log translation hacking rule 2017-07-04 03:51:57 -04:00
objects Optimize zip unpacking 2017-09-20 15:48:54 +00:00
store Optimize zip unpacking 2017-09-20 15:48:54 +00:00
tests Optimize zip unpacking 2017-09-20 15:48:54 +00:00
__init__.py Glare Code 2016-08-05 18:59:44 +03:00
engine.py Run upload hooks in separate threads 2017-09-07 20:54:16 +03:00
i18n.py Remove log translations 2017-07-03 17:50:01 +05:30
locking.py Update logging messages 2017-09-05 23:23:22 +03:00
notification.py Implement dynamic quotas 2017-08-14 13:20:54 +03:00
opts.py Allow to specify default store in artifact type config section 2017-07-30 21:18:24 +03:00
quota.py Update quotas API 2017-08-27 14:18:06 +03:00
scrubber.py Enable H904 check 2017-07-05 03:39:22 -04:00
version.py Fix docs and remove bandit check for translation 2016-08-23 09:25:01 +00:00
wsgi.py Change default values for glance_store 2017-08-13 16:29:24 +03:00