Amsterdam / django-gisserver

Django speaking WFS 2.0 to expose geo data
Mozilla Public License 2.0
38 stars 10 forks source link

Increase GML3.2 throughput by 13%, decrease bandwidth usage by 9% #11

Closed lbam closed 2 years ago

lbam commented 2 years ago

Buffers for yielding to Django are now 8KB and sizes are tracked by BytesIO/StringIO instead of a separate counter. That speeds up sending GML3.2 data by some 13%.

Trimming away whitespace decreases the size of payloads by some 9%, assuming no HTTP compression.

See commit messages for more details.