Skip to content
Stephen von Takach edited this page Mar 7, 2014 · 4 revisions

Live Updates (in development)

API

This is the current design of the API

  • Command to set a password
    • sg -setpass password -password currentpass
    • so commands can be run securely via chef / puppet or SSH (password loaded into memory at sg boot)
    • password will also be used for administration and statistics service
  • Command option to migrate a running spider gazelle to a new version
    • sg -upgrade name -password currentpass

Behind the scenes

  • setpass
    • setpass uses scrypt to create a password file that can be distributed with the application
  • upgrade? Needs more thought
    • Stop binding accepting sockets, pass binding over a pipe, new process starts accepting
    • how to deal with service supervisors? They may spawn a new process when the original shuts-down
    • Needs to also work where there is no supervisor
Clone this wiki locally