Ruby/Rails syntax
  • Index
  • chap 1
  • chap 2
  • chap 3
  • chap 4
  • Enterprise Rails - big picture
  • Nokogiri
  • ActiveRecord - 進階功能
  • pack & unpack
  • performance
  • rails engine
  • jsonb / json / hstore
  • Deploy
  • Polymorphism/Polymorphic Associations
  • relationship
  • rvm / ENV
  • Auth
  • DB related
  • TODO N+1
  • SQL view
  • module
  • api + create-react-app
  • ONE_LINE
  • Delete & destroy association
Powered by GitBook
On this page
  • Chap 1 - Big picture
  • 1. Growing

Was this helpful?

Enterprise Rails - big picture

Chap 1 - Big picture

Some criteria make a site feel like it's enterprise.

  • service level agreement(SLA) for end-to-end load times.

  • 99.99%(four nines) uptime.

  • Scales linearly.

  • fault tolerant.

DBA = database administrator Release engineer = manage release / create deployment plans / roll out IT = information technology engineer: store backup / logfiles

1. Growing

# 1. basic
DB ----- Rails app

# 2. basic + failover & redundency
DB ----- Rails app ----- Load balancer
 |
Warnm standby DB

# 3. A front-end web backed by services
DB --- service A --- Load balancer ---
 |                                   |
Warnm standby DB                     |--- Front-end --- Load balancer
                                     |
DB --- service B --- Load balancer ---
 |
Warnm standby DB
Previouschap 4NextNokogiri

Last updated 5 years ago

Was this helpful?