Tag Archive for: former

Testing decentralized storage speed

Long time VIA blog readers will know that VIA focuses on military-grade and enterprise-grade Web3 components for data privacy like zero-knowledge proofs. But where is all that data stored? In the Web3 world, IPFS is a standard for decentralized storage. Is a private version of decentralized storage ready for the enterprise?

We’re going to focus on speed. Decentralized storage has claims of being faster than centralized storage. We decided to test that with our own private deployment of decentralized storage and publish the results for you.

For our testing, we put four files of different sizes (114 bytes, 6.2Mb, 311 MB, and 933 MB) on a node in Japan. We also created a node in our local region of the East Coast of North America. 

As expected, the download times for when we accessed the file without a local node varied by file size. The download times for each file size was relatively consistent:

File Size Average Range
114 bytes 292ms 288ms to 293ms
6.2 Mb 1.84s 1.58s to 2.14s
311 MB 20.33s 19.77s to 22.09s
933 MB 62.67s 60s to 65s

In comparison, decentralized storage was:

  1. Significantly faster on all downloads for a smaller file (initial download and subsequent downloads)
  2. Slower on initial download for larger files
  3. Significantly faster on subsequent downloads for larger files

Here are the times for the initial file downloads:

File Size Average Range
114 bytes 155ms 155ms
6.2 Mb 2.6s 2.5s to 2.7s
311 MB 76s 76s
933 MB 237.5s 235s to 240s

Here are the times for subsequent file downloads:

File Size Average Range
114 bytes 9.45ms 3ms to 36ms
6.2 Mb 70.6ms 49ms to 109ms
311 MB 4.06s 3.59s to 4.74s
933 MB 17.28s 15s to 19.11s

Of course, it’s not just that the same user would receive faster downloads for the same file on subsequent attempts. As Web3 pros will know, any authorized user nearby would get routed to the local node and therefore benefit from the increased speeds. The greater the number of users in different locations, the greater this benefit.

In the context of a private decentralized storage deployment, administrators can force nodes to clean up and remove files when needed if they don’t want something in one location. Administrators can also “pin” content to a specific node (location) if they want to make sure something is always available. 

For you visual learners, here are the summary results:

Watch a quick demo video below:

Our takeaway is that decentralized storage has a speed advantage over centralized storage for enterprises where:

  1. There is a highly geographically distributed user base 
  2. There is interest in dynamically allocating files to specific locations to optimize file download times

Follow VIA’s website and social media (LinkedIn, Twitter, Instagram, and Threads) to catch the latest!

 

2 Fast 2 Curious: Blockchain and foreign policy

The second installment of our summer learning series continues the discussion on blockchain, but this time from a foreign policy perspective. Follow VIA to learn about blockchain, zero-knowledge proofs, and all things Web3 in the Fast and Curious series.

Below is a transcript of the video:

As a country, we want to make sure that we’re safe. National security is of interest to all of us, and we need to make sure that there are ways to limit the power or keep checks and balances to unfriendly countries.

And as an example, things like cryptocurrencies or digital currencies can be used for nefarious reasons. They can be used in black markets. They can also be used by countries that have sanctions against them like Russia for invading Ukraine. It’s a way for people to get around embargoes or sanctions.

In September of last year, the United States White House put out a publication. It’s a longer document, and it’s the first-ever framework for digital assets. And the thing you’ll note is despite all of what’s happening today around regulation and legislation (really that’s just trying to clean up fakes in the industry) that there’s a clear commitment to U.S. leadership in the global financial system and economic competitiveness.

And I think that’s sort of reinforcing the points we just talked about in our previous video. There’s also the importance of kickstarting the private sector. It’s jobs for everyone, making sure there are high-paying jobs. A little bit further down there is a recognition of the potential benefits and risks of a U.S. central bank digital currency and how important that is to the United States around maintaining the U.S. dollar leadership. 

In a lot of ways globally, the U.S. dollar provides stability. The framework also aims to ensure that white-collar crime and fraud don’t become the domains of digital currencies overall.

So lots of reasons why Web3 and blockchain play a huge role around this area of domestic policy and foreign policy.

Number one, jobs. Very high-paying, high-quality jobs to create a robust domestic economy.

