2. About me - @kingletas
● Luis E Tineo A.K.A LETAS(@kingletas)
o Magento Certified Developer Plus
o Telecommunications Engineer
o Certified Linux Systems Administrator
o CTO at Narf Studios (www.narfstudios.de)
o CEO & Founder of Code Grease
(www.codegrease.com)
3. About me - @kingletas
● Former Sr Systems Architect at Blue Acorn
o 4th Employee and Tag Team Champion with Ben
Marks (@benmarks)
● Lives in Charleston, SC
● Likes to write about geeky stuff
(www.kingletas.com)
4. I am the father of the Boss!
Loves Anime, Manga and Biking… I can’t run even if my
life is on the line. Do you know who Son Goku is?
5.
6. Things I don’t get
● Why aren’t more Agencies adopting
o An Agile Methodology like Kanban
o A better framework to work with like DevOps
● Why aren’t Merchants requiring more
o Unit testing
o Behavior testing
o Continuous integration and Deployment
o Code Reviews
7. Do numbers really matter?
“Aw, you can come up with statistics to prove
anything, Kent, Forty percent of all People
know that” - Homer Simpson
8. Some numbers
● Do you want to deploy every 11.6 seconds?
● Can you run 15k thousand unit tests before
the customer sees a line of code?
● Can you make 2.6k live code changes and
deployments without service interruption?
● Is your architecture ready to sustain a
growth of 10-20 orders per second?
9. Here are 3 things that matter a lot
● Technical Debt
● 80/20 rule: If you don't have time to do it right, when will you
have time to do it over?
● Innovation is not just a buzzword
o Leadership
o Collaboration
11. Why does it matter
● Varnish is great when it’s not a giant band-aid
● More hardware only handles what...
● Code Smells, anybody? Code Rots… I mean
it really does!
● Performance comes from efficient code
when cache is an add-on not a requirement
13. How can we get there
● We need a way to organize ourselves:
Kanban
● We need a framework to work with: DevOps
● We need one goal: Performance
Optimization
15. What’s Kanban
Kanban is a new technique for managing a software
development process in a highly efficient way. Kanban
underpins Toyota's "just-in-time" (JIT) production system.
Although producing software is a creative activity and
therefore different to mass-producing cars, the underlying
mechanism for managing the production line can still be
applied.
17. What is DevOPS?
● DevOps is a framework to work with
● It’s about tools as much as people
● It’s a change in the company’s mindset
18. What is DevOPS?
At its core, DevOps is simply about improving
collaboration between development and operations
teams. As an extension of Agile, it means including
system administrators in the agile development
process. In practice, DevOps has also come to be
associated with various tools such as infrastructure
automation, automated testing, CI/CD and monitoring
tools.
19. Why do we need DevOPS?
Because Developers and
operations really talk:
● Ops care about: Stability,
ROI, Reliability
● Developers care about
“change”, bleeding edge,
challenging the current
status quo
21. Why Does DevOps matter
It matters because:
● You can save costs
● You can improve quality and efficiency
● You can create faster & better deliveries
● You can innovate quicker
o Monitoring really is a pain
o Rapid feedback
26. 5 Myths About DevOps
● The problems isn’t the Organization
Structure
● One movement to rule them all
● DevOps is a technology Movement
● My Business is Immune
● DevOPS will change the world
28. Magento & DevOps
Business drives DevOps
o A good DevOps team looks for ways to minimize
cost
o Improve the quality
o Uptime… uptime and uptime -> QA anyone?
o Business continuity
o Data backups
o Disaster recovery & prevention
o Security
29. How & why can DevOps help you
● Define your deployment process early
o Capistrano
o Beanstalk
o Github
● Define your monitoring process
o TRIAGE
o Acceptable SLAs and Response time
o ROOT Cause analysis
30. Performance Optimization & DevOPS
● IT should be part of the Development flow, you
know let’s deploy daily vs once every 6 months
● Developers can understand what infrastructure
they are developing for.
● More is not always better (It takes 9 months
to have a baby, no matter how many people
you put on the job)
31. Performance Optimization & DevOPS in Magento
● Caching is not performance optimization
o But it helps a lot
o Checkout pages are not cacheable
● Magento is a resource hog, but it is more
CPU bound than Database
● Use resources appropriately
● Don’t be afraid to experiment and offload
every operation you can
32. Magento Offloading
● Queue operations
o Zend Queue & RabbitQM
o Local Storage
o MongoDB & REDIS
● Thrift & Vala are great tools
● Configure your resources properly
● RAM is awesome if you use it right
● NFS & CDNs
33. The Green Life with Magento
● It’s all about the money
o Uptime
o Fast response times
o Secure
o Quick turn around
● Test Driven Development is awesome
● Behaviour Driven Development is even
better
34. DevOps and Magento
Things to avoid:
● Don’t confuse DevOps with Technical
Support
● CRAP (Consensus, Risk Aversion, Analysis
Paralysis & Process Driven rather than
Results Driven)
● Seagull and Mushroom Management styles
35. How do we get to this:
It’s all about the people and tools
While I was still at Blue Acorn, I was part of 6
different iterations of the DevOps Team, the
idea was to get the right people with the right
mindset and aptitude. We GOT THIS!
37. Right tools - pick, right!
● Jenkins & Travis CI
● Version Control:
o Git
● Provisioning tools:
o Chef
o Puppet
● Monitoring tools:
o New Relic
38. Pick the right people
● Jack of All Trades, Master of None
(Hooray!)
o Jeff Knupp thinks DevOps is killing the developer
● Not everyone can be a “DevOps”, honestly
just because you are smart it doesn’t mean
you can handle it.
39. Right people, remember people first
● People who like living in the edge of things
● People who can handle the pressure
o Some clients can’t go down for more than 1 hour, I
mean it, they lose a lot of money per min
41. Benefits of DevOps
● Automation
o DevOps try to automate everything
o Faster iterative process
o Proactive responses to changes in scope and market
needs
● Innovation
o Faster & smarter solutions to challenging problems
● Happier customers
42. Benefits of DevOps for Magento
● Faster training
o Get people in and ready in mins vs hours
● Faster provisioning tools
o Chef
o Puppet
o Vagrant