<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sam Aravazhinavalar on Medium]]></title>
        <description><![CDATA[Stories by Sam Aravazhinavalar on Medium]]></description>
        <link>https://medium.com/@sam.aravazhinavalar?source=rss-682cdc5ca78a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oydFAOPW5CU4UB8-GXr5UQ.jpeg</url>
            <title>Stories by Sam Aravazhinavalar on Medium</title>
            <link>https://medium.com/@sam.aravazhinavalar?source=rss-682cdc5ca78a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 02:03:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sam.aravazhinavalar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Announcing Re-fungible Token Proposal — ERC 1513*]]></title>
            <link>https://medium.com/tallyx/announcing-re-fungible-token-proposal-erc-1513-a7fe80856f6a?source=rss-682cdc5ca78a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7fe80856f6a</guid>
            <category><![CDATA[tallyx]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[rft]]></category>
            <category><![CDATA[top-protocol]]></category>
            <dc:creator><![CDATA[Sam Aravazhinavalar]]></dc:creator>
            <pubDate>Tue, 30 Oct 2018 18:11:39 GMT</pubDate>
            <atom:updated>2018-10-30T18:11:39.932Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SAu7e375r8CleXgtGgL4UA.png" /></figure><h3>Announcing Re-fungible Token Proposal — ERC 1513*</h3><h3>TOP Protocol</h3><p>Our vision is to simplify global trade transactions for every buyer, seller, and financier, by creating a level playing field and delivering value through a global trade platform. Our solution focuses on supply chain finance while our protocol has widespread use across global trade.</p><p>We have designed the Trade Obligation Protocol (TOP) that accelerates the world’s transition to frictionless, trustless and decentralized global trade environment. The Trade Obligation Protocol (TOP) will provide the foundation to perform contract fulfillment, tokenizing the payment obligation and liquidating the payments obligation arising out of it. An asset-backed token (Toki) will be created to represent the underlying asset.</p><p>A Toki can optionally be split into multiple parts and each part assigned to a different owner or the whole token can be transferred to a different owner. <br>Such splits and transfers on the token are recorded in the registry behind the token. This payment is recorded in this protocol event which refers back to the token and the asset behind the token which is getting funded.</p><h3>Need for Asset Token with Fungibility</h3><p>Various business flows of agreements and claims create payment obligations for parties. Once these payment obligation gets accepted by all required parties, the accepted obligation is the digital asset which is tokenized on the blockchain. The obligation token can then be split, merged or even transferred fully or partially to others. Ideally, an asset-backed token should be non-fungible, however, the ability to split, assign and merge tokens requires us to implement a re-fungible token which is backed by a Token Distribution Registry to capture and allow fungibility while maintaining the integrity of the chain.</p><p>One of the use cases is deep tier financing, which refers to the financing on the payment obligation from buyer to the supplier. Buyer’s payment may be at sight or a deferred payment. In the case of the deferred payment, the buyer will make the payment to the supplier using digital draft and tier-1 supplier can then use a portion of this digital draft to pay his supplier (tier-2). This will result in a partial transfer of title from tier-1 to tier-2 supplier. This enables financing for tier-2 supplier by discounting of the digital draft.</p><p>Additional info on the use case is available in the <a href="https://github.com/tallyxinc/top-rft/tree/master/whitepapers">whitepapers</a>.</p><h3>The Road to The New ERC Proposal</h3><p>Around the beginning of 2018, the Non-Fungible Token (NFT) was getting popular with the <a href="http://erc721.org/">ERC #721</a> standard and <a href="https://www.cryptokitties.co/">CryptoKitties</a>. The ERC #721 was a good fit to represent the asset-backed token requirement but was lacking the fungibility requirement.</p><p>Around the same time, the concept of the Re-Fungible Token(RFT) was discussed and one of the <a href="https://medium.com/@billyrennekamp/re-fungible-token-rft-297003592769">prominent articles</a> on medium addressed the extension of ERC #721 with ERC #20 to represent the RFT.</p><p>There were also other implementations along the concept such as <a href="https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3107645">Quobands</a> exploring this, but there were no standards available.</p><p>As we saw, the RFT looked to be suitable in various uses cases that we were exploring across areas such as trade, finance, insurance etc., a standard for RFT seemed to be the need.</p><p>The proposal for the new RFT standard was created as <a href="https://github.com/ethereum/EIPs/issues/1528">ERC #1513</a>*(under draft), to get more input into the definition along with an initial <a href="https://github.com/tallyxinc/top-rft">implementation</a> and adoption of the standard for a Trade use case.</p><h3>TOP Ecosystem Requirements and Use cases</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*N7LGFrGbV85k8vVXxwXFWQ.png" /></figure><p>The TOP ecosystem depends on the following qualifiers, such as</p><ul><li>Availability in B2B and B2C solution space</li><li>Corporate branding of tokens</li><li>Marketplace for listing and trading tokenized assets</li><li>Wallet integration</li></ul><p>The followings are some of the use cases that can use the RFT, mode details on the use cases are available in the <a href="https://github.com/tallyxinc/top-rft/tree/master/whitepapers">whitepapers</a>.</p><h4>Trade Finance</h4><ul><li>Deep-tier Finance — Finance for nested/multi-level suppliers. Let us say tier-1 supplier has received a payment obligation for $100,000 and he can transfer say $20,000 and $30,000 to two of his tier-2 suppliers, and the tier-2 suppliers could further split downstream and so on.</li><li>Partial Finance — Finance part of a payment obligation. Let us say the Supplier has received a payment obligation for $100,000 and he can finance a part of it say $20,000 and transfer it to the finance provider.</li><li>Syndication of loans — Finance with multiple providers for the same period. Let us say the supplier has received a payment obligation for $100,000 and he gets finance for $20,000 collectively provided by a group/syndicate of finance providers for 30 days.</li><li>Multi-tenor — Finance with multiple providers for different periods. Let us say the supplier has received a payment obligation for $100,000 and he gets finance for $10,000 and $20,000 provided by different finance providers for 30 days and 45 days respectively.</li></ul><h4>Diamond Ownership</h4><p>Issuance of ownership certificates for a diamond by a Custodian, Legal or an Audit Entity. For example, a custodian of a large diamond valued at $20 million, could issue ownership certificates to multiples owners for different amounts/portions as partial ownership of the Diamond.</p><h4>Insurance</h4><p>Multiple claims on the insurance policy, such as multiple claimants in a warehouse accident policy like the warehouse owner and the bank which has provided the loan for the warehouse.</p><h3>Next Steps</h3><p>The proposal for the new RFT standard ERC #1513*(under draft) will be discussed with the community to fine-tune and enhance the features and usability. The discussion thread is available <a href="https://github.com/ethereum/EIPs/issues/1528">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7fe80856f6a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tallyx/announcing-re-fungible-token-proposal-erc-1513-a7fe80856f6a">Announcing Re-fungible Token Proposal — ERC 1513*</a> was originally published in <a href="https://medium.com/tallyx">Tallyx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An NFR journey with Hyperledger Fabric]]></title>
            <link>https://medium.com/tallyx/an-nfr-journey-with-hyperledger-fabric-e11104f2af25?source=rss-682cdc5ca78a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e11104f2af25</guid>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[hyperledger-fabric]]></category>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[high-availability]]></category>
            <dc:creator><![CDATA[Sam Aravazhinavalar]]></dc:creator>
            <pubDate>Tue, 31 Jul 2018 16:11:29 GMT</pubDate>
            <atom:updated>2018-07-31T16:11:29.387Z</atom:updated>
            <content:encoded><![CDATA[<p>At Tallyx Inc, we are building a DLT-based decentralized B2B offering. We need to examine both private/permissioned and public/non-permissioned distributed ledger technologies. As part of this process, for the private/permissioned ledger, we looked at Hyperledger Fabric and its readiness for Production deployments, especially around Non-Functional Requirements (NFRs).</p><p>This article sheds light on our effort and findings with the community. There could be similar effort being made by other companies or projects, but generally, there seemed to be a lack of such content published when we began this effort.</p><p>We started with the Fabric version 1.0 and later moved on to 1.1 when it was GA and have since followed the progress.</p><h3><strong>The Goal</strong></h3><p>To understand the readiness of Hyperledger Fabric for production deployment around some of the below NFRs.</p><ul><li><strong>Availability</strong>: Multi-site deployment readiness, Peer Ledger replication latency impact, Stability of the Hyperledger Fabric setup</li><li><strong>Scalability</strong>: Performance characteristics — tps, resource usage</li><li><strong>Observability</strong>: logging, tracing, monitoring and troubleshooting</li></ul><p>At this stage, we consider the above goals to be very basic in nature and neither advanced, nor exhaustive, given the kind of NFRs that each project demands. The below report assumes Hyperledger Fabric architecture, deployment and usage background.</p><h3><strong>Environment</strong></h3><p>The test environment was setup to ensure a multi-site deployment in AWS to observe the peer replication and latency.</p><p>The following diagram illustrates the environment setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uLINJ023P_SHrll5A93VSw.png" /></figure><p>The systems were setup with AWS Linux and use Docker for all components along with <a href="https://www.datadoghq.com/">Datadog</a> to monitor system and Docker resource usage.</p><p>The source code for these components and the Hyperledger Fabric setup configuration are available on GitHub <a href="https://github.com/tallyxinc/distributedledger">here</a><strong>.</strong></p><h3><strong>Early Start Blockers</strong></h3><p>When we started using the Hyperledger Fabric we had issues around concurrency, replication and notifications. All these were blockers for any NFR exercise and fixes were not readily available. Fixing the Hyperledger Fabric code also meant deviation from the main project goals. This was when we decided to work with <a href="https://www.altoros.com/">Altoros</a> team for accelerating our effort. Altoros had a Hyperledger Fabric client library with fixes for the top three issues mentioned above that put us back on the NFR track.</p><h3><strong>Test Flow</strong></h3><p>We intended to build a generic distributed ledger test client — DLTestClient — for both functional and non-functional validation aspects, with a DL technology-agnostic adapter. We intended to have Hyperledger Fabric and Ethereum specific implementations. More recently, Hyperledger Caliper was announced with similar intention but focused around benchmarking. One key difference in measuring throughput by DLTestClient from Hyperledger Caliper is that, DLTestClient includes the replication latency: the time taken by all peers in the permissioned channel to start seeing the committed transaction.</p><p>The focus of the test was to observe the Hyperledger Fabric behavior in two areas,<strong> replication</strong></p><p><strong>latency</strong> impact in multi-site peers and non-functional considerations such as stability and performance.</p><p>The test flow using the DLTestClient is depicted below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*C4xzZbQt96AzxMtGGH20Mg.png" /></figure><h3><strong>Summary of Findings</strong></h3><p>The following paragraphs list our observations, and a detailed discussion on them:</p><p><strong>1. Availability</strong></p><p><strong>Multi-site Deployment and Creating Nodes</strong></p><p>We deployed a Hyperledger Fabric with 5 Organizations, each Organization with two Peers, spread over two Geos — AWS East Zone and AWS West Zone.</p><p>The process of adding new Members and Peer nodes to existing organizations at runtime is still cumbersome and needs to be simplified.</p><p>The process consists of about 12 main steps out of which four are not recoverable, in case of an error. Application teams will have to work on automating these production steps for easy configurability and manageability. This process is adapted from the instructions listed <a href="http://hyperledger-fabric.readthedocs.io/en/latest/channel_update_tutorial.html">here</a>.</p><p><strong>Replication Validation</strong></p><p>For Replication validation exercise, we created notification listeners, to reconcile and confirm that all transactions were being replicated consistently across all Peers. We found everything to be working consistently in terms of replication between peers.</p><p><strong>Recovery Handing</strong></p><p>10–15% percent of error scenarios were recorded as we increased the load/concurrency.</p><p>To overcome this, we introduced a recovery mechanism in our application to repeat the Hyperledger Fabric insert/update activity and were able to bring the failure rate to almost 0% for smaller loads. It is important to note that, with the later versions of Hyperledger Fabric and Altoros Client library, the failure rate has been zero for various test runs, which is good.</p><p><strong>Stability</strong></p><p>The stability of the Hyperledger Fabric was validated against long running tests to observe the resource utilization and processing volume. For a three-hour test with 100 concurrent requests, we observed the throughput to be around 50 TPS. The resource usage for CPU and RAM was consistently on the lower end. No memory leaks or crashes were observed. For the docker containers of the fabric, the average CPU usage was below 50% and the RAM was around 600MB. The hard disk usage was proportional to the ledger data size. The disk usage included both the data stored in ledger chain and the couchdb. For the ledger data size of 2k and 1000 ledger entries, the disc storage for the peer was about 12MB (ledger chain + couchdb).</p><p><strong>2. Scalability</strong></p><p>We were looking at an initial volume of 5 tenants in a private consortium, with 50–100 trade transactions per second. In the long run, there shall be hundreds or even thousands of such consortiums active in parallel.</p><p>For the current setup, with focus on short running concurrency tests for multiple scenarios, the observed tps is around 50 without tuning the Hyperledger Fabric setup on performance characteristics. We tested the setup for these scenarios also through Hyperledger Caliper to compare the results.</p><p>The test details are listed below, but in summary we had similar results in both the cases at around 50 tps for the current setup with the simple data model of size 2k. With increase in data size by 100k the tps was very low to one third of the base data model results. Tests above 500 concurrencies were not stable as we had issues related to socket availability.</p><p>The Caliper results were with higher tps by about 10% accounting for the fact the DLTestClient included the peer replication time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*x6Qyzfdl-alfDjYnFe5kgg.png" /><figcaption>Transaction Volume</figcaption></figure><p><strong>3. Observability</strong></p><p><strong>Logging</strong></p><p>For production readiness it is essential to have visibility in error states and access to logging, tracing and troubleshooting options. We wanted to analyze available tools for monitoring and troubleshooting Hyperledger Fabric behavior.</p><p>The Hyperledger Fabric provides logging features and the logs are available at different levels such as Orderer, Peer, CA etc. and provide enough information on the components while allowing control of the log levels. The REST API and the ledger clients provide sufficient information through the logs.</p><p>The logs were used to monitor and troubleshoot manually on issues faced. During these tests the issues we have encountered at this time were only related to socket issues such as timeouts and connection refused, we will be addressing these in future tests.</p><p>We need an external log integrator to effectively manage the logs as they are distributed with the different components and should be able to build a log management/monitoring solution with the available information.</p><p>As part of adding a new organization into an existing consortium at runtime we had faced issues in error handling and recovery process as the process had multiple steps and involved operations related to system, tools and sdk.</p><p><strong>Monitoring</strong></p><p>We used the admin UI webapp available with the Altoros REST API implementation to monitor the blocks and the Hyperledger Fabric setup. This provides access to blocks received at the peer as well as insight into Fabric setup info such as channels, peers etc.</p><p>The next steps shall focus on tuning the Hyperledger Fabric and the client to further test on the single-site and multi-site failover scenarios, performance, stability, security practices, automation etc.</p><p>We encourage participation from the developer community in analyzing and improving these cases. We have shared the source code on github to review and update as required.</p><p><em>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — Meet the key contributors</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/134/1*WwV8Wzw8NmV5B4B-_ldVJg.png" /><figcaption><strong>CTO — Narasimha. </strong>Prior to Tallyx, he led large globally distributed teams at ACI in Enterprise Architecture including Cloud and On-Premise Deployments, API Management, Canonical Modeling, Entitlements, Responsive Metadata-driven UI Framework and Enterprise-wide Reusable Services at cloud scale.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/145/1*jeYErIRS8qoQpRuHp6fBQw.png" /><figcaption><strong>Lead Blockchain Architect- Sam Aravazhinavalar</strong> was an Architect in the Reference Architecture team at ACI Worldwide Inc. shaping ACI’s Universal Payments Framework. He designed and built frameworks and solutions in Trade Finance and Payment ecosystems leveraging emerging technologies. He has vast experience in exploring and adapting technology platforms to the solution space.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e11104f2af25" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tallyx/an-nfr-journey-with-hyperledger-fabric-e11104f2af25">An NFR journey with Hyperledger Fabric</a> was originally published in <a href="https://medium.com/tallyx">Tallyx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>