Servers, buckets and queues

Revisi per 13 Agustus 2014 14.07 oleh Angus (bicara | kontrib) (Buckets)

Servers

Master database server
  • db.isikhnas.com
  • Single instance (not elastic)
Slave database server
  • Hot standby server, with automatic promotion to master in case of failure
  • .isikhnas.com
  • Single instance (not elastic)
Database read-replicas
  • .isikhnas.com
  • Elastic
  • Used for analysis and generating output reports
Master web server
  • testwww.isikhnas.com
  • Elastic - needs re-imaging when modified
Messaging server
  • mx5.isikhnas.com
  • Single instance (not elastic)
  • Manages incoming and outgoing email, sms, Instant messaging
Report processing server
  • .isikhnas.com
  • Elastic - needs re-imaging when modified
  • Processes database reports, against read-replicas
Template server
  • .isikhnas.com
  • Single instance (not elastic)

S3 Buckets

com.isikhnas.queuefiles
  • Purpose: temporary storage of files (for example Excel incoming or populated template outgoing files)

Queues

emailinput
  • Purpose: Send a message from message server to report server to notify of
  • Push: message server, email_parser.py
  • Pop: report server, emailinput_processor.py
  • Message content
    • to: incoming email 'to' address (an @isikhnas.com address)
    • from: sender's email address
    • filename: the GUID filename on the S3 server (just name and extension)
    • origfilename: the name of the file as sent in the email
    • userid: iSIKHNAS internal ID of the sending user