BitShares Forum

Main => Technical Support => Topic started by: VoR0220 on January 05, 2015, 04:05:47 am

Title: Can Delegates do this?
Post by: VoR0220 on January 05, 2015, 04:05:47 am
Looking at how Delegates operate, they are processing transactions in the span of 10 seconds each. While the one delegate is processing transactions what are the other delegates doing? Could the other delegates be doing other tasks besides monitoring the blockchain until it is their turn to process blocks, such as reading from a database that is not the blockchain? Is this feasible? Let me know what you think.
Title: Re: Can Delegates do this?
Post by: fluxer555 on January 05, 2015, 04:07:38 am
I agree, this could be much more efficient if we have more tasks to be done.

Also, this should be moved to General Discussion.
Title: Re: Can Delegates do this?
Post by: VoR0220 on January 05, 2015, 05:56:17 am
I apologize. I wasn't sure where to put this.
Title: Re: Can Delegates do this?
Post by: jsidhu on January 05, 2015, 06:29:31 am
I dont think there are many tasks yet to be done other than pricefeeds and piblishing blocks..

However one I was thinking of was maybe hosting payment gateways in a load sharing setup such that people hitting the gateways get distributed according to location and how busy those nodes are. This way we have a decentralized payment gateway that any merchants can point to.. or point to any node that figures out which url of what gateway to give you based on the specs.

Cloudflare is good but they are centralized.. a distributed system that does essentiallly what a cdn does would be great and use the gateway as a proof of concept and expand it to a marketplace front end later.
Title: Re: Can Delegates do this?
Post by: VoR0220 on January 05, 2015, 09:39:27 am
I was thinking something along the lines of having a group of delegates manage both the blockchain as well as other databases that are constantly updating. For example, an audio fingerprinting database.
Title: Re: Can Delegates do this?
Post by: pc on January 05, 2015, 10:22:36 am
Looking at how Delegates operate, they are processing transactions in the span of 10 seconds each. While the one delegate is processing transactions what are the other delegates doing?
The other delegates are also processing these same transactions, because they have to verify each other's work.
Title: Re: Can Delegates do this?
Post by: VoR0220 on January 05, 2015, 10:32:42 am
Looking at how Delegates operate, they are processing transactions in the span of 10 seconds each. While the one delegate is processing transactions what are the other delegates doing?
The other delegates are also processing these same transactions, because they have to verify each other's work.

Going further with my idea though. Is it possible for them to download the newly processed transactions and do work on another database simultaneously?
Title: Re: Can Delegates do this?
Post by: pc on January 05, 2015, 10:41:47 am
Of course.
Title: Re: Can Delegates do this?
Post by: VoR0220 on January 05, 2015, 06:47:35 pm
Perfect. That's what I needed :) Thank you.