Teaching computers to keep time: Clockwork wants to solve a fundamental enterprise computing problem

The startup’s clock synchronization technology powers its new Latency Sensei software to detect network bottlenecks, hiccups and underperforming virtual machines.

Clockwork co-founder and CEO Balaji Prabhakar

Clockwork co-founder and CEO Balaji Prabhakar said "this decade is going to move on time."

Photo: Clockwork

The people who know the most about computers consider it nothing short of a miracle they actually work at all. A new enterprise startup called Clockwork wants to fix an old, fundamental problem with computer networks — their failure to keep very accurate time.

Its mission is to bring nanosecond clock-synchronization accuracy into distributed systems to empower time-sensitive applications used in cryptocurrency and stock trading, mobile banking, online gaming, database design and other industries.

“If you look at cloud computing, the big idea in the first decade of the century was virtualization,” Clockwork co-founder and CEO Balaji Prabhakar said. “The next decade was all big data, crunching large amounts of data. What we believe is that this decade is going to move on time, timeliness, deadlines, real-time control: things to do with more time sensitivity.”

Latency Sensei is Clockwork’s new network latency sensor for cloud, hybrid and on-premises data-center environments. Underpinned by the company’s clock synchronization technology, the software measures one-way network delays and helps customers detect bottlenecks, hiccups and underperforming virtual machines to optimize application performance.

Company executives say Latency Sensei’s sensor cuts through the “fog of virtualization” to give DevOps engineers visibility into their networks’ underlying infrastructure.

A Latency Sensei audit.Image: Clockwork

“When you go to the cloud and rent some virtual machines, you're in a bubble,” Prabhakar said. “You don't know what hardware you're running on, you don't know whether two virtual machines are in the same rack of servers or are they across each other in the data center. And when you don't know, you can't tell how much time was spent in the network. ”

Latency Sensei promises to solve this problem, determining as precisely as possible how long it takes for a packet or any piece of data to go from one node in a network to another node.

“For 50 years … in networking, we've never really managed to measure one-way delays accurately, because we don't have accurate clocks,” Prabhakar said, referring to unsynchronized network clocks. “All we've done historically is to say, ‘The time from here to there is half the time it takes to go from here to there and coming back.’”

That roundtrip time approach isn’t adequate to determine where a delay is happening, because it doesn’t distinguish between forward congestion and reverse congestion that can be picked up with accurate one-way times, he said.

“It doesn't work in the modern era where the time you spend on the wire is very small in data centers, and any congestion is really what's slowing you down,” Prabhakar said. “You're missing that information. It's a very powerful tool. After timestamps are taken, probably the first use would be to measure all the delays so you can tell whether a job is stuck in the network or it's stuck in the computer.”

Cryptocurrency trader Collect Trading and an undisclosed multinational financial services company are among early customers for Latency Sensei.

The Clock Sync software

Clockwork launched in 2018 to commercialize clock synchronization research conducted at Stanford University under the supervision of Prabhakar and VMware co-founder Mendel Rosenblum, who serves as Clockwork’s chief scientist. Prabhakar currently is on leave from Stanford, where he’s the VMware Founders Professor of Computer Science and an electrical engineering faculty member.

Latency Sensei’s underlying time-synchronization technology comes from Clockwork’s first software product, Clock Sync, which synchronizes clocks in computers at extremely high levels of accuracy: single-digit nanosecond accuracy for hardware timestamps and within hundreds of nanoseconds for software timestamps, according to the company.

The Clock Sync software launched for private data centers in March 2019 and for public clouds a year later. It can scale to thousands or tens of thousands of nodes.

Accurate clock synchronization is an old problem, and the jittery nature of networks connecting the clocks in servers makes it hard to resolve, because the networks could add random delays to packets exchanged by the clocks, according to Prabhakar.

Latency Sensei checks for any lag time and diagnoses where it occurs.Image: Clockwork

“The network is kind of the enemy in this equation,” he said. “The approach taken was to synchronize the switches in the network with the reference clock and use the network to convey time. This is a hardware-based way of doing it – expensive and hard to scale.”

Clockwork came up with a software approach that doesn’t require a network upgrade.

“The way we went about it was to not touch the network, but make it more of a signal processing, machine learning-type approach, by just cleaning up the timestamps that we get from all the random delay noise added by the network,” Prabhakar explained. “We treat the network like a black box and make clock synchronization an application service. This makes us scalable and accurate. Could this have been done 30 years ago or 25 years ago, probably not — not the way we've done it, because the ML technology that we needed wasn't around.”

Wells Fargo, the Royal Bank of Canada, Nasdaq and eBay are among customers using Clock Sync.

“The financial industry and gaming are similar in terms of the fairness problem,” Prabhakar said. “When two different traders are placing trades, you want to make sure that the trades are executed in the order in which the traders place them and not in a different order, which can happen if the wires are not all the same length. The same thing happens in multiplayer games.”

Clockwork announced $21 million in venture funding last month, a series A round led by New Enterprise Associates (NEA). The company is focused on increasing the speed of adoption for Latency Sensei and Clock Sync and building other products atop its clock synchronization system, including one to reduce latency.

“Having computers synchronized is a really powerful thing,” said Greg Papadopoulos, an NEA partner and the former chief technology officer at Sun Microsystems. “I can tell you almost assuredly that we will also be investing aggressively in the next [funding] round, too. There's just so much promise here. It is really something that you don't get to see that often … where you can take such a fundamental idea that can transform an area and, at the same time, you're not really sure what that means. It's really going to be the story of how we taught computers to keep time.”


