AIR, Flex / Flash, FMS, PushButton, Game… Developer
Tip of the Day – Deploying a scalable widget
Believe it or not, widgets do go viral.
An excellent example of this was back when I worked at Snapvine. We setup our signup flow, and launched our widget on MySpace. Our initial user base of 20 users sky-rocketed, and within one week, we had 400,000 users signed up.
I’m not saying results like this are typical, but they do happen. And like Snapvine, they kind of sneak up on you without any warning. The problem that most viral widget developers run into is very similar to the Slashdot effect.
Let’s take a look at the Snapvine widget example. After week one, 400,000 users have installed the widget. Let’s say that an average person’s profile page is visited twice a day. Once by them, and once by one of their friends. You’re looking at 800,000 requests hitting your servers, daily!
So here you have a really cool widget that users just love. Word of mouth is spreading. Users are posting on their friends message boards (omg, u hve GOT 2 chk out my Napolean Dynamite boblehed. w00t). Before you know it, your server can’t keep up with all of the requests, or your hosting provider’s bandwidth allotment has been reached, and down goes your widget.
Nothing makes a person pull a widget off their profile page faster than it not working.
But alas my friend, there is hope.
The best solution that I have found thus far is to use Amazon S3 to host your creation.
Amazon S3 is a completely scalable service which also allows you two very important ideals. Pay only for what you use, and pay after you use it.
Paying only for what you use is a huge deal when you’re deploying a Flash widget. I’ve talked to many people who fell into a very common pitfall. They invested large amounts on money into into either a dedicated hosting solution, or leasing some rack space and providing their own server hardware. However, when their widget didn’t go viral like they were hoping, they were still stuck having to pay for their infrastructure that wasn’t being used.
Amazon S3′s monthly billing setup is also a major benefit for us Flash widget developers. You can host a widget, get paid for showing advertisements, and your Amazon S3 bill doesn’t show up until the end of the month.
If you want to play around with estimated Amazon S3 (US) costs, check out my bandwidth calculator. Also you can use the Amazon Services calculator if you wanted to price out additional Amazon services.
:: UPDATE ::
ComputerWorld released an article this morning about Amazon’s new S3 payment options.
This is really cool! Imagine a setup where you can offload bandwidth costs to the people advertising within your widgets. That way you’re not having to pay it out yourself, and advertisers only have to pay bandwidth actually used. This can make for an enticing advertising package setup.
| Print article | This entry was posted by Nate Beck on January 6, 2009 at 6:00 am, and is filed under Tip of the day, Widgets. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No trackbacks yet.
Tip of the Day – Updating to Flash Builder 4.0.1
about 1 year ago - 3 comments
I recently posted about Building AIR 2 applications with Flash Builder 4. There is now an update for Flash Builder 4 which downloads and installs the Adobe Flex 4.1 SDK. According to Renaun Erickson’s post, Flex 4.1 includes Flash Player 10.1 and AIR 2.0. Now, if you’re like me and loathe the Adobe Updater… then
Tip of the Day – Building AIR 2 applications with Flash Builder 4
about 1 year ago - 20 comments
:: Update :: This process has gotten much easier, you can now use software update to get AIR 2 as well as Flash Player 10.1 in Flash Builder… check out this post. Adobe AIR 2 and Flash Player 10.1 were released on June 10th, 2010. It’s an exciting time. This weekend I decided to do
Developing games with PushButton Engine – Understanding Local Flash Player Security
about 2 years ago - 2 comments
As I spend more and more time on the PushButton Engine Forums, it’s funny how often the same topic seems to come up. Today a topic showed up again, regarding running Flash swf files locally. You see this same topic in many different flavors… When I email my game to the client it won’t run
Tip of the Day – How to create a prompt field on your mx:ComboBox
about 2 years ago - 2 comments
For a long time I’ve been doing things like this within Flex. [Bindable] private var _skills:Array = [ {label: "—", id: -1}, {label: "1 – Newbie", id: 1}, {label: "2 – Some Experience", id: 2}, {label: "3 – Expert", id: 3}, {label: "4 – I’m a baller", id: 4} ]; And then binding this data
Tip of the Day – A new way to get involved with Flex
about 2 years ago - 2 comments
So the reason I haven’t posted a tip the past couple of days is because I have been working on a new project. Check it out here —> Bug Quash Please vote on the poll. We’re trying to see how much interest there is in this kind of event. Any questions, comments, ideas, complaints, suggestions,
Tip of the Day – Flipping Display Objects
about 2 years ago - 1 comment
The tip that helped me the most lately is the with flipping objects with the help of matrices. Here is the code: function flip( display:DisplayObject, orientation:String ):void { var m:Matrix = display.transform.matrix; switch (orientation.toUpperCase()) { case "HORIZONTAL" : m.a = -1; m.tx = display.width + display.x; break; case "VERTICAL" : m.d =
Tip of the Day – Flex Coding Conventions
about 2 years ago - 1 comment
Today’s tip is a short one… I have begun planning a very exciting Flex-centric event that is going to be held up here in Seattle. More on that later though. Your tip for the day… The Flex SDK team has a guide that explains the coding conventions that they use within the SDK (for the
Tip of the Day – Understanding the Flex bug system (JIRA)
about 3 years ago - 1 comment
Today a bug that I have been watching was resolved as ‘Not a Bug’. In the QA team’s defense, the original bug description was not very clear. I have commented on the bug explaining why it needed to be reopened. This situation brings up a valid question. How do we (the Flex community) effectively help
Tip of the Day – Quick and inexpensive design work
about 3 years ago - No comments
Using Amazon’s Mechanical Turk in combination with outsourcing your design task to Elance, you can get great designs and user feedback very quickly, easily and for very little money. Step 1: Post your job “design a logo” on Elance (elance.com). Be sure to include instructions including other designs that inspire you and a description of
Submit a Tip (Jan 09) winner announced!
about 3 years ago - 1 comment
Congratulations to Aaron E. for submitting his tip walking us through using Sprouts! He is the winner for my first Submit a Tip contest. A license for Baslamiq Mockups is on it’s way to you. Aaron’s tip will be featured as today’s Tip of the Day. Thanks everyone for submitting your tips… I will probably
about 3 years ago
This is very cool! I am going to have check into S3 again.