from big gorm-centered into a cloud of fast redis nodes
TRANSCRIPT
![Page 1: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/1.jpg)
From bigGORM-centeredinto a cloud offast nodes
Jorge Uriarte Aretxaga@jorgeuriarte
http://www.slideshare.com/gailen/
![Page 2: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/2.jpg)
About me
![Page 4: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/4.jpg)
Origins
![Page 5: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/5.jpg)
In the beginning...
![Page 6: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/6.jpg)
In the beginning...
![Page 7: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/7.jpg)
Well-known territory
![Page 8: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/8.jpg)
Well-known territory
JVM based!
![Page 9: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/9.jpg)
Well-known territory
Old good SQL& RDBMs
JVM based!
![Page 10: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/10.jpg)
Well-known territory
Old good SQL& RDBMs
JVM based!
GORM magic!
![Page 11: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/11.jpg)
![Page 12: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/12.jpg)
Productive development environment
![Page 13: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/13.jpg)
Productive development environment
Affordable learning curve
![Page 14: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/14.jpg)
Productive development environment
Affordable learning curve
Good-enough performance
![Page 15: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/15.jpg)
Evolution
![Page 16: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/16.jpg)
![Page 17: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/17.jpg)
![Page 18: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/18.jpg)
![Page 19: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/19.jpg)
“Mmmhhh... I wouldn’t build it that way
nowadays...”Enrique Amodeo
![Page 20: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/20.jpg)
“Mmmhhh... I wouldn’t build it that way
nowadays...”Enrique Amodeo
![Page 21: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/21.jpg)
“Mmmhhh...nowadays...
neither would I!”Me
“Mmmhhh... I wouldn’t build it that way
nowadays...”Enrique Amodeo
![Page 22: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/22.jpg)
![Page 23: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/23.jpg)
![Page 24: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/24.jpg)
![Page 25: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/25.jpg)
New brands& countries
![Page 26: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/26.jpg)
Reality Check
![Page 27: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/27.jpg)
Reality bites
![Page 28: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/28.jpg)
Reality bites
![Page 29: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/29.jpg)
![Page 30: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/30.jpg)
![Page 31: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/31.jpg)
![Page 32: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/32.jpg)
![Page 33: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/33.jpg)
![Page 34: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/34.jpg)
-server -Xmx1024m -XX:MaxPermSize=128m -XX
:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:
+UseTLAB -XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing -XX:CMSIncrement
alDutyCycleMin=0 -XX:CMSIncrementalDutyCyc
le=10 -XX:MaxTenuringThreshold=0
-XX:SurvivorRatio=256 -XX:CMSInitiatingOcc
upancyFraction=60 -XX:+DisableExplicitGC
![Page 35: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/35.jpg)
-server -Xmx1024m -XX:MaxPermSize=128m -XX
:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:
+UseTLAB -XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing -XX:CMSIncrement
alDutyCycleMin=0 -XX:CMSIncrementalDutyCyc
le=10 -XX:MaxTenuringThreshold=0
-XX:SurvivorRatio=256 -XX:CMSInitiatingOcc
upancyFraction=60 -XX:+DisableExplicitGC -server
-Xms3g -Xmx4g
-XX:MaxPermSi
ze=128m -XX:+U
seParNewGC
-XX:+UseConcMa
rkSweepGC -XX:
+UseTLAB -XX:+
CMSIncremental
Mode
-XX:+CMSIncrem
entalPacing -X
X:CMSIncrement
alDutyCycleMin
=0
-XX:CMSIncreme
ntalDutyCycle=
10 -XX:MaxTenu
ringThreshold=
0
-XX:SurvivorRa
tio=256 -XX:CM
SInitiatingOcc
upancyFraction
=60
-XX:+DisableEx
plicitGC
![Page 36: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/36.jpg)
Productivity slows down...
![Page 37: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/37.jpg)
Fragility...
![Page 38: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/38.jpg)
Evolution stopped...
![Page 39: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/39.jpg)
![Page 40: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/40.jpg)
Slow development
![Page 41: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/41.jpg)
Slow development
Fragile system... prone to errors
![Page 42: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/42.jpg)
Slow development
Fragile system... prone to errors
Tuning hell with JVM heap
![Page 43: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/43.jpg)
Slow development
Fragile system... prone to errors
Tuning hell with JVM heap
Terracota cluster issues
![Page 44: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/44.jpg)
Slow development
Fragile system... prone to errors
Tuning hell with JVM heap
Terracota cluster issues
Overall excessive complexity
![Page 45: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/45.jpg)
Change?Surgery?Refactor?
keep tuning?
![Page 46: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/46.jpg)
Meanwhile... in another mental thread...
![Page 47: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/47.jpg)
![Page 48: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/48.jpg)
![Page 49: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/49.jpg)
A solution looking for a problem?
![Page 50: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/50.jpg)
But get back to the previous point...
![Page 51: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/51.jpg)
Will you dare jump off it?
But get back to the previous point...
![Page 52: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/52.jpg)
![Page 53: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/53.jpg)
![Page 54: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/54.jpg)
• New side-project• Potentially deadly traffic• Still to be tighly connected with our core system
![Page 55: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/55.jpg)
• New side-project• Potentially deadly traffic• Still to be tighly connected with our core system•Solutions?
•Dedicated system?•More machines & tuning?•Catch that train!
![Page 56: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/56.jpg)
![Page 57: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/57.jpg)
![Page 58: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/58.jpg)
![Page 59: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/59.jpg)
![Page 60: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/60.jpg)
![Page 61: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/61.jpg)
![Page 62: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/62.jpg)
Proof of concept and... JUMP!
![Page 63: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/63.jpg)
![Page 64: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/64.jpg)
![Page 65: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/65.jpg)
![Page 66: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/66.jpg)
Some details?
![Page 67: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/67.jpg)
Prototype- show me the code -
RedisFast Controllers
Ajax (fewer requests)
Fast importer from existing XMLs
Quick & dirty (1w)
Groovy!!!(XML parsing, JSON
rendering, grails controllers, ...)
Elasticsearch
![Page 68: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/68.jpg)
![Page 69: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/69.jpg)
• Simply groovy.util.XmlSlurper
![Page 70: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/70.jpg)
• Simply groovy.util.XmlSlurper• Two importers, really
![Page 71: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/71.jpg)
• Simply groovy.util.XmlSlurper• Two importers, really• Bulk
![Page 72: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/72.jpg)
• Simply groovy.util.XmlSlurper• Two importers, really• Bulk• Incremental (continuous)
![Page 73: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/73.jpg)
• Simply groovy.util.XmlSlurper• Two importers, really• Bulk• Incremental (continuous)
• Born as a temporary hack...
![Page 74: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/74.jpg)
• Simply groovy.util.XmlSlurper• Two importers, really• Bulk• Incremental (continuous)
• Born as a temporary hack...soon to give way to a better system
![Page 75: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/75.jpg)
![Page 76: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/76.jpg)
• Redis master/slaves replication
![Page 77: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/77.jpg)
• Redis master/slaves replication• Fast
![Page 78: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/78.jpg)
• Redis master/slaves replication• Fast• Trivial
![Page 79: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/79.jpg)
• Redis master/slaves replication• Fast• Trivial• Fast
![Page 80: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/80.jpg)
• Redis master/slaves replication• Fast• Trivial• Fast• Trivial
![Page 81: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/81.jpg)
• Redis master/slaves replication• Fast• Trivial• Fast• Trivial• Did I mention fast and trivial?
![Page 82: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/82.jpg)
Deadly simple Grails app
![Page 83: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/83.jpg)
Deadly simple Grails app
![Page 84: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/84.jpg)
Deadly simple Grails app
![Page 85: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/85.jpg)
Deadly simple Grails app
“Look mum, no GORM!”
![Page 86: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/86.jpg)
From ‘searchable’ to ElasticSearch
![Page 87: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/87.jpg)
• Fat-trimmed new fronts• Fast, *light* application• Information still safe in the core system
• Much more capacity with less resources• Simple integration
![Page 88: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/88.jpg)
Wait... where did the red arrows go?
New system
Old system
![Page 89: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/89.jpg)
Subdomain based write-through
![Page 90: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/90.jpg)
Subdomain based write-through
• Login, session, tracking...
![Page 91: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/91.jpg)
Subdomain based write-through
• Login, session, tracking...• Purchases, payments, subscriptions
![Page 92: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/92.jpg)
Subdomain based write-through
• Login, session, tracking...• Purchases, payments, subscriptions• Everything goes to our *good old core system*
![Page 93: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/93.jpg)
Subdomain based write-through
• Login, session, tracking...• Purchases, payments, subscriptions• Everything goes to our *good old core system*• ACID, consistency, GORM, SQL, transactions...
![Page 94: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/94.jpg)
Subdomain based write-through
• Login, session, tracking...• Purchases, payments, subscriptions• Everything goes to our *good old core system*• ACID, consistency, GORM, SQL, transactions...• ...but now with a small fraction of the load
![Page 95: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/95.jpg)
Evaluation
![Page 96: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/96.jpg)
Evaluation
Terracota/Clustering approach vs “new thing”
![Page 97: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/97.jpg)
Evaluation
Terracota/Clustering approach vs “new thing”
Memory, speed, size, codebase
![Page 98: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/98.jpg)
Evaluation
Terracota/Clustering approach vs “new thing”
Memory, speed, size, codebase
Decoupled search system
![Page 99: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/99.jpg)
Evaluation
Terracota/Clustering approach vs “new thing”
Memory, speed, size, codebase New problems,
synchronization
Decoupled search system
![Page 100: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/100.jpg)
Productivity increasing again...
![Page 101: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/101.jpg)
New landscape
![Page 102: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/102.jpg)
New landscapeGet rid of XML importer(event driven pub/subs...?)
![Page 103: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/103.jpg)
New landscapeGet rid of XML importer(event driven pub/subs...?)
Delete old code (yeah!)
![Page 104: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/104.jpg)
New landscapeGet rid of XML importer(event driven pub/subs...?)
Keep pushing for speed
Delete old code (yeah!)
![Page 105: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/105.jpg)
New landscapeGet rid of XML importer(event driven pub/subs...?)
Keep pushing for speed
Delete old code (yeah!)
Keep it simple (this time)
![Page 106: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/106.jpg)
Just ask me... in two years
![Page 107: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/107.jpg)
@jorgeuriarte
![Page 108: From Big GORM-centered into a cloud of fast redis nodes](https://reader033.vdocument.in/reader033/viewer/2022052602/559eaff31a28abd86a8b4571/html5/thumbnails/108.jpg)
External sources
PITAhttp://www.quicksales.com.au/ad/p-i-t-a-pain-in-the-ass-car-number-plate/2606513
Hamsterhttp://www.flickr.com/photos/sualk61/3117477410/
Cliff viewhttp://www.flickr.com/photos/epsos/4376727123/sizes/l/
Knight in the white horsehttp://www.flickr.com/photos/photoplod/7982134342/
Snailhttp://www.flickr.com/photos/raphaelquinet/693813637/
Fast snailhttp://www.flickr.com/photos/zorro13/4086173313
Timanfaya devilhttp://www.flickr.com/photos/yelacis/6941891989/
Light patternshttp://www.flickr.com/photos/aerosolhalos/6676192013/
Kick in the top of the cliffhttp://www.flickr.com/photos/4elevenpix/5056089861/
Homer evolutionhttp://www.flickr.com/photos/photonquantique/1858685882/
Lego machinehttp://www.flickr.com/photos/djimison/3058818283/
Landscapehttp://www.flickr.com/photos/blmiers2/6112610781/
Examhttp://www.flickr.com/photos/albertogp123/5843577306/
Future is pasthttp://www.flickr.com/photos/tind/7533681980/
"From big GORM-centered into a cloud of fast nodes" por Jorge Uriarte se encuentra bajo una
Licencia Creative Commons Atribución-CompartirIgual 3.0 Unported.