The Voice of Visionaries

How he built Twitter’s billing system with 40 engineers

Dwaraknath Bakshi took a leaderless Twitter payments team of six or seven people and helped grow it to forty. The hardest part was not the engineering. It was accepting he could not keep everyone happy.

Watch the full episode on YouTube

Executive summary

Dwaraknath Bakshi has worked across more domains than most engineers see in two careers: telecom at Verizon, Linux package management at Novell, banking and middleware at Goldman Sachs, tokenisation at PayPal, billing and payments at Twitter, foundational platforms at Freshworks, data infrastructure at LinkedIn, and now ERP at QAD.

At Twitter he was handed an ads revenue processing team of six or seven people that was in crisis and had no leader. Over the next three and a half to four years the team grew to forty, rebuilt the payments infrastructure, built the subscription engine behind Twitter Blue in partnership with Stripe, revamped and scaled billing roughly five to six times, and made advertiser onboarding frictionless.

The episode is nominally about engineering at scale. What it actually delivers is an unusually honest account of what changes in a person when they start leading. The conversation turns on one admission: "I have been a pathological people pleaser. And the main mindset shift that I had to make was — we can't make everybody happy."

Four decisions in this episode deserve study by anyone running an engineering organisation. He aimed engineering at the exact point where advertiser money stopped flowing. He learned the people history of an organisation before touching its technical history. He ran a different strategy for each team instead of one plan for all of them. And he picks every role on the same three axes: the people, the learning and the fulfilment.

Underneath all four sits the most portable idea in the conversation: understand how you got here before you change anything. New leaders arrive, decide the system is too complicated and start a rewrite — "and then they'll reach the same problem they were currently in." His evidence is a story against himself: in his seventh year at PayPal he found code that made no sense, ran git blame, and found his own name.


The story

The PayPal problem was simply stated and genuinely hard: get PayPal into the physical world.

Dwaraknath Bakshi on The Voice of Visionaries Dwaraknath Bakshi — engineering leader across PayPal, Twitter, Freshworks, LinkedIn and now QAD.

"You go to a brick and mortar store, you can't really pay using your username and password. So what is the best way to make PayPal be present in an offline world? That was the problem statement."

The team tried things that sound extraordinary now. Pay by face: you check in from your device, your face appears on the merchant's terminal, and the merchant invokes the payment. A QR-code product they called PayCodes. In the end, he says, it was tokenisation over NFC that stuck.

The technical translation problem is neat. An email address and password have to become a 16-digit card number that a point-of-sale system understands. That happens by partnering with the card networks, issuing an equivalent 16-digit number, and generating BINs against it.

The wrinkle was hardware. Apple Pay relies on a secure element in the device, which holds the recipe for generating a dynamic CVV locally. The Android phones of the time had no such element, so the team used what he calls secure element in the cloud — the BINs had to be retrieved rather than generated on the handset. "During those times, it was an evolving learning journey for all of us."

They integrated with Android Pay first, then Samsung Pay, and the traffic was unlike anything they had handled: "The amount of traffic we used to get, the on-calls were always buzzed." All of it, as he points out, in an era well before UPI existed.

Then came Twitter, where he joined as a staff software engineer on the ads revenue processing team — billing, advertiser onboarding and payments. The team had six or seven people, a crisis, and at one point no leader. A director he describes as a very good mentor asked whether he could take on engineering-manager duties until they figured things out. That is how the leadership began.

Quote card: "I have been a pathological people pleaser…" The mindset shift he names as the one that made the job possible.

What followed was the work a people pleaser finds hardest. Some of the people already on the team were not fitting into the scheme of things, and they parted ways. Fresh talent came in, people "who could come and see the problems from a different perspective and build." He is careful about the credit: "It was not, I did everything alone magically. Like I had a lot of mentors, a lot of people I spoke to."

Dwaraknath Bakshi describing the Twitter payments rebuild "We had like built a payment infrastructure." Three and a half to four years in, the team had also scaled billing roughly five to six times.

