A drummer among rock-star developers.
4 stories
·
1 follower

Three Months to Scale NewsBlur

48 Comments and 83 Shares

At 4:16pm last Wednesday I got a short and to-the-point email from Nilay Patel at The Verge with only a link that started with the host “googlereader.blogspot.com”. The sudden spike in NewsBlur’s visitors immediately confirmed — Google was shutting down Reader.

Late night at the office

I had been preparing for a black swan event like this for the last four years since I began NewsBlur. With the deprecation of their social features a year ago I knew it was only a matter of time before Google stopped supporting Reader entirely. I did not expect it to come this soon.

As the Storify history of the Reader-o-calypse, NewsBlur suffered a number of hurdles with the onslaught of new subscribers.

A few of my challenges and solutions

I was able to handle the 1,500 users who were using the service everyday, but when 50,000 users hit an uncachable and resource intensive backend, unless you’ve done your homework and load tested the living crap out of your entire stack, there’s going to be trouble brewing. Here’s just a few of the immediate challenges I faced over the past four days:

  • My hosting provider, Reliable Hosting Services, was neither reliable, able to host my increasing demands, or a service I could count rely on. I switched to Digital Ocean and immediately got to writing new Fabric scripts so I could deploy a new app/task server by issuing a single command and having it serve requests automatically within 10 minutes of bootstrapping.
  • It didn’t take long to max out my Amazon Simple Email Service (SES) account’s quota of 10,000 emails a day. So a few hours into the melee I switched to Mailgun, which unfortunately resulted in emailing myself 250,000 error reports. If you tried to email me and couldn’t get through, it’s because 50,000 emails about lost database connections made their way ahead of you in line.
  • Eventually, I was just plain blacklisted on SES for sending too many emails.
  • Fortunately, when the PayPal fraud department called because of an unprecedented spike in payments, I was prepared.
  • HAProxy would Having HAProxy serve errors (site is down, maintenance, timeouts, etc) with a 200 OK status code instead of the proper 500 Exception status code because of a ridiculous undocumented requirement to include HTTP Headers at the top of the error template. When your webapp uses status codes to determine errors, you get extremely strange behavior when it loads utter crap into your DOM.
  • The inevitable file descriptor limits on Linux means that for every database connection you make, you use up one of the 1,024 file descriptors that are allocated to your process by default. Changing these limits is not only non-trivial, but they don’t tend to stick. This is responsible for bringing down Mongo, PostgreSQL, and the real-time Node servers, all at different times of the night.
  • The support queue is enormous and I’ve had to spend big chunks of my 16 hour days reassuring paying customers that eventually Stripe will forgive me and my unresponsive servers and will send the payment notification that is responsible for automatically upgrading their accounts to premium.

The sad extent of my St. Patrick’s Day