Judge Zia Faruqui is trying to teach you crypto, one ‘SNL’ reference at a time

His decisions on major cryptocurrency cases have quoted "The Big Lebowski," "SNL," and "Dr. Strangelove." That’s because he wants you — yes, you — to read them.

The ways Zia Faruqui (right) has weighed on cases that have come before him can give lawyers clues as to what legal frameworks will pass muster.

Photo: Carolyn Van Houten/The Washington Post via Getty Images

“Cryptocurrency and related software analytics tools are ‘The wave of the future, Dude. One hundred percent electronic.’”

That’s not a quote from "The Big Lebowski" — at least, not directly. It’s a quote from a Washington, D.C., district court memorandum opinion on the role cryptocurrency analytics tools can play in government investigations. The author is Magistrate Judge Zia Faruqui.

Keep ReadingShow less
Veronica Irwin

Veronica Irwin (@vronirwin) is a San Francisco-based reporter at Protocol covering fintech. Previously she was at the San Francisco Examiner, covering tech from a hyper-local angle. Before that, her byline was featured in SF Weekly, The Nation, Techworker, Ms. Magazine and The Frisc.

The financial technology transformation is driving competition, creating consumer choice, and shaping the future of finance. Hear from seven fintech leaders who are reshaping the future of finance, and join the inaugural Financial Technology Association Fintech Summit to learn more.

Keep ReadingShow less
The Financial Technology Association (FTA) represents industry leaders shaping the future of finance. We champion the power of technology-centered financial services and advocate for the modernization of financial regulation to support inclusion and responsible innovation.

AWS CEO: The cloud isn’t just about technology

As AWS preps for its annual re:Invent conference, Adam Selipsky talks product strategy, support for hybrid environments, and the value of the cloud in uncertain economic times.

Photo: Noah Berger/Getty Images for Amazon Web Services

AWS is gearing up for re:Invent, its annual cloud computing conference where announcements this year are expected to focus on its end-to-end data strategy and delivering new industry-specific services.

It will be the second re:Invent with CEO Adam Selipsky as leader of the industry’s largest cloud provider after his return last year to AWS from data visualization company Tableau Software.

Keep ReadingShow less
Donna Goodison

Donna Goodison (@dgoodison) is Protocol's senior reporter focusing on enterprise infrastructure technology, from the 'Big 3' cloud computing providers to data centers. She previously covered the public cloud at CRN after 15 years as a business reporter for the Boston Herald. Based in Massachusetts, she also has worked as a Boston Globe freelancer, business reporter at the Boston Business Journal and real estate reporter at Banker & Tradesman after toiling at weekly newspapers.

Image: Protocol

We launched Protocol in February 2020 to cover the evolving power center of tech. It is with deep sadness that just under three years later, we are winding down the publication.

As of today, we will not publish any more stories. All of our newsletters, apart from our flagship, Source Code, will no longer be sent. Source Code will be published and sent for the next few weeks, but it will also close down in December.

Keep ReadingShow less
Bennett Richardson

Bennett Richardson ( @bennettrich) is the president of Protocol. Prior to joining Protocol in 2019, Bennett was executive director of global strategic partnerships at POLITICO, where he led strategic growth efforts including POLITICO's European expansion in Brussels and POLITICO's creative agency POLITICO Focus during his six years with the company. Prior to POLITICO, Bennett was co-founder and CMO of Hinge, the mobile dating company recently acquired by Match Group. Bennett began his career in digital and social brand marketing working with major brands across tech, energy, and health care at leading marketing and communications agencies including Edelman and GMMB. Bennett is originally from Portland, Maine, and received his bachelor's degree from Colgate University.


Why large enterprises struggle to find suitable platforms for MLops

As companies expand their use of AI beyond running just a few machine learning models, and as larger enterprises go from deploying hundreds of models to thousands and even millions of models, ML practitioners say that they have yet to find what they need from prepackaged MLops systems.

As companies expand their use of AI beyond running just a few machine learning models, ML practitioners say that they have yet to find what they need from prepackaged MLops systems.

Photo: artpartner-images via Getty Images

On any given day, Lily AI runs hundreds of machine learning models using computer vision and natural language processing that are customized for its retail and ecommerce clients to make website product recommendations, forecast demand, and plan merchandising. But this spring when the company was in the market for a machine learning operations platform to manage its expanding model roster, it wasn’t easy to find a suitable off-the-shelf system that could handle such a large number of models in deployment while also meeting other criteria.

Some MLops platforms are not well-suited for maintaining even more than 10 machine learning models when it comes to keeping track of data, navigating their user interfaces, or reporting capabilities, Matthew Nokleby, machine learning manager for Lily AI’s product intelligence team, told Protocol earlier this year. “The duct tape starts to show,” he said.

Keep ReadingShow less
Kate Kaye

Kate Kaye is an award-winning multimedia reporter digging deep and telling print, digital and audio stories. She covers AI and data for Protocol. Her reporting on AI and tech ethics issues has been published in OneZero, Fast Company, MIT Technology Review, CityLab, Ad Age and Digiday and heard on NPR. Kate is the creator of RedTailMedia.org and is the author of "Campaign '08: A Turning Point for Digital Media," a book about how the 2008 presidential campaigns used digital media and data.

Latest Stories