News for hackers. Stuff that matters.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by amix on Saturday October 10, 2015 @05:05AM (#10364948)
I think the general market could learn a thing or two from WhatsApp: 55 people powering a platform used by 800 million _active_ users across many different platforms. And WhatsApp has innovated, e.g. the new video and calling system works very well.

I have often wondered what thousands of Twitter employees are doing all day long? Their platform and apps have been stale for a long time.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by petercooper on Saturday October 10, 2015 @06:11AM (#10365051)
I mostly agree, but the scale of what Twitter is doing technically is very different.

Network size is not as important as how messages are distributed within it. Whereas most WhatsApp messages are one to one, on Twitter they're almost always one-to-very-many.

If 10000 Twitter users with 1000 followers each send a tweet, that's 10000000 messages hitting queues. 10000 WhatsApp users sending a single message each are likely to result in 10000-20000 messages (sometimes people have group conversations).

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by paulsutter on Saturday October 10, 2015 @10:30AM (#10365597)
Number of employees doesn't scale up with the number of messages hitting queues.

No those acres of employees at Twitter are showing each other powerpoint presentations, ordering lunch for each other, and subdividing again and again tiny slivers of functionality into more and more product management teams, none of whom have sufficient authority to make any material improvement to the product.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by giovannibajo1 on Tuesday October 13, 2015 @02:02PM (#10382269)
I can't you upvote more than one time, unfortunately. I can't speak for Twitter, but this is very true of many companies. As they grow, they start structuring the product development into multiple verticals with specific specializations like "UX design", "graphic design", "user engagement", "backend team", "frontend team", "devops team" and so on, but they fail in creating enough horizontal cross-contamination and the central direction gets weaker and weaker; the teams start to segregate and blame each other (frontend team says that backend team is providing them with bad apis, devops team complain that backend team is using too many different technologies, ux team complain that graphic design hasn't followed their advices, etc.), and many meetings are setup to solve these conflicts, and to implement new processes and new information workflows that are ever more complex (and thus slow) to make sure that everyone is useful. The end result is that product development gets slower and slower; theoretically, the end result should be that releases have superior quality (when you eventually get around making one), but it's hard to justify the differential costs compared to shipping fast and iterating.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by inthewoods on Saturday October 10, 2015 @08:59AM (#10365361)
WhatsApp also appears, at the moment, to have a much simpler business model - you buy it. No advertising technology, no audience/data teams and, probably most significantly, no sales team to go out and get people to use the platform. And no big agency handholding people, no data scientists, no customer success account managers. I'd be curious to see what the breakdown is between tech and sales at Twitter.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by reubenmorais on Saturday October 10, 2015 @03:12PM (#10366599)
That business model is almost certainly out the window after the Facebook acquisition. They renewed everyone's license automatically, and are probably going to remove it entirely.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by inthewoods on Saturday October 10, 2015 @11:33PM (#10367929)
Agreed - but this is about the number of employees based on their original business model, not what the future holds.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by eecks on Tuesday October 13, 2015 @02:10PM (#10382310)
They renewed licenses before the acquisition
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by x1024 on Saturday October 10, 2015 @06:30AM (#10365094)
Perhaps that is the lesson to be learned? That technology with limits... scales?

If you want to "do social", do it for small groups. Nobody really has 40 000 friends, so why bother with the use-case that is literally only used by advertising companies?

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by petercooper on Saturday October 10, 2015 @06:52AM (#10365123)
I don't think the final question is realistic. I have 20K followers (not huge, but far beyond who I could realistically ever "know") and get huge value from it as an individual, not as a business. It would be so boring (to me) to only be able to talk to people one knows closely.

There are numerous non-company non-celebs-in-the-Hollywood-sense-of-the-word people who have huge followings on Twitter who get a lot of value from that and who their followers also appreciate: people like DHH, John Carmack, Marco, Sam Altman, Scoble..

There is a definite space between "people you know personally" and "blast ads to 2 million customers" in social and Twitter fills it really well.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by jalfresi on Saturday October 10, 2015 @08:56AM (#10365354)
Soooo... RSS? Isn't that what you've just described? You could run that on a pretty small web server....
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by petercooper on Saturday October 10, 2015 @03:35PM (#10366679)
Well, we did. I was a blogger for about 7 years before Twitter came along. Twitter pretty much killed it for me as the masses went there.

So you're not wrong, but the people went to Twitter. Even Google killed Reader. I go where my audience is.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by cookiecaper on Saturday October 10, 2015 @10:56AM (#10365661)
All "social media" services are fundamentally "RSS feeds for humans". It's the same concept, with an easier interfaces and discovery mechanisms, and within a walled garden.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by mnutt on Saturday October 10, 2015 @12:09PM (#10365928)
Scale RSS up to Twitter's size, interleave a user's subscribed feeds together, centralize it, and you have Twitter's scaling challenges.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by dllthomas on Saturday October 10, 2015 @01:42PM (#10366233)
"centralize it"

So... don't?

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by mapgrep on Tuesday October 13, 2015 @12:30PM (#10381552)
RSS lacks one-click follow, recommendations, favorites, push of new updates, native replies, and uniformity of message size, and if you could sweep those things under the rug, Twitter wouldn't be as large as it is.

RSS is fine for plumbing and pros but has not evolved into anything resembling a user-friendly system.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by ljk on Tuesday October 13, 2015 @01:41PM (#10382074)
> * RSS lacks one-click follow, recommendations, favorites, push of new updates, native replies, and uniformity of message size, and if you could sweep those things under the rug, Twitter wouldn't be as large as it is.*

Twitter has way more features than RSS, but do people really use "favorites" that often? The tweets I "fav'd" I don't really go back and check later, or maybe I'm not the targeted demographic

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by sbarre on Saturday October 10, 2015 @09:31AM (#10365442)
That's ignoring the network effect and centralized environment that Twitter provides, without which GP might not have those 20k followers.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by mtw on Saturday October 10, 2015 @05:10PM (#10367022)
For "friends", there is Facebook. You don't do " friends" on twitter, except if the friends are hackers or marketing types.

Twitter is more for information

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by kelseydh on Saturday October 10, 2015 @09:25AM (#10365419)
Very few innovative startups have ever succeeded by declaring that "technology has its limits, we better work within them!"

To be successful, you usually have to do something outside the comfort limits of existing technology.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by x1024 on Saturday October 10, 2015 @08:27PM (#10367540)
WhatsApp innovated by smart use of technology within the limits of how real social interaction works.

Twitter innovated by redefining how social interaction works - and then proceeded to slowly grow bloated and cashless.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by aandrieiev on Saturday October 10, 2015 @06:48AM (#10365118)
Perhaps because providing ad companies with the tools like these is the way to monetize the service?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by x1024 on Saturday October 10, 2015 @09:01AM (#10365366)
Well, it seems that idea has failed now. Why else would they be cutting costs?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by walshemj on Saturday October 10, 2015 @11:16AM (#10365736)
Because the ad companies with 40k are the one that will pay the bills
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by vidarh on Saturday October 10, 2015 @07:26AM (#10365178)
There are many well understood approaches to scaling this. There are operational challenges to it, but it's not that hard. E.g. decompose large follower lists by using reflectors, and cap the size in the messaging system to a suitably low number. Now you've reduced the issue to one of sharding it over enough machines.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by rjberry on Saturday October 10, 2015 @07:37AM (#10365206)
Hubris, much?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by vidarh on Saturday October 10, 2015 @10:39PM (#10367822)
Experience with messaging platforms. Keep in mind that Twitters platform is not particularly high volume for messaging systems. It is reasonably high volume for messaging between people. But people tweet rarely enough for Twitters overall volume to be all that special.

And Twitters core message exchange functionality is conceptually extremely simple.

You need to be able to take a message, and put it into the set of targets, T.

Problem is T can be "unreasonably big". E.g. millions of followers. Solution? If something is too big, see if you can divide the problem. Split T into smaller chunks t1..tn, and distribute them. If those chunks are still too large, split them again.

This reduces your problem to figuring out how to insert and remove and balance a tree, and how to process two kinds of message deliveries: Insert into timeline or reflect message to specified set of targets (each of which can be another reflector, or a final target timeline)

We all know of and use a system that does this at massive scale: E-mail w/forwarding and mailing lists. If you really wanted to (though it'd be extremely inefficient) you can do this with off the shelf mail-servers and other e-mail software. Using mail servers as messaging middleware might sound weird (and there are certainly better alternatives today), but it works just fine.

At Twitter scale there's certainly enough savings to be made from figuring various obvious and not so obvious optimizations (off the top of my head: for some of the users with the really extremely follower counts, it may make sense not to push their messages, but to push them to caches and weave them in dynamically) to justify the salaries of a few software developers to cut down on hosting and ops costs, but the basic problem is not hard.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by thewarrior on Sunday October 11, 2015 @10:09AM (#10369284)
I'd like to learn more about this. Any links/ resources you'd care to share ?

I tried Googling reflectors but nothing relevant turns up.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by jacquesm on Saturday October 10, 2015 @08:45AM (#10365333)
He's actually dead on. After that it's a 'mere matter of programming', so there's plenty of work to be done but that's the exact way how you tackle this particular problem.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by oldmanjay on Saturday October 10, 2015 @12:28PM (#10365982)
so in order to do what Twitter has done it is a mere matter of doing what Twitter has done, plus handwaving. how useful!
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by vidarh on Saturday October 10, 2015 @10:41PM (#10367825)
The "handwaving" here are simple, well understood problems both on the development side and operational side. As I've mentioned elsewhere: Twitters message volume or messaging patterns are nothing special. And it's a problem that is trivial to subdivide into manageable chunks.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by woah on Saturday October 10, 2015 @08:52AM (#10365346)
What are reflectors?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by jacquesm on Saturday October 10, 2015 @09:12AM (#10365388)
A piece of software that takes one input and fans it out to many consumers.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by trhway on Saturday October 10, 2015 @03:44PM (#10366715)
>If 10000 Twitter users with 1000 followers each send a tweet, that's 10000000 messages hitting queues.

if your system design is actually done that way, i.e. that that amount of actual msgs, in one shape or another, hitting actual queues... well, you would definitely inflicted "scale" onto your system. It is like for any powerful data system there is always possible to make a cartesian query that will kill it :)

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by vidarh on Saturday October 10, 2015 @11:00PM (#10367869)
You've "inflicted scale" but with constraints that makes it reasonable to handle:

As long as you first write the tweet to a durable canonical datastore, you can recover from the loss of any queue for individual users by re-processing the timelines of the accounts they follow. Hence you don't need those queues to be particularly durable. You can afford to cache a lot of data in memory, and write compressed updates to disk lazily. How durable you make the system is a tradeoff between the frequency of node failure and the cost of recovering from it vs. the cost of more nodes to handle lower write rates.

The alternative is to pull, but then you inflict polling costs + a lot of caching hassle.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by encoderer on Saturday October 10, 2015 @03:47PM (#10366724)
How else would you process notifications, etc?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by felixhandte on Saturday October 10, 2015 @07:59PM (#10367480)
Well, you can do write fanout, or you can do read fanout.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by encoderer on Sunday October 11, 2015 @02:16AM (#10368277)
But at some point you will need to send a push notification to my devices. You're going to do that in the same process that is reflecting the message to all recipients?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by xanderjanz on Saturday October 10, 2015 @07:10AM (#10365152)
In a certain sense, twitter's one-to-many messaging is simpler, because it is a smaller volume of messages that have to be served.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by kelseydh on Saturday October 10, 2015 @08:56AM (#10365356)
Not at all. Have you ever thought about caching Twitter? It's an archetypical example of a site that's extremely difficult to cache well, which is the source of so many of its scaling problems.

Every person's new feed is uniquely generated based on their followers. That means you can only at best cache at the individual tweet level -- you still need to uniquely generate a news feed for each user. This means that for every user you need to individually grab information simultaneously from the same high velocity tweets, while still being able to present information to each user uniquely based on conditions regarding how twitter should display tweets for that specific user individually. That's incredibly demanding data wise because it makes horizontal distribution of load much more difficult --- a huge number of people are all making demands on the same set of data resources, and you can't easily cache that data because of how real time and quickly updating it is.

In comparison WhatsApp on Erlang is basically just an example of extremely dramatic real time horizontal scaling. Hosting hundreds of millions of simultaneous chats is relatively trivial in Erlang, given each one is operating under its own separately scalable chat process. Since very few chats share data with one another, horizontal scaling is easy because you don't have the issue of the same resource getting called simultaneously by millions of unique users at the same time, who all need that resource represented back to their own news feed in differently categorized ways.

tl;dr: WhatsApp with the right technology is WAY easier to scale than Twitter.

---------------

(Speaking of the magic of Erlang for chat programs, this funny video "for Ruby/Node.js hipsters" explains how Erlang does this magic quite well: https://www.youtube.com/watch?v=rRbY3TMUcgQ) )

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by hiou on Saturday October 10, 2015 @10:44AM (#10365628)
WhatsApp has the benefit of running off of Facebook's infrastructure. Facebook certainly has plenty of employees.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by cpeterso on Saturday October 10, 2015 @03:02PM (#10366549)
WhatsApp was huge before Facebook acquired them. That's why Facebook acquired them.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by _pmf_ on Saturday October 10, 2015 @08:55AM (#10365352)
> I mostly agree, but the scale of what Twitter is doing technically is very different.

If anything, Twitter's operation is significantly easier.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by inthewoods on Saturday October 10, 2015 @09:00AM (#10365363)
In what sense? Technically? Business? Why is easier?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by Al-Khwarizmi on Saturday October 10, 2015 @05:12AM (#10364958)
The new video and calling system, innovation? Skype, Hangouts and Viber have had those features for years...

I don't think WhatsApp introduced any innovation at all, its popularity is derived from network effects, together with the questionable practice of using phone numbers as public ID and automatically adding all your phone contacts as chat contacts without them having any say in the matter.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by amix on Saturday October 10, 2015 @05:22AM (#10364984)
I am an active user of WhatsApp and their service is much more reliable than Skype or Hangouts. There's a reason why 800 million people are using it and it's not only because of network effects, it's because the base product and service is rock solid.

Their innovation is evolution of WhatsApp past text messages. And in the end, nothing is a true innovation -- most things build on past ideas.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by batrat on Saturday October 10, 2015 @06:55AM (#10365128)
"Reliable" is a relative term for WA. Everybody I know has a random delay in messages, the browser "thing" is mostly not usable, no desktop app, etc. You can not use WA for productivity.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by LoSboccacc on Saturday October 10, 2015 @07:21AM (#10365168)
but productivity never was it's intended target - skype was killed on mobile because of shitty notification requiring the app to be on for the longest time, call dropping, software block to 3g calls.

basically they shot themselves in the foot on the mobile market with an half assed implementation, and even today the notification system on skype mobile apps is dumb, especially how they handles balloons (the only app that could do worse on notification balloons is facebook)

whatsapp may not be a cornerstone of reliability, but it has an incredibly frictionless mobile user experience.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by collyw on Saturday October 10, 2015 @06:00AM (#10365033)
I bought an Ubuntu phone, and here its the netwok effect that stops my friends switching to Telegram or anything else.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by sdenton4 on Saturday October 10, 2015 @05:39AM (#10365005)
Phone numbers as ID is actually a really important innovation. I worked in Kenya for quite a while, and found that many people had email accounts they had no idea how to actually access. Email-based authentication doesn't work for a considerable proportion of the world's population. But cell phones are pretty ubiquitous: This ease of authentication is a big part of why whatsapp is kicking ass in the developing world.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by VLM on Saturday October 10, 2015 @08:13AM (#10365276)
"email accounts"

The plural is an important side issue. I only have one phone and one public phone number. I'm not sure how many email addresses I have, its definitely more than five but less than two dozen? I do know my broadband provider theoretically gave me an email address about a decade ago that I've never used. I hope no one is sending email to that address...

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by rohit_goyal on Saturday October 10, 2015 @08:52AM (#10365345)
Interesting. If you think from the UX point of view the cell number is much more convenient than email as people generally have multiple email ids but 1/2 phone ids. Also obviously the fake account issue is much much lower in phone's case compared to email ids.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by sumedh on Saturday October 10, 2015 @06:15AM (#10365062)
> they had no idea how to actually access.

My mom back in India finds email address and passwords confusing but she immediately understood watsapp and how to send messages to her sister in US.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by sumedh on Saturday October 10, 2015 @06:12AM (#10365054)
Watsapp works for me without any issues and its so simple, even my mom could understand it pretty fast.

Skype sometimes hangs on my pc and on the phone. Both my pc and phone have a good configuration yet Skype does not play nice.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by technological on Saturday October 10, 2015 @08:04AM (#10365262)
Innovation = How reliable their calling system is. Even with proper networks it works very well. I call my family back in india and it works so well without any disturbances.

Innovation for whatsapp = Simplicity + Reliability

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by princetontiger on Saturday October 10, 2015 @08:29AM (#10365307)
Several SF tech companies have been polluted by former investment bankers. I presume pushing paper and face time have become even more important.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by kelseydh on Saturday October 10, 2015 @09:28AM (#10365434)
Not to mention Twitter got a lot of its early success from making connections to media companies in television.

That may have worked for them, but I suspect it's filled the company with many media-only types in a toxic way similar to how Yahoo got hurt by thinking of themselves as only a media/ads company. That killed them against Google, who as Paul Graham pointed out, was a company that was still successful in feeling like a startup technology company well after becoming large.

Given Twitter's lack of technology innovations, I'm inclined to think they are more towards Yahoo than they are towards Google.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by samstave on Saturday October 10, 2015 @03:10PM (#10366589)
Doesnt anyone think that twitter laying off is an attempt by Dorsey to "streamline" and "focus on core competency" as he takes the official CEO reigns again?

Like he wants to come in with a drop in OPEX such that he has some flexibility with finances by dropping some staff?

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by applecore on Saturday October 10, 2015 @12:52PM (#10366077)
Twitter's third-quarter revenue is expected to be around $560 million USD. WhatsApp is certain to be a major source of revenue for Facebook, but right now it's de minimis.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by anjc on Saturday October 10, 2015 @07:34AM (#10365202)
I'm sure you can take a guess as to what Twitter employees do, what with the ad platform, firehouse access, APIs, infrastructure, frontends, celebrity management, support, and then the fact that it's a giant company, so HR, marketing, sales, finance...

I mean, it's obvious. And WA isn't necessarily a replicable model for all companies.

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by mahouse on Saturday October 10, 2015 @05:41AM (#10365010)
>I have often wondered what thousands of Twitter employees are doing all day long? Their platform and apps have been stale for a long time.

They are adding new complicated features that all users hate to "increase engagement".

Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by tefo-mohapi on Saturday October 10, 2015 @09:02AM (#10365367)
I agree @amix. More often than not it's asign of poor vision and leadership.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by eva1984 on Saturday October 10, 2015 @05:17AM (#10364969)
Why this is an innovation though? Just because they have fewer engineers to repeat the work that has been done by so many other companies?
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by whatsthat on Saturday October 10, 2015 @12:09PM (#10365929)
800 million users where? I've never seen anyone using it.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by rabite on Saturday October 10, 2015 @12:23PM (#10365971)
Every single Arab I know uses Whatsapp. Everyone in Lebanon, Kuwait, Libya, Syria, etc. Shittons of users in those areas, because phone services are so ludicrously expensive due to state-imposed telecommunications monopolies.
Re:Twitter Expected to Begin Layoffs and Stop Headquarters E... by petemcc on Saturday October 10, 2015 @02:22PM (#10366387)
Almost everybody I know in the UK uses it, a lot.