As a one-man-shop it has been humbling to receive the benefit of the doubt from many who have withheld their judgment despite the admittedly slow loadtimes and downtime NewsBlur experienced. Having the support of the amazing NewsBlur community is more than a guy could ask for. The tweets of encouragement, voting NewsBlur up on replacereader.com (If you haven’t yet, please tweet a vote for “#newsblur to #replacereader”), and the many positive comments and blog posts from people who have tried NewsBlur is great.

It has also been a dream come true to receive accolades from the many who are trying NewsBlur for the first time and loving it. Since the announcement, NewsBlur has welcomed 5,000 new premium subscribers and 60,000 new users (from 50,000 users originally).

NewsBlur users are intelligent, kind, and good looking!

The next three months

Over the next three months I’ll be working on:

For those of you who are still trying to decide where to go now that you’re a Reader refugee let me tell you a few of the unique things NewsBlur has to offer:

  1. Radical transparency. NewsBlur is totally open source and will remain that way.
  2. It still feels like RSS, just with a few more bells and whistles. NewsBlur provides actual list of posts, as opposed to the more curated magazine format of some of the other popular replacements. This clean interface makes it easy to see the stories you want. One innovation however is the four different view options you have. NewsBlur can show you the original site, feed, text or story view.
  3. It has training. NewsBlur hides stories you don’t want to read based on tags, keywords, authors, etc. It also highlights stories you want to read, based on the same criteria. This allows you to find the stories you care about, not just the stories that the hive Hive cares about. And best of all, NewsBlur will show you why stories are either highlighted or hidden by showing the criteria in green or red.
  4. NewsBlur has rebuilt the social community that Google had stripped out of Reader. Users can share stories through their Blurblog and discover new content by following friends’ Blurblogs. The People Have Spoken is the blurblog of popular stories.
  5. Because NewsBlur is entirely open-source, if you don’t want to pay you can host your own server. Instructions are on GitHub, where you can also find the source code for the NewsBlur iPhone + iPad app and Android app.
  6. Most importantly, NewsBlur is not entirely a free app. The immediate benefits of revenue have been very clear over the past few days. Not only are NewsBlur’s interests are aligned with its users, but as more users join NewsBlur, it makes more revenue that can be used to directly support the new users. Not convinced that paid is better than free? Read Pinboard’s Maciej Ceglowski’s essay Don’t Be a Free User.

Shiloh during better times. Your premium subscription goes to both server costs and feeding her

With NewsBlur’s native iOS app and Android app, you can read your news and share it with your friends anywhere. And with the coming improvements over the next three months, you bet NewsBlur will be the #1 choice for Google Reader refugees. survivors.

Join NewsBlur for $24/year and discover what RSS should have been.

Read the whole story
sdenaro
4046 days ago
reply
brooklyn ny
popular
4050 days ago
reply
Share this story
Delete
45 public comments
ksw
4039 days ago
reply
Excellent write-up. I'm growing more confident about my decision to use NewsBlur in place of Reader.
Manhattan
shanel
4038 days ago
This is what brought me here.
datavortex
4041 days ago
reply
Great tale from the DevOps battlefield
Stockbridge, GA
parisferra
4045 days ago
reply
Excellent stuff. I go straight for premium membership. Good products deserve support.
heliostatic
4046 days ago
reply
Best news reader around, and the best team building it. Plus, you always know what features are coming next if you check the various branches on github.
Williamstown, MA
sigvei
4047 days ago
reply
_Slik_ snakker du med kundene dine. Enmannsforetaket NewsBlur tjuedoblet brukermassen over natta.
Oslo
maistrack
4049 days ago
reply
Simply awesome!!
denubis
4049 days ago
reply
Well done newsblur. Been using it for a year and I've quite happily resubscribed at double my previous fee (by choice.)
keri
4049 days ago
reply
might not be for everyone, but it's for me
chapel thrill, nc
htakeshi
4050 days ago
reply
Google Rederがサービス停止を突然、発表。試行錯誤しながら、私も環境移行をしています。
その後の展開は、ビジネスモデルのケーススタディとしても、考えさせられることが多いです。
andycwb
4050 days ago
reply
Excellent opportunity. Just signed up for the super-premium extra dog food option.
gienahghurab
4050 days ago
reply
Actually just testing my blurblog... *'.'*
BLueSS
4050 days ago
reply
I love NewsBlur, and this was a nice read.
KieraKujisawa
4050 days ago
reply
Nice summary of what happened
Fredericksburg, VA 22408 USA
smadin
4050 days ago
reply
Some interesting detail on @NewsBlur's Readerpocalypse.
Boston
pastorwalters
4050 days ago
reply
Interesting story of NewsBlur's rapid growth after Google's Reader shut down announcement.
Two Rivers, WI
RainofTerra
4050 days ago
reply
Post Mortem on Readerpocalypse glitches from Newsblur which I switched to from Google Reader a while back. Great service.
San Francisco
robferrer
4050 days ago
reply
Really interesting story of a sudden spike in demand for @newsblur
Leamington Spa, UK
to7
4050 days ago
reply
Newsblur news:
indra
4050 days ago
reply
fun times :)
Canberra
lpmpessoal2
4050 days ago
reply
Como a vida está a mudar ao NewsBlur com o fim do Google Reader. História interessante. Na primeira pessoa.
TheRomit
4050 days ago
reply
I hope that doesn't mean those API end points requested by the W8 developer are going to take a back seat :-(
santa clara, CA
superiphi
4050 days ago
reply
love the transparency at #newsblur :)
Idle, Bradford, United Kingdom
CliffS
4050 days ago
reply
Thanks for the update Samuel! This is why I prefer to support smaller operations--my input actually counts for something.
Wahiawa, Hawaii
trepidity
4050 days ago
reply
Excellent story
adamgurri
4050 days ago
reply
Notes from the front
New York, NY
mithrandir
4050 days ago
reply
I'm super excited to see NewsBlur take off like this. Congrats!
sredfern
4050 days ago
reply
Congrats Sam! (awesome name btw)
Sydney Australia
danatnr
4050 days ago
reply
Fascinating story of NewsBlur programmer whose demand increased tenfold when Google Reader announced closing.
Ohio
nickoneill
4050 days ago
reply
5 days and @samuelclay already has time to write blog posts, amazing.
san francisco
smilerz
4050 days ago
reply
Kinda wished I had found NewsBlur before becoming a Reader refugee. Great work and hang in there - all of the hard work will pay off!
Chicago or thereabouts
fredw
4050 days ago
reply
Great read on scaling exploding web apps. Been there, done that.
Portland, OR
pberry
4050 days ago
reply
Love the run down and appreciate the time it took to update us.
Chico, CA
samuel
4050 days ago
Ok, I'm going to admit it right now. My girlfriend wrote a good chunk of the post as a template, which I then rewrote with specifics. Seriously, she's the absolute best.
jbloom
4050 days ago
Hire your girlfriend to do PR. She is awesome! :D
jbloom
4050 days ago
reply
Love this detailed account of NewsBlur after the Google Reader closing announcement. NewsBlur rocks!
Columbus, Ohio
jbloom
4050 days ago
Going to get my dad a premium account.
DracoLlasa
4050 days ago
reply
been very impressed with the service and the ramp up. only took a few days and things are running pretty smooth. Glad i made the move here
mgeraci
4050 days ago
reply
Congrats, Sam, and keep up the amazing work!
Duluth, MN
tedder
4050 days ago
reply
all hail Samuel Clay! Great work. I reached out in case I could help in devops, but I didn't know the extent of your personal inbox disaster.
Uranus
samuel
4050 days ago
Don't know if you noticed, but I accidentally sent myself 250,000 error emails, so yeah, my inbox is currently jammed.
tedder
4050 days ago
yes- that's why I said "personal inbox disaster" :) spam cannons are always fun.
jzsimon
4050 days ago
reply
Great story!
blueminder
4050 days ago
reply
"Paypal’s fraud department just called, asked me what’s going on. Asked the rep from Omaha if she’s heard of Reader, and then a big Ohhh."
San Francisco, CA
pyrona
4047 days ago
Heeeey, when you share something you should always comment something so we can reply to you! Newsblur has a, uh, "feature" that makes it so others can't comment on your shares unless you do first. (I'm only telling you this here, because it's the most recent thing you shared that you commented on ^_^)
blueminder
4047 days ago
Ah, I didn't know that's how it works on this end of the RSS world. http://sighroll.com/wp-content/uploads/2012/10/themoreyouknow.jpg
SuzeVich
4047 days ago
BTW: You TOTALLY got me with Shiloh ... I would have paid even if you hadn't stopped the free subscriptions. ;D
iross
4050 days ago
reply
Holy crap. Am I reading that right? NewBlur went from 1,500 users to 60,000+?

