Category

Hyperledger Caliper

2019 Summer Mentee Project Update: Constructing a Graphical User Interface (GUI) for Hyperledger Caliper

By Blog, Hyperledger Caliper, Hyperledger Summer Mentorship Program

What I worked on

The Hyperledger Caliper summer internship was a very fulfilling experience for me! It solidified my technological foundation on full-stack development, large-scale project integration, Hyperledger Blockchain configuration, and data visualization.

Before this internship, I mainly worked on theoretical blockchain and cryptography research at Purdue University, and this internship gave me a perfect balance between development and research.

I also gained many invaluable connections with those awesome contributors to Hyperledger projects!

The main objectives of this internship are:

  • Constructing a Graphical User Interface (GUI) for Hyperledger Caliper with real-time visualization functionalities.
  • Supporting Caliper test configuration file generating, editing, and saving functionalities on the Caliper GUI.
  • Connecting the GUI with databases by saving test results and configuration file objects into MongoDB.
  • Building backend server and API to get the network and test configuration files for Hyperledger blockchain tests.
  • Integrating Caliper GUI with Caliper core workflow and making Hyperledger Caliper more user friendly in the future.

I want to thank everyone that made my internship successful and meaningful, especially my awesome mentors: Feihu from Huawei and Klenik from Budapest University of Technology and Economics! I also want to give thanks for the help from Nick, who is also one of the major contributors to the Hyperledger Caliper project, and Baohua from Oracle, who gave me so much great advice on my internship and career in the blockchain industry!

What I learned or accomplished

 Technological accomplishments:

  • I learned many full-stack technologies that can support my future development efforts.
  • I started a project from scratch and was able to successfully develop it by learning a lot from many contributors in Hyperledger.
  • I fully understand and re-implemented the test mechanism of Caliper on different Hyperledger frameworks using the Caliper GUI.

Team work:

  • I learned to collaborate in an open-source project and successfully communicated with other members and helped solve their problems.
  • I circumvented integration obstacles and focused on things that can make progress.
  • While working with the team, I realized breaking tasks down into small modules was more efficient and accomplished my goals by working on them one by one.

The exciting part of this project is that it can help new users of Hyperledger blockchain frameworks get an intuitive understanding of their project performances. This will make all blockchain and Hyperledger technologies more approachable for users and developers!

What comes next­­

From here, there are many next steps to come for both me and this project.  I’m now looking for a full-time opportunity that can let me apply everything I learned in college and  from Hyperledger to the FinTech, blockchain, and machine learning industries. My goal is to make the world more efficient.

Technological Improvements I envision for the Caliper GUI include:

  • Dockerizing the GUI, which includes server, client, and database.
  • Using Electron JS package to make this GUI a desktop application.
  • Using Redux to build global state tree in the GUI front end, so that the variable states and visualization are absolutely real-time connected with the backend data flow from server and caliper-core.
  • Open source the GUI and get more contributions from the world.

For more of the Hyperledger Caliper GUI, read my full summer project report here.

Hyperledger Unveils 17 Summer Internship Opportunities

By Blog, Hyperledger Caliper, Hyperledger Fabric

The Hyperledger Summer Internship program is back and bigger than ever for 2019! This year, Hyperledger is offering 17 paid internship opportunities for students who want real world experience advancing open source blockchain technologies.

The line-up of internship projects are each led by active developers in the Hyperledger community and offer a fast path to becoming an active contributor to key blockchain frameworks and tools. This is your chance to:

  • Develop a close working relationship with open source professionals and industry leaders to expand your professional network.
  • Learn open source development infrastructure and tooling first hand by working closely with active developers in the community.
  • Build your resume by doing hands-on opportunity work that advances your academic and professional interests.

Each intern will be  paired with a mentor or mentors who designed the project to address a specific Hyperledger development or research challenge. The mentors will provide regular evaluations and feedback. Interns can work from anywhere, will receive stipends and be invited to travel (with expenses covered) to a Hyperledger event where they will present their work to the community.

This is the third year for the Hyperledger Internship program. It has grown quickly from six projects in the first year to 17 this summer. Many of last year’s interns shared their experiences in a blog post; see what they had to say here.

The application process is now open and the deadline to apply is April 22. You may submit your application here. Read on for descriptions of some of the projects planned for this year.

