shortcuts:
TOC
NanoTwitter
search:
Models
MVC
Term comes from “MVC” - model, view, controller
Model is a concept describing a subsystem or part of your overall application
Often it is a collection of Classes (ruby or otherwise)
What does the Model do?
It encapsulates the application state
It responds to queries about the state and requests to update the state
It validates those requests to keep the state consistent
It contains (almost) no “business logic”
It doesn’t interact directly with the user or the outside world
Where does the model keep the state
Most often in a database
but not always
Intro
Cosi105 - Scalability 2022 Syllabus
List of lectures
nanoTwitter
Homeworks
Lectures
Web Apps + Sinatra
Welcome
What is Scalability?
Cosi166 Quick Bullets
Intro to Sinatra
Sinatra and Twitter
NanoTwitter introduced
nano Twitter
Starting to think about scaling
Scaling at Hubspot
Service Oriented Architecture
Deploying to the Cloud
Scalable Service design
Scalability, continued
Testing in the world of SOA
Scaling Patterns
Testing Scalability
Tuning for Scale
Logging
Caching
Database Tuning 1
Database Tuning 2
Concurrency 1
Concurrency 2
Queueing
SOA + µservices
Software Engineering
Scalability Runoff 1
Last class!
Background
Technical Presentations
Misc Links and Resources