By the end of three and a half to four years, the team had built the payments infrastructure, powered Twitter Blue's subscriptions, revamped and scaled billing "almost 5–6x at Twitter scale," and made advertiser onboarding frictionless. "The team also grew and I also grew along with them, both as a person and as a leader."

He saw the company's culture move from Jack to Parag to Elon. Of Elon Musk — whom he was in rooms with many times but had one real conversation with, in an all-hands setting, about the payments vision for Twitter — he says: "When you talk to him about any idea, he will indulge. He's one of the best people to brainstorm ideas with." Of Parag Agrawal, met mostly over casual coffee at the Sunnyvale office: "You'll never feel like you're talking to a CTO or a CEO."

The story after Twitter is less about scale and more about judgment: what to change, whose history to learn first, and when to leave something alone.


Key decisions

Dwaraknath Bakshi on the Freshworks culture shift At Freshworks, he says, understanding "the people history" behind decisions mattered as much as the technical history.

Decision 1 — Solve friction where the money actually stops

The frictionless-spend work at Twitter is the clearest example of engineering aimed at a commercial problem rather than a technical one.

An advertiser sets a budget. When the budget runs out, the ad stops. His hypothetical is a shoe brand launching during the Super Bowl — the window where the ad is worth the most is also the window where the budget burns fastest. And to raise it:

"You had to take a phone, talk to another person, create a change order or create an insertion order, and then had to go through a bunch of processes before you actually could place an ad. The Super Bowl is long over and you no longer have that opportunity."

The answer the team and its product partners came up with was a credit line for advertisers that could move up and down: keep placing the ads, and be charged later. It was one of several kinds of friction the team removed.

Decision 2 — Learn the people history, not just the technical history

Moving from Twitter to Freshworks was, in his telling, a cultural shift more than a technical one. Freshworks was intensely people-oriented, with bonds formed in the startup years and carried into the organisation he took over.

"You could come from a Twitter and say, hey, this is not scaling, this is not right. You should change this. It's very easy. But understanding the context and understanding why it came through, that was a very major shift for me."

The phrase worth keeping: "not just the technical history, but also the people history behind it."

Decision 3 — Give each team its own journey

At Freshworks he owned the whole customer path: admin experience (trial sign-ups), billing and payments, a data platform for custom objects at scale, the communication platform, and foundational services like edge and rate limiting. Rather than one strategy, he ran three at once:

  • One team was underwater — constantly bombarded with on-calls — and needed its on-call load reduced before anything else was possible.
  • One team was moving towards a better system and a better experience.
  • One team had already solved its core problems and could look further ahead.

The arc across his tenure ran from sustenance — improving MTTD and MTTR, stopping outages — to building Jeeves, a generative-AI query engine so customers could "talk to data."

Decision 4 — Pick roles on three axes, every time

The same three questions decide every move he makes:

  1. The people he would work with
  2. The learning — will he learn something genuinely new
  3. The fulfilment — will he be able to create the impact he wants

LinkedIn passed all three. He had worked on data platforms but never data infrastructure, and data quality mattered enormously: "When everybody is going through AI, it's always garbage in, garbage out. So having a system that eliminates garbage was super important."

QAD came from a walk. A friend and former leader, Rajiv, had just moved there and was looking for leaders. "That one walk and that one conversation changed everything."


Mental models

A compass, not a map

"More than having a direction or a map, having a compass."

Told he seemed unusually structured, he pushes back — and the correction is more useful than the compliment: "I wish I was as structured as you are putting it out… None of these are proper structured lists or anything like that. It's mostly like mental models."

He keeps distinct mental models for hiring, execution, crisis mode and innovation. Day-to-day tactics cannot be prescribed; direction can. Within the lake, as he puts it, you can go right or left — but you keep the compass.

Data quality is three things

"You should not read partial information, you should not read old information, you should not read incorrect information."

From LinkedIn: freshness, correctness and completeness. Data travels through several hops from a source of truth to the AI model that consumes it. The quality system sits across those hops so that the consumer always reads the most accurate, most recent information.

Apply it: before arguing about which model to use, ask which of the three your data fails on.

Software supports the business

"Software is there to support the business, but business is not there to support software."

