Astronaut loading animation Circular loading bar

Try : Insurtech, Application Development

AgriTech(1)

Augmented Reality(20)

Clean Tech(7)

Customer Journey(16)

Design(39)

Solar Industry(7)

User Experience(62)

Edtech(10)

Events(34)

HR Tech(3)

Interviews(10)

Life@mantra(11)

Logistics(5)

Strategy(17)

Testing(9)

Android(48)

Backend(32)

Dev Ops(8)

Enterprise Solution(28)

Technology Modernization(4)

Frontend(29)

iOS(43)

Javascript(15)

AI in Insurance(36)

Insurtech(63)

Product Innovation(54)

Solutions(21)

E-health(11)

HealthTech(23)

mHealth(5)

Telehealth Care(4)

Telemedicine(5)

Artificial Intelligence(139)

Bitcoin(8)

Blockchain(19)

Cognitive Computing(7)

Computer Vision(8)

Data Science(17)

FinTech(51)

Banking(7)

Intelligent Automation(27)

Machine Learning(47)

Natural Language Processing(14)

expand Menu Filters

Solana: The Next in Blockchain

By :

Blockchain, a term synonymous with Bitcoin or Dogecoin, disrupted the global equity market when first launched. A highly hyped terminology, blockchain is nothing more than a digital system for recording transactions and related data in multiple places at the same time. 

It is a type of distributed ledger technology, where every transaction in the ledger is authorized by the digital signature of the owner. This makes ledgers tamper-proof. Hence the information in the digital ledger is highly secure.

Now, its application has expanded to many areas. From supply chain and logistics to BFSI, from manufacturing to entertainment, blockchain has helped streamline processes and increase efficiency.

It is a common belief that blockchain and cryptocurrencies like Bitcoin, and Solana are the same. But in reality, cryptocurrencies rely on blockchain technology to be secure.

What makes Blockchain so popular?

Highly Secure

As blockchain technology uses digital signatures it is almost impossible to corrupt or change one user’s data by the other user without a specific digital signature.

Decentralized System

There is no need for regulatory bodies like the government or banks to approve transactions. In blockchain, transactions are done with the mutual consensus of users resulting in safer and faster transactions.

Automation Capability

It is programmable and can generate systematic actions, events, and payments automatically when the criteria of the trigger are met. So validating transactions is completely automated.

How Does Blockchain Technology Work?

Blockchain is a combination of three leading technologies:

Cryptographic keys

A peer-to-peer network containing a shared ledger

A means of computing, to store the transactions and records of the network

Each individual has two cryptographic keys – A private key and a Public key. The data is digitally signed using the Private key and can be verified using the public key.

Also if user-1 wants to send some transaction data to user-2 then he/she will hash the data with user-2’s public key, so only user-2 can confirm the transaction using his/her private key.

The digital signature is merged with the peer-to-peer network; a large number of individuals who act as authorities use the digital signature to reach a consensus on transactions.

Blockchain users employ two cryptography keys to perform different types of digital interactions over the peer-to-peer network.

Secure hashing in blockchain

Blockchain technology uses hashing and encryption to secure the data, relying mainly on the SHA256 algorithm. 

Blockchain And It's Structure

Secure Hash Algorithm-256(SHA-256) is a cryptographic hash function designed by the United States National Security Agency (NSA). SHA 256 produces fixed size 256 bits output for variable-size input.

The sender’s private key and public key, the receiver’s public key, and the transaction are hashed using SHA256 and transmitted all over the network, and added to the blockchain after verification. The SHA256 algorithm makes it almost impossible to hack the hash encryption, which in turn simplifies the sender and receiver’s authentication.

What is Solana?

Solana is a blockchain platform designed to host decentralized, scalable applications.

Founded in 2017 by Anatoly Yakovenko, and co-founded by Raj Gokul (COO at Solana), Solana (Solana’s cryptocurrency is SOL) is currently backed by experiences from top organizations like Google, Microsoft Intel, etc. 

It is a web-scale blockchain that provides fast, secure, scalable, and decentralized apps. The system currently supports 50,000 TPS (Transactions per second) and 400ms Block Times. The overarching goal of the Solana software is to demonstrate that there is a possible set of software algorithms using the combination to create a blockchain. So, this would allow transactions to scale proportionally with network bandwidth satisfying all properties of a blockchain: scalability, security, and decentralization. Furthermore, the system can support an upper bound of 710,000 TPS on a standard gigabit network and 28.4 million TPS on a 40-gigabit network. 

