I have been evaluating swapping out MySQL with MariaDB. As advertised, so far it has been a pretty plug and play replacement. With one exception…
For some reason, our MySQL configuration file had the system variable old_passwords set to 1. No issues showed up when using the command line client.
However, when I tried to attach Tomcat to the database it failed. A quick web search showed that this is a well know issue and all that had to be done was upgrade the passwords.
Marc Slocum interviews Bret Piatt
Bret Piatt, Technical Alliances, Rackspace Hosting
2010 O’REILLY Velocity – Web Performance and Operations Conference
June 22 – 24, 2010
5 min, 17 sec http://www.youtube.com/watch?v=_d1YJs74rRM
My Notes:
Cassandra differs
No relational schema
Create columns and column families
Good for
Large scale sites with lots of similar data
If don’t have enough data for 8 node cluster (25 GB per cluster), not looking to grow to TB, probably better sticking with traditional database infrastructure
Cloud Computing
Why are open standards important? Enterprises are hesitant to repeat work – especially in a new environment.
I was recently install some certificates into my local store and wanted to verify that they were working correctly. I put together a simple Java program that verifies the target sites can be loaded.
/**
* SSL Test -- tests that JVM is configured correctly to load an SSL certificate
*/
package com.meesqa.sample;
Nicholas Zakas interviewed at Velocity 2010
Nicholas Zakas, Principal Front End Engineer, Yahoo!
2010 O’REILLY Velocity – Web Performance and Operations Conference
June 22 – 24, 2010
6 min, 26 sec http://www.youtube.com/watch?v=2ERgBl6LKb8
My Notes:
Yahoo home page reorg in 2009
Moved from static to interactive / customizable
Time to interactivity metric
Time between hitting enter on URL and can complete an interaction on a page
Sometimes even before the page has finished loading
Aim to minimize this time
Metrics we should avoid
Most are useful
Should not focus in on any one item
Focus will depend on the usage pattern of the page
Yahoo home page as an application framework
People think of it as a single page
Same framework is running home page around the world
Difference between building an application and an application framework
Robert Johnson interviewed at Velocity 2010
Robert Johnson, Director of Engineering, Facebook
2010 O’REILLY Velocity – Web Performance and Operations Conference
June 22 – 24, 2010
7 min, 4 sec http://www.youtube.com/watch?v=wXTCPnuDGbg
My Notes:
User expectations of mobile in terms of optimization
Very little data to answer scientifically
Long term need desktop and mobile site performance to come together
Need to collect the data before setting benchmarks
Acceleration and Business Benefits Research
Huge payback for performance improvement
Initial thing that a company should do
Set benchmarch and understand how user sees the site
Keep alives on
Compression on
Workshop
Analyzed Velocity home page
Made worse than reality and brought it to current then improved
Here are my notes from the the Velocity 2010 lecture "A Day in the Life of Facebook Operations"
A Day in the Life of Facebook Operations
Tom Cook, Facebook
Velocity 2010
June 22-24, 2010
(40 minutes, 48 seconds)
Description of the size of Facebook in terms of minutes on site, pieces of new content, etc.
User growth curve
Server footprint growth curve
Bay area and Virginia (and soon Oregon)
The stack:
Load Balancer -> (assigns a web server)
Web Server -> (assembles data)
Services (fast, complicated), Memcashed(fast, simple), Databases (slow, persistent)
Web server (HipHop for PHP)
source code transformer
converts PHP to C++, compiled with gcc
Memcached
300+ TB live data in RAM
MySQL
persistent store
lots of sharding
facebook.com/MySQLatFacebook
Services
news feed, search, chat, ads, media, etc.
Operations is supplying a platform for the Facebook developers to deploy
So, below the stack, we have:
Deployment, Monitoring
Systems Management
Core Operating System
Operating System
Linux
CentOS 5 variant with custom kernel
Systems Management
Configuration management
Facebook uses CFengine
Update every 15 minutes, about 30 sec run on each machine
On demand tools
No open source solution that meets Facebook needs (used to use DHS)
Wrote their own internal tool
Deployments
Push for frontend code (web push)
At least once a day, frequently multiple times a day (bug fixes, etc.)
New features at least once a week
Built on top of on-demand control tools
Code distributed by BitTorrent (1 minute to push code to all servers)
Backend deployments
Formal QA process removed, QA is responsibility of engineers
Engineers deploy their own code
No ‘commit and quit’ mentality
Ops ’embedded’ into engineering teams
Change logging (every change, who, start time and end time)
The following are my notes from this presentation at the Velocity 2010 conference:
The Top 5 Mistakes of Massive CSS
Nicole Sullivan, Consultant
Stoyan Stefanov, Google
2010 O’REILLY Velocity – Web Performance and Operations Conference
June 22 – 24, 2010
(Length 37 minutes, 54 seconds)
(Some demo isssues the first couple of minutes of the video…)
I often use Microsoft’s remote desktop software to connect to various machines. My hands also use shortcuts for various actions via pure muscle memory. However, when using remote desktop, the operating system interprets many keystrokes as destined for the host operating system. This makes perfect sense but usually sends me scrambling to find the keyboard equivalent for the remote session.
The shortcuts are documented on various websites and in Microsoft’s own documentation. I will add yet another page on the web with this information purely for my own convenience.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.