Hyperledger Caliper Visualization Project

Hyperledger Caliper is a platform for facilitating the execution of user-provided workloads/benchmarks on multiple blockchain platforms in a transparent way. Caliper achieves its flexibility by relying on two configuration files during its execution.

One configuration file describes the test rounds that Caliper must execute, including: the intensity/rate and content of the workload; the deployment of processes that generate the workload; and additional monitoring settings. The other configuration file describes the target blockchain network in detail, at least including the topology of the blockchain network (among other, platform-specific attributes).

The aim of the project is the following:

  • Create a GUI component for Caliper that makes the management of configuration files easier, specifically:
    • Assembling/generating configuration files through the GUI
    • Saving, loading and editing configuration files
    • Providing built-in documentation and tips for the users
  • Visualize in real-time the key performance indicators observed during the execution of a benchmark

IoT and DLT in a Telecom Multi-carriers Architecture Project

The three major characteristics of IoT are mobility, scalability and interoperability that play at three different levels/layers: identity, connectivity and application.

Blockchain and trusted identities enable the true potential of IoT.

Current needs:

  • Trusted IoT identities: enabling connection or communication among entities
  • Scalable connectivity
  • Interoperability of apps

The solutions:

  • Cryptographically secured identity
  • Autonomous provisioning
  • Decentralization

Task 1: 1º PoC

Using Indy to building up an IdM system taking into account the needs of an IoT architecture (mobility, scalability and interoperability) and challenges (access control, privacy, trust and performance).

a – proving basic feasibility and viability

b – proving feasibility with a real system and providing viability

Task 2:

Identify the metrics to measure the performance & scalability of a decentralized IdM for IoT

Task 3: 2º PoC

a – proving scalability to bi- parties (2 carriers) and a large amount of data

c – proving privacy and confidentiality in bi- parties (2 carriers) environment

d – exploring integration with different types of data & contract types

X.509 Certificate Transparency Using Hyperledger Fabric Blockchain Project

The security of web communication via the SSL/TLS protocols relies on safe distribution of public keys associated with web domains in the form of X.509 certificates. Certificate authorities (CAs) are trusted third parties that issue these X.509 certificates. However, the CA ecosystem is fragile and prone to compromises.