Any chance those shirts make a comeback? I'd buy some NB swag.
Madison, Wi
CliffS
4050 days ago
I think it's 50k to 110k.
kyleniemeyer
4050 days ago
reply
Hey, I'm in this post! Perhaps not my most flattering picture...
Corvallis, OR
kyleniemeyer
4050 days ago
Also, I think that NewsBlur has pretty much recovered from the Great Reader Exodus.
samuel
4050 days ago
Nope, not even close to recovered. While the servers are stable, the load times are now 9X where they should be. I have charted some remedies, but they're going to take time. And I still have yet to go 24 hours without a server meltdown.
kyleniemeyer
4050 days ago
Yeah, I did notice the outage this morning. At least, things seemed better today than they had all last week.
jbloom
4050 days ago
Samuel, at least I am able to use my iPad now. And I am glad to see from all of this that you know your stuff with databases and such. You know WAY more than I do! :D
satadru
4050 days ago
reply
Excellent work.
New York, NY
BiG_E_DuB
4050 days ago
reply
This guy is awesome. Premium is basically confirmed for me...might do it Monday
Charlotte, NC, USA
samuel
4050 days ago
reply
Here it is, my last five days in blog form. Biggest lesson learned: take more photos!
Cambridge, Massachusetts
gazuga
4050 days ago
Epic post from a prescient fellow. It's plain you've been mulling over the question of free users, with good cause. For my counterpoint to Maciej Ceglowski, see "Transitioning back to freemium" in the ideas section of the support forums.
gazuga
4050 days ago
Loving my t-shirt, by the way!
ChrisHamby
4050 days ago
Thanks for all your hard work! I didn't send in a photo of my tshirt because it's a few sizes too big... but that's the last thing I'd want you to worry about now!
sashae
4050 days ago
thanks for working so hard to keep all of us poor news junkies happy... you've built a really great thing!
InKunKa
4050 days ago
I'm thrilled with Newsblur, and happy to be a new paying member. I wish I had known about it before :)
mocker
4050 days ago
Keep up with the transparency of what's going on with any site issues. As someone who already went premium, I appreciate it.
sredfern
4050 days ago
Your dog may gain some weight with all those premium subscribers...
trekkie
4050 days ago
Wore my shirt all day but forgot to take a picture.
4050 days ago
You won me over, I completely ditched google reader and deleted all of the data over there. I need some confirmation on if the price will go back to $12 and when exactly it will do this, I understand why you did it but I was there when it changed and that obviously made me do a double take. I NEED the features of the premium account so please let me know if I should wait or if the price will never go back down.
mfitzhugh
4050 days ago
You're doing a great job, Samuel. When I checked out Newsblur last week, your dedication to building a great service was evident from the get-go. It made signing up for premium an easy choice. Keep up the good work, and don't worry about breaking a few things along the way.
PunkRockWarlord
4050 days ago
I joined a few days ago and have been very impressed. I'd been wanting an RSS client that would sync between my laptop and iOS devices (and wasn't tied to Google), and NewsBlur delivers on all fronts. Thanks for putting in all the work, Samuel!
PaulPritchard
4050 days ago
Speaking as a Reader refugee, I have been very impressed with NewsBlur so far - so much so that I am starting to wish that Google had shut down Reader sooner. In many ways, NewsBlur strikes me as being everything that Reader could have been.
kworr
4050 days ago
Maybe you need some help? I have some skills on nginx/freebsd/pgsql and making sites go stable on the high load (not just extremely high, like 2kk request per day).
raorn
4050 days ago
You did a great job, Samuel! dev.newsblur.com is something I always wanted. Already fell in love with "intelligent training" feature.
sylvaingaffie
4050 days ago
Man, you are AWESOME !! I still wonder how I would react in your case. I probably would have sank into madess :o).
stavrosg
4050 days ago
I live in Europe, so I woke up one morning with NewsBlur already in meltdown mode, and found about Reader a while later, so I just decided to sit out the mayhem and return to my feeds a couple of days later. You handled the situation as best as you could, congratulations and be assured that my premium subscription will be renewed once it ends. I am also glad that I quit Reader away ahead of the announcement of its shutdown and found this service.
nebkor
4049 days ago
As someone said on HackerNews, your first hire should be a good sysadmin; making changes to ulimits is easy and easy to make stick :)
cmn
4049 days ago
Here's 24$, love it!
Alpha_Cluster
4050 days ago
reply
Interesting post about the the aftermath of the Google Reader announcement on the awesome NewsBlur service!
DaftDoki
4050 days ago
reply
What one person has built is impressive. Success disasters are always better to deal with than normal disasters.
Seattle
ocrammarco
4050 days ago
Agreed, as a developer I have nothing but admiration and sympathy.
katiegirl
4050 days ago
This is exactly why I have given this guy my $24. He seems pretty up and up.

