What is the best way of storing data on EOS blockchain?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I come across a situation where i need to implement a relational database for an application.
Now my question is how to implement it and where should i save the data? also i don't want to save data on RAM as it get very expensive when data size grows.
nodeos eosjs
add a comment |Â
up vote
3
down vote
favorite
I come across a situation where i need to implement a relational database for an application.
Now my question is how to implement it and where should i save the data? also i don't want to save data on RAM as it get very expensive when data size grows.
nodeos eosjs
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I come across a situation where i need to implement a relational database for an application.
Now my question is how to implement it and where should i save the data? also i don't want to save data on RAM as it get very expensive when data size grows.
nodeos eosjs
I come across a situation where i need to implement a relational database for an application.
Now my question is how to implement it and where should i save the data? also i don't want to save data on RAM as it get very expensive when data size grows.
nodeos eosjs
edited Sep 8 at 9:22
asked Sep 6 at 7:00
Abdul Manan
1557
1557
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
A good way would be to use the demux-js library. It listens for specified actions and allows updating logic for whatever kind of database you like. This is a RAM free option which essentially allows you to achieve CRUD functionality by creating a mirror image of what the blockchain would show if you played through all of your actions.
Mind the mess, but you can see me implement demux here.
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
1
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
add a comment |Â
up vote
1
down vote
Another option is to use eosio mongodb_plugin for archive blockchain log into mongodb by running a node then apply queries on it.
https://developers.eos.io/eosio-nodeos/docs/mongo_db_plugin
@Nat i need your opinion about that option.
3
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
1
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
A good way would be to use the demux-js library. It listens for specified actions and allows updating logic for whatever kind of database you like. This is a RAM free option which essentially allows you to achieve CRUD functionality by creating a mirror image of what the blockchain would show if you played through all of your actions.
Mind the mess, but you can see me implement demux here.
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
1
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
add a comment |Â
up vote
2
down vote
accepted
A good way would be to use the demux-js library. It listens for specified actions and allows updating logic for whatever kind of database you like. This is a RAM free option which essentially allows you to achieve CRUD functionality by creating a mirror image of what the blockchain would show if you played through all of your actions.
Mind the mess, but you can see me implement demux here.
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
1
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
A good way would be to use the demux-js library. It listens for specified actions and allows updating logic for whatever kind of database you like. This is a RAM free option which essentially allows you to achieve CRUD functionality by creating a mirror image of what the blockchain would show if you played through all of your actions.
Mind the mess, but you can see me implement demux here.
A good way would be to use the demux-js library. It listens for specified actions and allows updating logic for whatever kind of database you like. This is a RAM free option which essentially allows you to achieve CRUD functionality by creating a mirror image of what the blockchain would show if you played through all of your actions.
Mind the mess, but you can see me implement demux here.
answered Sep 6 at 7:48
Nat
1,673114
1,673114
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
1
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
add a comment |Â
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
1
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
blockchain is decentralized and so the data is just want to confirm by using demux the data will be centralized.is it good for a dapp?
â Abdul Manan
Sep 6 at 9:37
1
1
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
Demux provides a mirror of the chain for ease of use. You can still verify on chain.
â Nat
Sep 6 at 9:40
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
that's great !! if i setup mongo db at my local server and do save data before every transaction ! is it good practice ?
â Abdul Manan
Sep 6 at 11:19
add a comment |Â
up vote
1
down vote
Another option is to use eosio mongodb_plugin for archive blockchain log into mongodb by running a node then apply queries on it.
https://developers.eos.io/eosio-nodeos/docs/mongo_db_plugin
@Nat i need your opinion about that option.
3
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
1
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
add a comment |Â
up vote
1
down vote
Another option is to use eosio mongodb_plugin for archive blockchain log into mongodb by running a node then apply queries on it.
https://developers.eos.io/eosio-nodeos/docs/mongo_db_plugin
@Nat i need your opinion about that option.
3
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
1
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Another option is to use eosio mongodb_plugin for archive blockchain log into mongodb by running a node then apply queries on it.
https://developers.eos.io/eosio-nodeos/docs/mongo_db_plugin
@Nat i need your opinion about that option.
Another option is to use eosio mongodb_plugin for archive blockchain log into mongodb by running a node then apply queries on it.
https://developers.eos.io/eosio-nodeos/docs/mongo_db_plugin
@Nat i need your opinion about that option.
answered Sep 6 at 7:58
Farhan-TroonTechnologies
437
437
3
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
1
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
add a comment |Â
3
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
1
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
3
3
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
It may be viable, but I think demux is more flexible because you can use almost every db you like.
â TeeAttack42â¦
Sep 6 at 7:59
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
Yeah, that one of plus point. we want to save data in decentralized database and give data ownership to user. is there any decentralized db who work well in that situation ??
â Farhan-TroonTechnologies
Sep 6 at 8:03
1
1
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
To be honest, I haven't touched that plugin. I'm still compiling contracts on 1.07 :). I'll update when the docs do. They're working hard at b1 right now and short handed in that department. I agree with TeeAttack42.
â Nat
Sep 6 at 8:16
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
Thank you so much Nat & TeeAttack42 for your quick response. That help us a lot.
â Farhan-TroonTechnologies
Sep 6 at 8:28
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2feosio.stackexchange.com%2fquestions%2f2247%2fwhat-is-the-best-way-of-storing-data-on-eos-blockchain%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password