The core innovation that underlays the Solana Network is Proof of History, — a proof of historical events. Utilizing Proof of History creates a historical record that proves that an event has occurred at a specific moment in time. Whereas other blockchains require validators to talk to one another to agree that time has passed, each Solana validator maintains its clock by encoding the passage of time in a simple SHA-256, sequential-hashing verifiable delay function (VDF).

One of the most difficult problems in distributed systems is agreement on time. I believe Proof of History provides this solution and Solana is built using blockchain-based on it.

Nodes in the blockchain network which is a distributed system can’t trust an external source of time or any timestamp that appears in a message. There are solutions like Hashgraph which verify if the timestamp in a message is accurate but these methods are very slow.

What if instead of trusting the timestamp you could prove that the message occurred sometime before and after an event? When you take a photograph with the cover of the Times of India, you are creating a proof that your photograph was taken after that newspaper was published, or you have some way to influence what Times of India publishes. With Proof of History, you can create a historical record that proves that an event has occurred at a specific moment in time.

Proof of History

The Proof of History (POH) is a high-frequency Verifiable Delay Function. A Verifiable Delay Function requires a specific number of sequential steps to evaluate, yet produces a unique output that can be efficiently and publicly verified. 

For a SHA256 hash function, this process is impossible to parallelize without a brute force attack.

We can then be certain that real-time has passed between each counter as it was generated, and that the recorded order of each counter is the same as it was in real-time.

Verification in POH

While the recorded sequence can only be generated on a single CPU core, the output can be verified in parallel.

Each recorded slice can be verified from start to finish on separate cores in 1/(number of cores) time it took to generate.

Architecture on how to interact with Solana

Client programs are exposed to users through web applications or CLI. Client code is language agnostic. It can be written in programming languages such as Python, Rust, JavaScript, C++, etc. The client program makes requests to JSON RPC. JSON RPC routes data to the Solana program that is on the chain. Solana currently supports writing programs in Rust and C/C++. The program modifies the state of the blockchain which is called Account. JSON RPC is the middle layer that routes objects sent by clients to the Solana program. These objects are called transactions(tx). This program further processes the transactions to modify the state of the account.

Clients can also request the data. Data that was written into the account can be requested by the user using JSON RPC.

Goal of Solana programming

As discussed before, the goal of the Solana program is to take in user input to modify the chain state.

https://github.com/solana-labs/example-helloworld.git  is a GitHub link to a simple Solana project. 

This project comprises:

A simple on-chain hello world Solana program written in Rust.

A client program is written JS using Solana web3.js SDK. The client program can simply send “hello” to an account and get back the number of times “hello” has been sent.

Now let’s look into one of the use cases of the Solana blockchain in the health insurance sector

Blockchain in health insurance to simplify Claim settlement process

Claim process can be divided into three main phases

Phase 1: Insurance Providers register on Public Blockchain

In the first phase, the process will be more or less as defined below:

The main stakeholders involved in the first phase are Insurance Providers, Insurance Brokers, and policy portal admins. Every stakeholder involved in the process would have their private keys to add records to the blockchain. Insurance Providers who provide different types of insurance can add the policy details on the public blockchain. For example, if a health insurance provider has to add the plans, they would save details like claim bonus, types of treatment covered, network hospital details, etc. on the public blockchain.

Insurance Brokers will be accessing the details saved by insurance providers on the public blockchain and can rate the insurance policies in the blockchain. The rating provided will help insurance companies and consumers to make informed decisions. Policy portal admins will fetch the insurance plans from the blockchain and add them to their portal. Using blockchain, policy portals like “Policybazaar” spend less time and manual effort contacting insurance providers like “care health insurance”.

Phase 2: Consumers Search and Buy Policies

The stakeholders involved in the second phase are Consumers and insurance companies. Consumers search for the specific insurance policy using their mobile app or website. A list of relevant policy details saved on the public blockchain will be fetched and displayed. 

After a customer selects the insurance plan from a specific insurance provider, the next step is to buy the policy. So, the consumer would have to upload necessary documents such as address proof, income proof, etc. to the distributed database. These documents will have their addresses hashed and stored on the private blockchain.

Insurance Companies get notified as soon as the consumer buys the insurance. Insurance companies start verifying the consumer’s details and add the consumer to their private blockchain after validation. Acknowledgment is sent by insurance providers to the consumers about plan activation because the records of transactions stored on blockchain are immutable and traceable, there will be no insurance fraud chances.