His answer on why compliance deserves engineering attention rather than resentment. The standards exist because "they have seen over a period of time leaks happen, people get impacted." And some of it is genuinely interesting work: making Twitter's existing payments system compliant with PSD2 took "a lot of decisioning and a lot of whiteboarding." Some of it is adding another tax country. Both matter.

System of record → system of action

"I can build a context graph, but so what? As human being, I can't go and query so many million rows."

This is the idea that pulled him to QAD — a company that has been around for 40 years and, he says, has been an ERP player since before SAP existed, mostly serving manufacturing. Traditionally an ERP stores and retrieves: invoices, orders, customers, finance.

His manufacturing example shows why that is not enough. You owe a large shipment of nuts and bolts. You make the nuts; the bolts come from a vendor who is now delayed. There is a penalty clause. Your options: find an alternate vendor, absorb the penalty, or pull the parts from a different order whose penalty clause is better than this one.

From a system of record to a system of action The nuts-and-bolts example from the episode: the data is there; the decision needs context.

Answering that requires a knowledge and context graph, because "when you look from a database standpoint, these two entities are probably not related at all. But when you look at it from a world standpoint, something is highly correlated to something else." Agents are the delivery vehicle — specialised ones for sales or procurement, hosted on an agentic platform.

The judgment stays human

"Any AI system that helps me create better judgment — the judgment is still mine."

He uses AI "all the time for everything," but draws a hard line on what it is for: "Principally I feel like decisioning and judgement is something that human beings can only do."


Frameworks

Framework 1 — Surviving information overload

For anyone whose inbox grew faster than their calendar. He offers what he actually does, with the caveat: "I probably don't practice as much as I preach."

Five habits for handling the volume that comes with seniority His five habits, in the order he gave them.

  1. Theme your calendar. Fridays are deep-work days; Mondays are meeting or one-on-one days.
  2. Batch your inbox. Scheduled times rather than every beep — "because now then you can actually do something about that information." He mostly keeps Slack and chat notifications off.
  3. Manage your emotional quotient — give feedback in the moment. He used to postpone difficult feedback, "and then the damage will be more." Being able to have a hard conversation at any point in the day means "you don't have to again postpone this conversation and have another open loop running on how am I going to deliver it."
  4. Learn to ignore what doesn't matter. Some threads you are looped into require nothing from you. Move them off.
  5. Be completely present in meetings. "As we grow, our knowledge building happens mostly because of conversations."

It never fully resolves: "I still have a bunch of open threads running in my head." What improves is selection — "you get better at knowing which threads to process, which threads to let go."

Framework 2 — Hiring by topgrading

An interview method for anyone tired of rehearsed answers. Walk the whole career, using the topgrading technique from Geoff Smart's book Who.

StepWhat he asksWhy, in his words
1Walk me through your career"Try to find patterns in the person's decisioning"
2What are you proud of — and not proud of?"It's very easy to curate answers, like tell an answer that a person wants to hear"
3What would your manager say about you?"You can sense signals on like what has really ticked for them and what has not ticked for them"
4Is there a growth mindset?"One word or two words that I look for in any candidate"

And he is looking for one thing above all: "If I have to say one word or two words that I look for in any candidate — growth mindset. If they have the growth mindset, they can come and learn anything."

Framework 3 — Three phases for any crisis

A sequence he says applies to work and personal life alike.

  1. Understand how you got here. Resist the rewrite instinct. Assume the people before you decided for a reason: "It's not like we are like the smartest people in the world and taking over." If a past decision no longer fits, ask what changed.
  2. Execute, and stop relitigating. "We can't keep second guessing ourselves every day after we have taken a decision. Whether it's good or bad, proceed with it and see." The failure mode: a decision made, work started, and by the third day everyone is back at the whiteboard asking why. "Analysis paralysis is one of the main reasons why we keep landing in similar situations."
  3. Learn, either way. "If things worked out, see what went well. If things didn't work out, still see what went well."

Dwaraknath Bakshi telling the git blame story "Then I go and do git blame to find it's me."