Number two, foreign competition. Making sure that sanctions and embargoes are maintained despite the proliferation of digital currencies.

And number three, the U.S. dollar. Making sure that the U.S. dollar, which has a huge role to play in the global economy, not just at home, and any kind of central bank digital currency can play an equally important role. Or, as digital currencies gain favor in the world, that the U.S. role is not diminished as a result of a rise in blockchain, Bitcoin and other digital currencies.

So there we have some of the key reasons domestic and foreign policy is having an impact on blockchain, and also how Web3 and blockchain is impacting domestic and foreign policy. We’re excited to see the commitment by the U.S. government in this area.

Thanks for watching. Stay tuned for next episode.

Fast and Curious: Blockchain and domestic policy

This is the first installment of our brand new summer learning series: Fast and Curious. We’re summarizing key insights from our most popular private speaking events at Harvard, MIT, and elsewhere. For fans of our Blockchain Unboxed event, this video follows up on the connection between blockchain and domestic policy. Follow VIA to learn all about zero-knowledge proofs, public policy, and Web3 in the next few weeks.

Below is a transcript of the “Blockchain and Domestic Policy” video:

Welcome everyone to Fast and Curious with VIA. It may seem like an odd confluence of events, but actually the area of Web3 and blockchain impacting and being impacted by domestic policy and foreign policy is of high national importance and we’re going to spend one minute today to bring you up to speed on why that’s the case.

So first, let’s have a look at some companies. Let’s rewind the clock to 2011. And if you were to look at December 2011 and a list – thank you Wikipedia – of the largest companies by market capitalization on the planet, there are some observations to make about this list from 2011.

One observation is there’s a mix of countries. The United States is on this list, but you also have China and you’ve got Australia and Royal Dutch Shell, which is an Anglo-Dutch company.

Second observation is you’ll see commodities, right? So you’ll see the world of energy playing a big role. But energy more like oil and gas. Natural resources are really what’s driving this list from a big part, not exclusively, but from a big part.

Now, fast forward ten years, right? And let’s look at the list from 2021. In December 2021, when you look at that list, what’s the observation? Well, compare and contrast. Number one, a lot more American companies on this list. Eight out of ten of the companies are from the United States.

And number two, tech kind of plays the leading role here. Everybody basically on this list, even Taiwan Semiconductor or, you know, you could argue Berkshire Hathaway is not a tech company, it’s a financial services company. It is an investment firm, but who are some of the biggest stocks that they own? They own Apple, number one of that list. They own Microsoft, number two on that list. They own Amazon, number four on that list. So in a way, it’s an investor of some of the other companies higher up.

So the thing we’re seeing here is from a domestic policy standpoint, if you want to be elected and you want to be reelected, then one of the fabulous most easiest ways to do that is jobs. Create a strong economy. And the evidence shows that technology is a driver of high quality, high paying jobs. And how do you get more people employed? Well you make sure that there are technology jobs available here in the United States.

And so this is one reason that you’re seeing the United States focus in this area around things like blockchain and Web3, because 25 years ago, 25 or 30 years ago, you might not have picked the Internet or high technology as the biggest places where jobs are going to be created. But now that’s where wealth creation is happening. The result is the United States thinks ten, 15, 20, 25 years ahead of time. And with that perspective, an investment in things like Web3 and blockchain are inevitable because from a defensive perspective, you don’t want to miss out on this opportunity and have those jobs go elsewhere, have some other country become the main provider of that industry. And you want to be able to provide here domestically good things like high paying wages to people right here at home.

Our summary here is that the U.S. has leaped ahead in the economic league tables with the help of tech companies. U.S. investment in technologies like Web3 and blockchain are in the best interest for the long-term health of the U.S. economy.

In our next segment of Fast Curious, we’ll look at blockchain and foreign policy.

 

Former WSJ White House Correspondent and Senior Director at Circle, Jared Favole, interviewed during VIA live stream

VIA had the pleasure of hosting Jared Favole, Senior Director, Communications and Policy at Circle and former White House Correspondent for the Wall Street Journal at VIA’s headquarters in Somerville two weeks ago. Jared joined us for our first-ever live streamed event. VIAneers in Somerville, Montreal, and viewers from around the globe tuned in to hear VIA’s CEO, Colin Gounden, interview Jared Favole to discuss all things blockchain and domestic and foreign policy.

