Improved Smart Contracts using Kubernetes on Dragonchain's Blockchain Platform
Dragonchain
Why Dragonchain decided to switch to Kubernetes for better Smart Contracts as a Service.
Learn more: https://dragonchain.com/blog/blockchain-kubernetes-better-smart-contracts
Introduction:
00:00, I'm Roby Daquilante, software developer at Dragonchain. When I first got hired on, we had a small developers team at a small co-working space. The coolest thing I worked on right after I started was start writing on our smart contracts and I got to work on the currency.
Why did Dragonchain switch to Kubernetes?
0:23, Kubernetes is an architecture orchestration software. We already moved to running Dragonchain in docker containers, so we could use microservices instead of one big application. And using Kubernetes meant that when we ran into unexpected crashes, we did not need write in extra code. Kubernetes would detect where a pod had failed and restart it. So we already got all these benefits. When we started to look at our smart contract system and how we're providing that as a service, we realized that we can take a similar approach to our smart contracts and give all those benefits to our users as well.
What limitations did we find while using AWS?
1:02, With our Smart Contracts as a Service system using AWS, there were two major limitations where we got customer feedback about. One was because we were using cloud formation, the maximum number of resources we could have per template. And so one cloud formation stack would represent the entire Dragonchain, which was convenient, but it still meant there was only a maximum amount of smart contracts a user could have. We also got feedback response times were slow, because of 350 concurrent Lambda executions at the same time. We had to rate limit people to make sure the sum of all of our customer contracts were not exceeding that 350 mark. With our OpenFaaS solution in Kubernetes, we completely eliminated both of those problems. You can have as many smart contracts as you want. And envoke as much as you want.
Start building your blockchain applications today. We have plans for developers, businesses and enterprises. Visit https://dragonchain.com and discover more features.
Follow Dragonchain on our social channels:
Twitter: https://twitter.com/dragonchain/ Linkedin: https://www.linkedin.com/company/18216867/ Telegram: https://t.me/dragontalk/ Facebook: https://facebook.com/Dragonchaingang/ ... https://www.youtube.com/watch?v=7802vNNf3mg
35940723 Bytes