The git blame story is phase one in miniature. Seven years at PayPal; code he wrote in his first or second year; a piece of logic that made no sense in his seventh. "Who writes this kind of code?… Then I go and do git blame to find it's me. So, does it mean that I'm bad? No. It's just that at that point in time, it felt right."

Framework 4 — Pay for the course

A piece of self-knowledge rather than discipline.

"If I have to say that, okay, from tomorrow I'll get up in the morning at 5 and study this — I don't have that discipline to continue it. But if I pay money and sign up for a course, I will show up for that course."

He recently did a six-to-seven-week AI bootcamp with classes from 3 to 6 a.m. his time, waking an hour earlier to finish each assignment first. The paid cohort supplies what willpower does not: someone keeping students accountable, questions in conversation, and a community on the same journey.


Lessons

Engineering and leadership

  1. The leadership switch is a change of subject — from what grows you to what is best for the company.
  2. A people pleaser cannot make the calls a team in crisis needs until they accept they cannot keep everyone happy.
  3. Point engineering at the place where the customer's money stops moving, not at the most interesting technical problem.
  4. Learn an organisation's people history before you judge its technical history.
  5. Different teams in the same organisation can need different strategies at the same time.
  6. Data quality means freshness, correctness and completeness — and AI makes it more important, not less.
  7. Compliance work protects the customer's trust, and some of it is genuinely hard engineering.
  8. A context graph is only useful once something — an agent, in his view — can act on it.

Career and growth

  1. Choose roles on the people, the learning and the fulfilment.
  2. Go where you learn; his path runs through telecom, Linux packaging, banking, payments, social, SaaS, data infrastructure and ERP.
  3. Build the ability to filter — "more than ability to digest and absorb, we need to build ability to filter things out."
  4. Be picky about whose voice you follow, because "you go to YouTube, everybody talks about" agents.
  5. Paying for a course buys accountability you cannot supply yourself.
  6. Re-read the books that give you principles: he returns to Will Larson's An Elegant Puzzle for management problems and recommends The Engineering Executive's Primer, Who, Clear Thinking and a book on mental models.
  7. Gift books to the people you coach.
  8. "Great leaders are great human beings also" — the lesson he took from a former leader who stood by him through a very difficult 2025.

Actionable advice

This week

  • Pick one day to theme — deep work or meetings — and protect it.
  • Turn off chat notifications and set two fixed times to process your inbox.
  • Deliver one piece of feedback you have been postponing.

This month

  • Before changing an inherited system, write down why it was built that way and what has changed since.
  • In your next interview, walk the candidate's whole career instead of asking prepared questions.

This quarter

  • Sign up — and pay — for one course in the area you keep meaning to learn.
  • Map your teams: which one is underwater, which one is rebuilding, and which one is free to look ahead? Give each its own plan.

Final thoughts

The most striking thing about this conversation is how little of it is about scale, given the title. Forty engineers, five-to-six-times billing scale, Twitter Blue's subscription engine, tokenisation at PayPal — all of it gets described plainly and moved past. What he returns to, repeatedly, is judgment: whose history to learn, when to change something, and how to keep enough humility to know the difference.

The git blame story is the whole philosophy in miniature. The confusing code was his. It was not incompetence; it was a decision that made sense in a context he could no longer remember. Every inherited system contains decisions like that, and every new leader faces the temptation to read them as evidence that nobody before them was thinking.

That is why the compass matters more than the map. A map tells you the route and stops being true the moment the ground changes. A compass only tells you which way you are facing — the more durable instrument for someone who has moved through telecom, banking, payments, social, SaaS and manufacturing, and expects to keep moving.

"We can't make everybody happy."

Dwaraknath Bakshi, engineering leader at QAD Dwaraknath Bakshi — engineering leader; formerly PayPal, Twitter, Freshworks and LinkedIn.

Dwaraknath Bakshi is an engineering leader at QAD, where he is working on moving ERP from a system of record to a system of action. He previously led payments and billing engineering at Twitter and worked at PayPal, Freshworks and LinkedIn.

▶ Watch the full conversation on YouTube

Watch and read next