Google Drive Realtime API arrives, lets developers make collaborative apps

1 Share

Google Drive Realtime API arrives, lets developers make collaborative apps

Google has been eager to have programmers weave Google Drive sharing and syncing into their apps, but the coveted live collaboration has remained solely in Google's domain. Until today, that is. The company has posted a Google Drive Realtime API that lets third-party apps integrate the same simultaneous collaboration as Google Drive, including important nuances like conflict resolution and presence. More enterprising coders can create custom objects beyond what Google offers on its own. A handful of companies are already using the Realtime API for apps that everyday users can try right away, such as Draw.io, Gantter and Neutron Drive; other developers just need to visit the source link to get started.

Filed under: , ,

Comments

Via: Google Developers Blog

Source: Google Developers

Read the whole story
sdenaro
4048 days ago
reply
brooklyn ny
Share this story
Delete

Mozilla Shows Off Powerful New Developer Tools for Firefox

1 Comment

A mockup of what it might look like to author your pages right inside Firefox. Image: Paul Rouget.

You asked for them and now Mozilla’s Firefox developer tools team is hard at work building a slew of new tools for web developers.

A few weeks back Mozilla’s Paul Rouget asked developers what they’d like to see in future versions of Firefox’s developer tools. The resulting thread on Hacker News is quite extensive and full of some great ideas that Rouget and others have been hacking on ever since.