Circle is a global financial technology firm and the issuer of USDC and Euro Coin – highly liquid, interoperable, and trusted money protocols on the internet.

One of our favorite quotes from Jared during the event ties to the benefits of digital currencies over cash:

“The traditional way to deliver aid, particularly in the middle of a war zone or strife, sometimes amounts to literally flying a plane and dropping a palette of cash … if you tried to create an innovation called “cash” today, it would not get approved.”

Jared also shared his experience while being a White House Correspondent, his thoughts on how to make blockchain work in the future, and answered a number of excellent questions submitted from audience members on social media, the live chat, and in person. The full recording of the 45-minute discussion is available below:

As a follow up, blockchain, Web3, and particularly zero-knowledge proof enthusiasts will be excited to hear that we are launching “Fast and Curious,” a summer learning series of short videos where our CEO Colin Gounden gives an overview of specific topics in the Web3 space.

The first blog in this series will also be on blockchain and domestic and foreign policy. So, follow VIA’s website and social media (LinkedIn, Twitter, Instagram) to catch the latest!

Power Up! Winner: AI to improve developer experience

Frequent readers of VIA’s blog will know that twice a year we invest several days into “Power Ups!” These are days where 100% of VIAneers to stop bumping their heads on their day-to-day tasks and think about ways we can improve the way we work.

This year, we focused on artificial intelligence (AI). VIAneers self-selected into 13 teams and came up with ideas to leverage AI. Ideas included everything from ethical guidelines for AI, and how to generate more blog content, to how to use AI to support Kubernetes deployments.

This Power Up! we upped the stakes and had the teams compete for a $1,000 USD prize to be spent on anything that they would like. We were privileged to have Major General Kim Crider (ret) former Chief Technology Innovation Officer of the United States Space Force, Tom Davenport, author of more than 11 books on analytics and AI, and Tom Werner, former CEO and Chairman of SunPower join VIA’s COO, Kate Ravanis as our panel of judges to select the winner.

Winners were judged based on four criteria: VIA Value, Technical Readiness, Risk Consideration, Presentation Skills.

All of our VIAneers did an incredible job of not just finding great ways to leverage AI but also implementing them in the 2.5 day Power Up! time limit. 

But, there could only be one winner. 

The team that won was the TL;DR team. As readers know, we love a good pull request (feedback on developer code changes). While we have a whole language system about how to provide feedback on pull requests, TL;DR team figured out how AI could be used to help write a summary of the pull requests to aid reviewers.

“We found that all the teams had done an exceptional job generating ideas and taking a first pass at articulating the benefits and the implementation plans for their AI initiatives. What the judges thought made TL;DR stand apart was that the team had actually implemented their solution and reviewed internal data to quantify a savings of more than $250,000 per year with no additional costs. The fact that they had also thought through how to make the AI generated summaries reflect VIA’s culture and values was a special bonus from my perspective.” said Kate Ravanis, VIA’s COO.

As the video below shows, the TL;DR team’s AI generates summaries of pull requests to speed up the code review process.

Here are a few examples of how the TL;DR team’s project excelled against the evaluation criteria in just a few short days:

  1. VIA Value – The team requested internal data and was able to quantify the expected value (over $250,000 per year) and provided a spreadsheet to show their work.
  2. Technical Readiness – The code was working and demonstrated on a current VIA repo using VIA’s existing infrastructure. Bonus points that the AI model was directed to generate text that reflected VIA values and even use emojis.
  3. Risk Consideration – The team evaluated external solutions but ultimately implemented an in-house solution to protect VIA’s intellectual property. A thoughtful addition is to add a warning to each response that it is generated by AI and may not be 100% accurate.
  4. Presentation Skills – Every team had a 5 minute limit and TL;DR did a great job of summarizing their solution clearly and concisely.

Less than two weeks later, this solution is already live and in use today with VIA developers. 

Consistent with our long-standing commitment to improving developer communities everywhere, after further testing at VIA we will open source this project and make it available on GitHub.