Phase 3: Claim Request

The stakeholders involved in the third phase of the blockchain insurance process are:

Consumers, who require a claim in case of any damage, loss, medical treatment, or accident.

Loss Adjuster/Auditor, who verifies if the consumer is liable to get the claim amount or not.

Insurance Company, which provides the claim to the consumers.

In the case of medical treatment, a consumer requests the claim amount from the insurance provider. For example, suppose some consumer is diagnosed with some illness and wants to undergo treatment with a cashless claim. Consumers would have to share the documents supporting evidence on the private blockchain such as scan reports, doctor’s advice, etc.

The documents will be saved in a private blockchain which will be visible to the insurance company. The insurance company verifies the documents and sends the claim account’s breakdown to the consumer. The claims amount is automatically transferred to the consumer or hospital (cashless claim) with the help of smart contracts.

Current challenges faced in Health Insurance

The healthcare insurance industry is one of the most inefficient, fraud-prone sectors today. It faces multiple challenges with which blockchain technology can help significantly.

With blockchain technology, healthcare insurers can:

  • Maintain patient privacy 
  • Give data sharing controls to patients 
  • Store time-stamped medical records with cryptographic signatures on a shared ledger.
  • Enable fine permission settings to ensure regulation compliances

MedRec

Introduced by MIT, MedRec is a decentralized medical records management system that indexes healthcare records on the blockchain and allows access to authorized individuals. It helps to ensure the privacy of patients, along with easing the information verification process. 

The first implementation of MedRec was done by using the Ethereum blockchain platform. The code is open-source, and the developers of MedRec are working with new healthcare IT center to develop a deployed network.

In a nutshell

Blockchain is a highly secure decentralized system that eliminates regulatory authorities. This makes transactions made using blockchain secure and fast compared to traditional approaches. Apart from cryptocurrency Blockchain technology can be used in multiple domains like Insurance, real estate, money transfer, manufacturing, etc.

Solana has solved the problem of timestamp verification using Proof of History. It can support up to 50k transactions per second because of POH which is faster than “proof of work” used in bitcoin or “proof of stake”.

As we saw in the blockchain-based insurance use case, blockchain and Solana can revolutionize the insurance industry by streamlining time-consuming insurance processes. Blockchain solves a lot of practical problems that exist in the current health insurance sector, this includes maintaining patient privacy and storing time-stamped medical records with cryptographic signatures which are tamperproof.  

About the author:

Imran is a Sr. Software Engineer at Mantra Labs working on AI/ML-related projects. A passionate technologist, he has worked in the field of NLP and Computer Vision. Apart from tinkering with new technologies like blockchain, his interests are playing Badminton and chess.

Cancel

Knowledge thats worth delivered in your inbox

Platform Engineering: Accelerating Development and Deployment

The software development landscape is evolving rapidly, demanding unprecedented levels of speed, quality, and efficiency. To keep pace, organizations are turning to platform engineering. This innovative approach empowers development teams by providing a self-service platform that automates and streamlines infrastructure provisioning, deployment pipelines, and security. By bridging the gap between development and operations, platform engineering fosters standardization, and collaboration, accelerates time-to-market, and ensures the delivery of secure and high-quality software products. Let’s dive into how platform engineering can revolutionize your software delivery lifecycle.

The Rise of Platform Engineering

The rise of DevOps marked a significant shift in software development, bringing together development and operations teams for faster and more reliable deployments. As the complexity of applications and infrastructure grew, DevOps teams often found themselves overwhelmed with managing both code and infrastructure.

Platform engineering offers a solution by creating a dedicated team focused on building and maintaining a self-service platform for application development. By standardizing tools and processes, it reduces cognitive overload, improves efficiency, and accelerates time-to-market.  

Platform engineers are the architects of the developer experience. They curate a set of tools and best practices, such as Kubernetes, Jenkins, Terraform, and cloud platforms, to create a self-service environment. This empowers developers to innovate while ensuring adherence to security and compliance standards.

Role of DevOps and Cloud Engineers

Platform engineering reshapes the traditional development landscape. While platform teams focus on building and managing self-service infrastructure, application teams handle the development of software. To bridge this gap and optimize workflows, DevOps engineers become essential on both sides.

Platform and cloud engineering are distinct but complementary disciplines. Cloud engineers are the architects of cloud infrastructure, managing services, migrations, and cost optimization. On the other hand, platform engineers build upon this foundation, crafting internal developer platforms that abstract away cloud complexity.

