This is a page that contains the resources for GeoDashboard Refactoring.

Config file for Parser

This is evaluated in terms of python 

Possible config file formats

https://martin-thoma.com/configuration-files-in-python/

 

  • Python Configuration File (.py)
    • python library: no need, just import
    • problem; it's not genetic format; and easy for others to add actual python code in the config file
  • JSON
    • python library: built-in json 
    • problem: no comment preservation, the order of keys can be changed (if you rewrite it)
  • INI
    • python library: built-in ConfigParser, ConfigObj
    • problem: 
      • no complex structures with lists of unnamed elements containing mappings/dictionaries
      • no comment preservation, the order of keys can be changed (if you rewrite it) 
  • XML
    • python library: many python xml library
    • problem: 
      • cumbersome to edit the file itself. 

Possible choice: YAML

 

Caching API

Testing and looking in to caching technology for RESTful API

Useful articles

Varnish

Memcached

Redis 

 

 

 

 

  • No labels