The result is a bunch of new tools that are mostly still at the experimental mock-up stage, though a couple are available now in the Nightly Channel if you’d like to try them out.

The most popular request, and by far the coolest of the bunch, is the ability to do live edits in the text editor of your choice — effectively controlling Firefox with your editor. The video below shows an example of live editing via the popular Sublime Edit. This would essentially eliminate the need to jump from your editor to the browser, hit refresh, jump back to your editor, and so on. A dance that most of us are all too familiar with. Perhaps the best part, Rouget says this will work with the mobile version of Firefox as well.

Mozilla is also working on the opposite idea — authoring in the browser. That means putting an editor inside Firefox’s Dev Tools suite. Thus far this idea is less fleshed out, but the possibilities include putting in something like jsFiddle or perhaps a more traditional file-based editor.

Other new tools include some catch up features that bring Firefox’s Dev tools up to speed with what you’ll find in WebKit browsers. Examples include a new network panel prototype and the ability to doc the tools to the right side of the screen — great for wide monitors (this is already available in Nightly). There’s also a new “repaint” view that shows what gets repainted on the page, very useful if you’re trying to improve performance. Rouget has also been working on a new, dark theme for the Firefox dev tools.

Rouget recently added a font inspector panel (available in the Nightly Builds) that makes it easy to see which fonts a page is using, including details like whether or not the font file is local or served through a service like Typekit, as well as the actual @font-face code used.

In what appears to be an unrelated effort, Mozilla developer Dave Townsend has been hacking on Firefox’s Tilt View Tool. Tilt View offers a 3D look at a page that can be very helpful for visualizing the structure of your code and spotting bugs you might otherwise miss. Townsend has come up with a number of ways to extend Tilt, including showing only links and only elements that change on hover.

Townsend even suggests that in the future you might be able to pair Tilt with your site analytics to see which links are most frequently clicked. Unfortunately you’ll have to wait a while before these features are actually available in Firefox; Townsend’s hacks rely on some core Firefox features that aren’t ready for prime time just yet.

While many of these coming features are, as yet, only prototypes, things are clearly looking up for Firefox’s dev tools. For more details on everything that’s new, be sure to check out Rouget’s post, as well as the related Hacker News thread that Rouget has been posting to with some follow up info.



Read the whole story
sdenaro
4048 days ago
reply
test again
brooklyn ny
Share this story
Delete

Review: Upside Down Soars Visually, But Lacks Gravity

1 Comment
Class warfare never looked as beautiful as it does in Upside Down, which opens in theaters today. Taking place on "twinned worlds" where gravity pulls in opposite directions, the movie's unique setting lends itself to an audacious visual take on the timeless theme of the "haves versus the have-nots."
Read the whole story
sdenaro
4053 days ago
reply
test
brooklyn ny
Share this story
Delete