Key Features of Platform Engineering:

Let’s dissect the core features that make platform engineering a game-changer for software development:

Abstraction and User-Friendly Platforms: 

An internal developer platform (IDP) is a one-stop shop for developers. This platform provides a user-friendly interface that abstracts away the complexities of the underlying infrastructure. Developers can focus on their core strength – building great applications – instead of wrestling with arcane tools. 

But it gets better. Platform engineering empowers teams through self-service capabilities.This not only reduces dependency on other teams but also accelerates workflows and boosts overall developer productivity.

Collaboration and Standardization

Close collaboration with application teams helps identify bottlenecks and smooth integration and fosters a trust-based environment where communication flows freely.

Standardization takes center stage here. Equipping teams with a consistent set of tools for automation, deployment, and secret management ensures consistency and security. 

Identifying the Current State

Before building a platform, it’s crucial to understand the existing technology landscape used by product teams. This involves performing a thorough audit of the tools currently in use, analyzing how teams leverage them, and identifying gaps where new solutions are needed. This ensures the platform we build addresses real-world needs effectively.

Security

Platform engineering prioritizes security by implementing mechanisms for managing secrets such as encrypted storage solutions. The platform adheres to industry best practices, including regular security audits, continuous vulnerability monitoring, and enforcing strict access controls. This relentless vigilance ensures all tools and processes are secure and compliant.

The Platform Engineer’s Toolkit For Building Better Software Delivery Pipelines

Platform engineering is all about streamlining and automating critical processes to empower your development teams. But how exactly does it achieve this? Let’s explore the essential tools that platform engineers rely on:

Building Automation Powerhouses:

Infrastructure as Code (IaC):

CI/CD Pipelines:

Tools like Jenkins and GitLab CI/CD are essential for automating testing and deployment processes, ensuring applications are built, tested, and delivered with speed and reliability.

Maintaining Observability:

Monitoring and Alerting:

Prometheus and Grafana is a powerful duo that provides comprehensive monitoring capabilities. Prometheus scrapes applications for valuable metrics, while Grafana transforms this data into easy-to-understand visualizations for troubleshooting and performance analysis.

All-in-one Monitoring Solutions:

Tools like New Relic and Datadog offer a broader feature set, including application performance monitoring (APM), log management, and real-time analytics. These platforms help teams to identify and resolve issues before they impact users proactively.

Site Reliability Tools To Ensure High Availability and Scalability:

Container Orchestration:

Kubernetes orchestrates and manages container deployments, guaranteeing high availability and seamless scaling for your applications.

Log Management and Analysis:

The ELK Stack (Elasticsearch, Logstash, Kibana) is the go-to tool for log aggregation and analysis. It provides valuable insights into system behavior and performance, allowing teams to maintain consistent and reliable operations.

Managing Infrastructure

Secret Management:

HashiCorp Vault protects secretes, centralizes, and manages sensitive data like passwords and API keys, ensuring security and compliance within your infrastructure.

Cloud Resource Management:

Tools like AWS CloudFormation and Azure Resource Manager streamline cloud deployments. They automate the creation and management of cloud resources, keeping your infrastructure scalable, secure, and easy to manage. These tools collectively ensure that platform engineering can handle automation scripts, monitor applications, maintain site reliability, and manage infrastructure smoothly.

The Future is AI-Powered:

The platform engineering landscape is constantly evolving, and AI is rapidly transforming how we build and manage software delivery pipelines. The tools like Terraform, Kubecost, Jenkins X, and New Relic AI facilitate AI capabilities like:

  • Enhance security
  • Predict infrastructure requirements
  • Optimize resource security 
  • Predictive maintenance
  • Optimize monitoring process and cost

Conclusion

Platform engineering is becoming the cornerstone of modern software development. Gartner estimates that by 2026, 80% of development companies will have internal platform services and teams to improve development efficiency. This surge underscores the critical role platform engineering plays in accelerating software delivery and gaining a competitive edge.

With a strong foundation in platform engineering, organizations can achieve greater agility, scalability, and efficiency in the ever-changing software landscape. Are you ready to embark on your platform engineering journey?

Building a robust platform requires careful planning, collaboration, and a deep understanding of your team’s needs. At Mantra Labs, we can help you accelerate your software delivery. Connect with us to know more. 

Cancel

Knowledge thats worth delivered in your inbox

Loading More Posts ...
Go Top
ml floating chatbot