1,754 karma · joined July 22, 2010
Email: firstname @completefusion.com
I recently have been working on the technical aspects of building a new house for my aging parents. We went with Lutron's Serena shades, because we also used Lutron's light controls and they feature both Nest and Alexa integration. Construction hasn't been completed yet, so I can't fully report on the final result. But, my initial tests have gone well and setup was simple. For reference, the per-shade cost is around $600 installed. Basic shades of similar quality would likely be $150-200 each, so it's a fair bit more but not outrageous.
I considered a DIY approach, but then thought about the primary users and realized an off-the-shelf solution would be best. Even in your own home, it's hard to overstate the importance of reliability and ease of use for your spouse, kids, guests, etc.
A few things to watch out for, if your team doesn't have a lot of experience in direct management of dedicated servers/datacenters:
- There is an increased risk of larger/longer very rare outages due to crazy circumstances. Make sure you have a plan to deal with that. (I've had servers hosted at a datacenter that flooded in Hurricane Sandy, and another where an electrical explosion caused a >3 day outage..)
- It's easy to think you'll rely on managed services, but that rarely works out well. It also can become very, very expensive -- possibly more so than cloud-based hosting.
- Specifically, regarding H1, H2: Dedicated hardware is substantially cheaper than cloud-based hosting, but if you rely too much on managed services you negate a large portion of the savings. Consider that most service providers will be both more expensive and less competent than doing it yourselves. Also, having your own team have direct knowledge + their own documentation of the setup will be beneficial.
- I'd recommend budgeting for and ordering some extra parts to keep on hand for replacement, if you are having datacenter ops handle hardware or can have an engineer located relatively close to your datacenters. (A few power supplies, some memory, a couple drives - nothing too crazy.)
- Supermicro's twins systems are great. In the past I've gone with their 1U models vs. 2U to slightly reduce the impact of unit downtime. (Having to take one 2U Twin down affects four nodes. It sounds like you'll have to decide on balancing that against the increased drive capacity, in your case.)
I recently visited Seoul's Dongdaemun shopping area and the scale was shocking. It includes dozens of massive, multi-story buildings that span roughly 10 city blocks. When it was built in 1970, it was the largest such market space in Asia. (They claim it is still the largest, but perhaps the distinction is because Yiwu is considered a city.)
If the average city block is ~10k sq m, then 10 blocks with an average of 4 stories per building yields 400k square meters of space.. which is a mere 10% of Yiwu's claimed size -- wow! You could spend weeks walking around Dongdaemun without seeing everything, but the experience was similar to what the article describes Yiwu as -- booth after booth of the same types of mostly wholesale merchandise.
http://www.seriouseats.com/2012/02/how-to-make-tonkotsu-rame...
http://www.seriouseats.com/recipes/2013/12/the-food-lab-best...
The basic idea behind zero downtime DB migrations is to use a Blue-Green deployment model. Blue-Green deployment uses two identical production environments, called "Blue" and "Green", with a router or proxy setup in front of them. Only one of the environments serves traffic, while the other is idle.
For our example, let's say Blue is initially live. When you deploy new application code, it would be deployed to Green and tested. Once you're happy with it, you switch the router or proxy to send requests to Green. Blue becomes idle, and then you update Blue.
With MySQL as the database, I like to call this setup "Active-Passive", using a Master-Master infrastructure. Normally, Master-Master implies an "Active-Active" setup with each instance being able accept reads and writes. (People that have used Active-Active Master-Master MySQL recognize the big downside: conflicting writes break replication.)
Using an Active-Passive approach for supporting zero downtime schema changes lets you avoid the problem of conflicting writes break replication. Basically, think of Active-Passive as the ideas used in Blue-Green deployment, extended to your database.
The basic process is:
- Run STOP SLAVE on both the Active and Passive servers.
- Run SQL for the schema change on the Passive server.
- Run START SLAVE on the Active server.
- Wait for replication lag on the Active server to become small enough (ideally about a second). You can check replication lag with SHOW SLAVE STATUS "Seconds_Behind_Master", although that isn't 100% reliable and you are better off with something like Percona's MySQL Toolkit's pt-heartbeat.
- Run LOCK TABLES on the Active server for the final replication catchup
- Ensure replication lag is zero on the Active server
- Modify your proxy configuration to change the Active/Passive designations
- Unlock the new Passive server
- Run START Slave on the new Active server
Now, there are some limitations: The new schema must be backwards compatible with the previous schema:
- Add new columns with triggers rather than modifying in place.
- New columns cannot be required immediately, or old writes will not replicate appropriately.
- You can't use server-generated data functions (UUID, NOW, RAND, etc)
And it can't conflict with pending writes:
- No auto-increment INSERT unless the application doesn't insert to that table.
- No DROP COLUMN nor DELETE rows if they are used in the previous schema version.
Resources:My article in SysAdvent on Zero Downtime MySQL schema changes: http://sysadvent.blogspot.com/2012/12/day-3-zero-downtime-my...
Slides from a presentation I gave at a Devops conference in 2012: http://www.completefusion.com/zero-downtime-deployments-with...
Pivotal Labs about Blue-Green deployment: https://docs.pivotal.io/pivotalcf/devguide/deploy-apps/blue-...
(As a side note, if you haven't heard of it before, SysAdvent is awesome: ~25 sysadmin/devops posts published annually in December.)
Within a 30 mile radius of Parma, you can sample some of the best fruits and vegetables, stuffed pastas (ravioli), Parmesan cheese, balsamic vinegar, wine, and sausages in the world -- almost unbelievably cheaply! If you're looking for pesto di cavallo in particular, there's a great sandwich shop in Parma called Pepèn that I'd suggest.
I had intentionally avoided backing the Kickstarter because I didn't find the risk to be worth it at the time.
One thing I learned through the process, which everyone should be aware of: there is no consumer protection available with either Shopify or American Express Platinum (famous for it's high level of customer service, "return protection", extended warranty on purchases, etc) if more than 60-120 days passes after a purchase and you haven't received the item.
Lesson: file claims early.
Don't order pre-order goods with uncertain delivery dates (or if you do, don't let them slip past 60 days from the order date without filing a claim for a refund with the merchant provider or your credit card company).
Hi there,
It’s been an exciting ride. We learned A LOT and now we’re hard at work building the future of Glass. You gave Glass a chance-even if it wasn’t right for you right now, you were still part of the story. That means a lot to us, so we wanted to share this collection of photos and stories from the early days of Glass.
Download Vol 001
Shots from the Glass yearbook
You’ll start to see new versions of Glass when they’re ready, and they’re built on what we heard from Explorers like you. We’ll be eager to hear what you think.
Best wishes, The Glass Team
1) Bitcoin's recent dramatic increase in value. (LiteCoin's value is heavily correlated to Bitcoin's.)
2) The relatively low difficulty level for LiteCoin mining right now.
3) Spot instance pricing for the EC2 GPU (g2.2xlarge) instances.
4) LiteCoin can be mined using both GPUs and CPUs (although GPUs are dramatically better, another ~35 khashes/sec from the CPUs is still nice).
Interestingly, the previous average historical spot price for these instances was ~$0.075/hour. The spot pricing has now jumped to $0.10-$0.12, depending on region.
As an added bonus, you may be able to get $100 of AWS credit at http://aws.amazon.com/big-data/powerof60/ which would give you 2-3 free days of mining.
Although you're dismissive of the strip, and I can understand why from the typical visitors' perspective, there are literally tons of things to do there and many of them are significantly discounted or free to Las Vegas residents. I did the math and over the course of 3 years I went to tens of thousands of dollars of things for free.
There are concerts, some of the best restaurants in the world, conventions, boxing, shopping, and more. Traffic is manageable. Cost of living is low. Flights to most places are cheap. You can be in Southern California or doing outdoorsy stuff in Utah for the weekend with a few hours drive, or easy 1 hour flights.