News for hackers. Stuff that matters.
Re:Go + Services = One Goliath Project by neurobashing on Saturday December 21, 2019 @06:35PM (#21853986)
Everyone’s project/code base is different but in my experience there’s been a critical mass of libraries for a few years. I presume the “it’s hard to move to 3” is dev teams wanting a new toy as much as “the rewrite is too complex”. Library use, size of code base etc are all big factors but at the end of the day, I think team motivation is really the deciding factor.
Re:Go + Services = One Goliath Project by freyr on Saturday December 21, 2019 @06:53PM (#21854080)
That mirrors my experience as well. Someone with influence is bored or wants to level up, so they'll drag the entire company into a long, expensive quagmire.

Unless the existing codebase is mired in technical debt and completely unsalvageable or cannot scale further, this seems like a very radical move.

Re:Go + Services = One Goliath Project by lonelappde on Saturday December 21, 2019 @09:03PM (#21854654)
Replacing an old unholy mess with a new unholy mess is usually a bad plan. It's called the Second System Effect.
Re:Go + Services = One Goliath Project by ksec on Saturday December 21, 2019 @07:34PM (#21854281)
Which is precisely why most of the Web Dev should not be called Engineers.
Re:Go + Services = One Goliath Project by Alex3917 on Saturday December 21, 2019 @07:48PM (#21854354)
I worked on a fairly large codebase that needed to be rewritten from scratch when migrating from 2 to 3, primarily because all the tests were written using a test framework that was no longer maintained. So given that you might need to start over anyway, I think it's reasonable to consider other options. That said, yeah it's difficult to understand how KA's web server costs aren't already basically zero, and how their endpoints aren't already basically instantaneous.
Re:Go + Services = One Goliath Project by dangoor on Saturday December 21, 2019 @08:35PM (#21854543)
> That said, yeah it's difficult to understand how KA's web server costs aren't already basically zero, and how their endpoints aren't already basically instantaneous.

I find that this is the outsider's view of a great many products. Things always seem a lot simpler on the outside.

In Khan Academy's case, I think a lot of folks just think of our site as being a collection of more-or-less static pages with videos on them. There's a lot more going on than that, though. We've got a CMS that supports articles with math and interactive elements, in addition to the videos... and many, many exercises with hints. All translated into dozens of languages.

We have to remember every exercise people have done so that we know which ones to present to them next, and we need to display that progress when they look at topic pages. Oh yeah, and if they're in a classroom, we need to present that progress to teachers (or coaches/parents, outside of the classroom). Teachers can also assign content.

Now, we're also offering features for school districts: https://www.khanacademy.org/district

Plus, there's the official SAT prep, which connects to the College Board directly to provide personalized guidance about what to work on... and that's only one of the test preparation areas of our site.

And, as you can imagine, there are a bunch of other features and aspects of the features above that I'm not mentioning. It adds up.

Re:Go + Services = One Goliath Project by Alex3917 on Saturday December 21, 2019 @09:31PM (#21854759)
Fair, but what percentage of spend is actually on web servers as opposed to database, data transfer, static asset storage, caches, CDN, etc? The features you listed are kind of what I expected, but I still wouldn't expect the web servers to be more than 15% or so of your hosting costs. I know you guys get a ton of traffic, but on most web sites at least 90% of traffic is logged out and doesn't even need to hit the web servers in the first place.
Re:Go + Services = One Goliath Project by dangoor on Saturday December 21, 2019 @09:47PM (#21854829)
I don't have recent numbers in front of me, but I believe our web servers are more like 40% of our hosting costs today.

Over the past year, we've started leveraging our CDN (Fastly, who have been great) a lot more. That said, for us a lot of logged out traffic still carries the weight of logged in traffic. A logged out user can start doing math exercises and we'll keep track of what they've done. If they then create an account or log in, that activity is associated with their account.

Khan Academy may look like a content site, but in many ways it's more like a "learning app".

Re:Go + Services = One Goliath Project by tim333 on Saturday December 21, 2019 @09:14PM (#21854699)
According to their 2018 accounts, 'information technology' costs were $5m. Salaries were listed separately at $29m so I'm guessing the $5m was mostly servers.
Re:Go + Services = One Goliath Project by Consultant32452 on Saturday December 21, 2019 @06:45PM (#21854040)
This is my experience too. Someone or a couple someones on the team decide they want to try out some new tech or expand their resume. Then it becomes a quest to justify the switch rather than a quest to make the best business decision.