Leveraging recent advances in blockchain development, we recently proposed a novel system, called CTB (Certificate Transparency using Blockchain), that makes it impossible for a CA to issue a certificate for a domain without obtaining consent from the domain owner (See https://eprint.iacr.org/2018/1232 for a copy of the paper).

CTB (Certificate Transparency using Blockchain) proposes a Hyperledger Fabric (HF) network among the member certification authorities by requiring each certificate authority to play the role of endorsing peers and who belong to different organisations (orgs in HF vocabulary). The aim of this project is to scale up the existing proof-of-concept implementation through several stages:

  1. Development of client application for Certificate Authority organisation and Browser organisation facilitating access to the underlying fabric blockchain network.
  2. Setting up the CTB over cloud.
  3. Chrome extension for browser client application.
  4. Benchmarking CTB-assisted SSL/TLS handshake duration

Read more details on the above projects and many more here. Then check out the eligibility requirements and application steps.

Remember, applications are due by April 22 submit your application here.

If you have any questions, please contact internship@hyperledger.org. Remember, you can always plug into the Hyperledger community via github, Hyperledger Chat, the wiki or our mailing lists.

Hyperledger Extends Global Reach With Diverse Set of New Members

By Announcements, Hyperledger Caliper, Hyperledger Fabric

14 organizations from India to Switzerland, BVIs to Spain invest in open blockchain & distributed ledger technologies

SAN FRANCISCO – (March 28, 2018) Hyperledger, an open source collaborative effort created to advance cross-industry blockchain technologies, announced today that 14 new organizations have joined the project. With these new members, the Hyperledger community has grown to 231 organizations in more than 25 countries.

Hyperledger has gained significant traction as a multi-project, multi-stakeholder effort and now includes 10 business blockchain and distributed ledger technologies. Building on the momentum from the Hyperledger Sawtooth 1.0 release at the end of January, the Hyperledger Technical Steering Committee recently accepted Hyperledger Caliper, a blockchain performance benchmarking tool, into incubation. Additionally, Hyperledger Fabric version 1.1.0 was released just last week.

“The accelerating pace of growth and adoption of Hyperledger across industries and geographies underscores the power of our community and the technologies it is building,” said Brian Behlendorf, Executive Director, Hyperledger. “It also reflects a global awakening to the impact of blockchain for business. Every day, we hear from organizations with new ideas and new applications for our frameworks. Our growing and diverse membership is key to turning that energy and innovation into the building blocks for increasingly business critical deployments.”

Hyperledger aims to enable organizations to build robust, industry-specific applications, platforms and hardware systems to support their individual business transactions by creating enterprise-grade, open source distributed ledger frameworks and code bases. It is a global collaboration of leaders in finance, banking, IoT, supply chain, manufacturing and technology. The latest general members to join are: Beijing Truth Technology, Blockchain Technology Partners, CULedger, Greenstream Technology, KompiTech, MATRIX Foundation, REMME, Ripple, Shenzhen Rongxun Technology, Spin Systems, Versia and Xiilab Co.

Hyperledger supports an open community that values contributions and participation from various entities. As such, pre-approved non-profits, open source projects and government entities can join Hyperledger at no cost as associate members. Associate members joining this month include: Cambridge Centre For Alternative Finance (University of Cambridge) and Kerala Blockchain Academy.

New member quotes:

Beijing Truth Technology

“Truth Tech views the adoption of blockchain technology as a powerful tool for helping us accelerate our mission of developing a universal legal blockchain underlying infrastructure,” said Rokken Shek, Founder, Beijing Truth Technology Co., Ltd. “We are actively aggregating the leading technology and resources of Hyperledger and collaborating with the community on our industrial blockchain – a unified, legally trustworthy cloud computing platform designed to eliminate isolated information islands, ensure data security, promote the valuable flow of data and enhance the government authority and service level of judiciary in public data service. Additionally, we are actively constructing the ‘Legaltech Blockchain Alliance,’ called legalXchain, by using Hyperledger Fabric as the framework to serve intelligent judiciary, Internet nomocracy, Internet governance transparency, copyright protection and digital assets trading.”

Blockchain Technology Partners

“After being an active member of the Hyperledger community for the past two years at my previous company, Cloudsoft, engaging with the community at BTP was a priority,” said Duncan Johnston-Watt, CEO of Blockchain Technology Partners. “BTP is committed to both consuming and contributing to open source. We provide a production ready blockchain platform built using Hyperledger Sawtooth, and we partner with businesses to deliver blockchain-based solutions that we then operate on their behalf using Apache Brooklyn. Our first customer is The Scotcoin Project, which is the community interest company behind Scotcoin, Scotland’s digital currency.”

CULedger

“Until now, CULedger’s involvement in Hyperledger has been through our valued partners,” said Julie Esser, Chief Engagement Officer of CULedger. “We are excited and honored to have this direct relationship with Hyperledger to help advance our global self-sovereign digital identity strategy for the more than 230 million credit union members worldwide.”

Greenstream Technology

“We are honoured to become members of Hyperledger and the Linux Foundation,” said Manu Varghese, Chief Product Officer of Greenstream. “We strongly believe that this association will support Greenstream as we achieve our vision of developing a secure, compliant & trusted enterprise grade blockchain solution for the emerging legal Cannabis industry in Canada. The collaboration through Hyperledger will provide us the resources, tools and relationships to ramp up our development of the Greenstream platform. We are excited to actively participate in the community and to drive the development of a leading-edge blockchain solution for the Canadian market.”

KompiTech

“It has been really exciting working with Hyperledger in recent months, and KompiTech is delighted to join the Hyperledger family,” said Greg Erhahon, CEO, KompiTech. “As a Swiss company dedicated to the delivery of quality services, we recognize the impact blockchain technology can have in optimizing our processes and helping our customers to get things done in the real world. With the power of blockchain, our platform of IT Service Providers has the potential to vastly reduce cost and complexity of delivering IT Services to customers globally.”

MATRIX Foundation

“It is our great honor to join the Hyperledger community,” said Steve Deng, MATRIX Chief AI Scientist. “Following the spirit of openness and global collaboration, Hyperledger has done a great job in promoting scalable and safe blockchain technologies, which are coincident with MATRIX’s pursuit to build a faster, safer and easier-to-use platform running AI-empowered smart contracts. We look forward to working with other members of Hyperledger to make contributions for a human society with an unprecedented level of freedom and trust.”

REMME

“The REMME PKI (d) protocol we’re building makes use of Hyperledger Sawtooth, so joining the project came naturally,” said Alex Momot, Founder and CEO, REMME. “We’re big admirers, not only of this blockchain technology, but of the people behind it. While we’re currently focused on building out the alpha release of the REMME Core protocol, we anticipate collaborating directly with other members of Hyperledger in future. By doing so, we hope to further adoption and understanding of blockchains and the many ways in which they can benefit business across all industries.”

Ripple

“Through our partnership with Hyperledger, developers worldwide will be able to access Interledger Protocol (ILP) in Java for enterprise use,” Stefan Thomas, Ripple CTO. “The Hyperledger Quilt project connects Hyperledger blockchains with other ILP-capable payment systems such as XRP Ledger, Ethereum, Bitcoin (Lightning), Litecoin, Mojaloop and RippleNet, helping us to deliver on our vision for an Internet of Value – where money moves as information does today.”

Shenzhen Rongxun Technology

“The core potential of blockchain is the characteristics of the distributed database and how it helps transparency, security, and efficiency,” said Qian Zheng, Rongxun Technology Blockchain Leader. “Rongxun Technology is delighted to join Hyperledger, as it is an important step in blockchain for us. We look forward to working with various Hyperledger communities and business partners to promote the development of blockchain technology.”

Spin Systems, Inc.

“We are excited to work alongside our customers and partners to develop blockchain solutions for the financial, legal and healthcare industries,“ said Mr. Wael Ali, CEO, Spin Systems Inc. “We see a clear opportunity for innovative technology companies to address the cost, interoperability, and data security challenges across these organizations. Our partnership with The Linux Foundation and Hyperledger reinforces our commitment to using open standards and platforms for building highly scalable blockchain applications.”

Versia

“At Versia, we are excited to be part of the evolution of Blockchain,” said Manu Mosteiro, Founder and CEO, Versia. “Innovation is in our DNA and we want to share it with the Hyperledger community and collaborate in the development of this technology that will change the way we do business and surely other areas of social behaviour.”

Xiilab

“Xiilab is excited to join Hyperledger and looks forward to collaborating on our goal to deliver our solution,” said Wooyung Lee, CEO, Xiilab. “Our solution is to provide Data Trading for any creative Digital Assets with a fast, fair and transparent environment. We look forward to working with our members, business partners, clients and the diverse Hyperledger community to bring a comprehensive and, yet, crucial solution to the Digital Trading market.”   

About Hyperledger

Hyperledger is an open source collaborative effort created to advance cross-industry blockchain technologies. It is a global collaboration including leaders in finance, banking, Internet of Things, supply chains, manufacturing and Technology. The Linux Foundation hosts Hyperledger under the foundation. To learn more, visit: https://www.hyperledger.org/.

(3.21.18) JAXenter: Hyperledger Caliper: A benchmark tool which allows users to measure blockchain performance

By Hyperledger Caliper, News

When you choose to implement a blockchain solution, performance is —naturally— one of the most important concerns. As Francis Nadeau, CEO at HydraLab told us earlier this year, “the implementation of a blockchain solution may require major changes in a company’s processes.” All the more reason to worry about performance!

More here.

(3.20.18) SD Times: Hyperledger introduces blockchain benchmark tool Caliper

By Hyperledger Caliper, News

Hyperledger, The Linux Foundation’s open-source effort for blockchain technologies, has announced that Caliper has been accepted by the Hyperledger Project Technical Steering Committee as the organization’s latest project. Caliper is a blockchain benchmark tool designed to measure the performance of a specific blockchain implementation with a set of predefined use cases.

More here.

Measuring Blockchain Performance with Hyperledger Caliper

By Blog, Hyperledger Caliper

We’re excited to announce that Caliper has been accepted by the Technical Steering Committee as the latest Hyperledger project! Hyperledger Caliper is a blockchain benchmark tool, which allows users to measure the performance of a specific blockchain implementation with a set of predefined use cases.

Why Caliper?

The performance of a blockchain solution is one of the most concerned features from blockchain users. However, currently there is not a general tool that serves to provide performance evaluations for different blockchain solutions based on a set of neutral and commonly accepted rules.

Some reports exist on the performance of different blockchain implementations in various scenarios, however there is not a commonly accepted blockchain benchmarking tool. Hyperledger Caliper is a benchmark tool for blockchain frameworks and relies on a functioning blockchain implementation as the benchmarking target. However, tools that can quickly bring up a blockchain network are ideal to cooperate with Caliper.

Hyperledger Caliper will produce reports containing a number of performance indicators, such as TPS (Transactions Per Second), transaction latency, resource utilisation etc. The intent is for Caliper results to be used by other Hyperledger projects as they build out their frameworks, and as a reference in supporting the choice of a blockchain implementation suitable for a user’s specific needs.

Clearly, every blockchain framework or platform proposed nowadays has its own unique strengths. In the light of such variety, we consider the absence of a common benchmarking tool as harmful. There are three main reasons why we think it’s necessary to have a general purpose benchmark tool:

  • Lack of source code. There are some performance reports for different projects but since they do not provide the source code, it is hard to validate the evaluation and impossible to perform the same evaluation on different projects.
  • There is no common definition of performance indicators (e.g. TPS, latency, resource utilization, etc.) The Hyperledger Performance & Scalability Working Group (PWSG) is the ideal place to define these. Hyperledger Caliper will be a good starting point and place to hold the implementation.
      1. A good example of having a well-defined performance indicator is TPS (Transaction per Second), as in any blockchain solution that supports smart contracts, it is a common agreement that the complexity of a smart contract is a key factor of TPS. Benchmarks that use different trial smart contracts, no matter how simple these smart contracts could be, are inadvertently affecting  the results.
  • There is no common accepted benchmark use cases for benchmarking. Users are always curious about use cases, with proper use cases, they help the users to understand the blockchain itself as well as the performance indicators. The use cases for benchmarking are also open to discussion and welcome for contribution.

Hyperledger Caliper is not intended to make judgments and will not publish benchmark results, but provide benchmark tools for users. Users should not claim the result is tested by Caliper unless the test environment is revealed. The Hyperledger Caliper project references the definitions, metrics and terminology as defined by the Hyperledger PWSG.

Technical details of Caliper

The key component in Hyperledger Caliper is the adaptation layer, which is introduced to integrate multiple blockchain solutions into the Caliper framework. An adaptor is implemented for each blockchain system under test (SUT), the adaptor is responsible for translation of Caliper NBIs into corresponding blockchain protocol. Caliper NBI is a set of common blockchain interfaces, which contains operations to interact with backend blockchain system, for example, to install smart contract, invoke contract, query state from the ledger, etc. The NBIs can be used for upstream applications to write tests for multiple blockchain systems. For more information, please see the documentation of Hyperledger Caliper.

For now, Hyperledger Fabric, Hyperledger Sawtooth and Hyperledger Iroha are in scope and we sincerely welcome contributions for integrations to other blockchain solutions.

Who will work on Caliper?

Collaboration with PSWG in the Hyperledger community is extremely important to the success of Hyperledger Caliper and we propose to have regular discussions about Caliper during PSWG meetings. Caliper is not going to limit the benchmark environment, but will leave it to user’s choice depending on their own use cases. Developers from Huawei, Hyperchain, Oracle, Bitwise, Soramitsu, IBM and the Budapest University of Technology and Economics are all contributing to the project. More are always welcome.

Getting started with Caliper

The hope is that Hyperledger Caliper provides the community with a functioning benchmark tool capable of running against many  Hyperledger frameworks. With the help of the community, we will be putting continuous effort into the definition of performance indicators and benchmark use cases. The success of the project will depend on many users within the community using it as the benchmark tool.

You can get started contributing to Hyperledger Caliper on github (coming soon): https://github.com/hyperledger/caliper You can also join the Hyperledger Caliper community on the #caliper channel in Rocket.Chat and on the hyperledger-caliper mailing list.

As always, we encourage developers to join our efforts on other projects, via github, Rocket.Chat, the wiki or the mailing lists. You can also follow Hyperledger on Twitter or email us with any questions: info@hyperledger.org.