What are some good alternatives to Whisper for blockchain messaging?
I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.
go-ethereum whisper message
add a comment |
I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.
go-ethereum whisper message
add a comment |
I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.
go-ethereum whisper message
I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same computer because messages take between 300-800ms to be received. What are some faster alternatives? My requirements are to be able to send small JSON messages as fast as possible.
go-ethereum whisper message
go-ethereum whisper message
asked Feb 22 at 8:12
DavidDavid
1116
1116
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Whisper
First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth
nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.
Whisper can be used to send messages. Sending messages will have the following properties:
- Receiver anonymity: no one knows who the actual receiver is
No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message
Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.
The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.
In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.
Anonymous / Privacy preserving communication
There's the anonymity trilemma which states that you can achieve only two out of the following properties:
- Strong anonymity
- Low latency
- High throughput
So when, you want to send "messages as fast as possible" you need to live without strong anonymity.
Alternatives
At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr
. Its goal is to have:
- provable anonymity / privacy preserving communication as it uses the SPHINX packet format
- incentivations for the parties / nodes that relay messages
- adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing
- latency or
- low relay fees or
- privacy guarantees
A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.
add a comment |
PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.
Disclaimer: I work with the Swarm team.
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "642"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f67464%2fwhat-are-some-good-alternatives-to-whisper-for-blockchain-messaging%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Whisper
First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth
nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.
Whisper can be used to send messages. Sending messages will have the following properties:
- Receiver anonymity: no one knows who the actual receiver is
No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message
Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.
The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.
In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.
Anonymous / Privacy preserving communication
There's the anonymity trilemma which states that you can achieve only two out of the following properties:
- Strong anonymity
- Low latency
- High throughput
So when, you want to send "messages as fast as possible" you need to live without strong anonymity.
Alternatives
At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr
. Its goal is to have:
- provable anonymity / privacy preserving communication as it uses the SPHINX packet format
- incentivations for the parties / nodes that relay messages
- adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing
- latency or
- low relay fees or
- privacy guarantees
A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.
add a comment |
Whisper
First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth
nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.
Whisper can be used to send messages. Sending messages will have the following properties:
- Receiver anonymity: no one knows who the actual receiver is
No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message
Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.
The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.
In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.
Anonymous / Privacy preserving communication
There's the anonymity trilemma which states that you can achieve only two out of the following properties:
- Strong anonymity
- Low latency
- High throughput
So when, you want to send "messages as fast as possible" you need to live without strong anonymity.
Alternatives
At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr
. Its goal is to have:
- provable anonymity / privacy preserving communication as it uses the SPHINX packet format
- incentivations for the parties / nodes that relay messages
- adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing
- latency or
- low relay fees or
- privacy guarantees
A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.
add a comment |
Whisper
First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth
nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.
Whisper can be used to send messages. Sending messages will have the following properties:
- Receiver anonymity: no one knows who the actual receiver is
No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message
Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.
The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.
In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.
Anonymous / Privacy preserving communication
There's the anonymity trilemma which states that you can achieve only two out of the following properties:
- Strong anonymity
- Low latency
- High throughput
So when, you want to send "messages as fast as possible" you need to live without strong anonymity.
Alternatives
At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr
. Its goal is to have:
- provable anonymity / privacy preserving communication as it uses the SPHINX packet format
- incentivations for the parties / nodes that relay messages
- adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing
- latency or
- low relay fees or
- privacy guarantees
A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.
Whisper
First of all, Whisper is kind of a database to spread announcements to the Ethereum network - or more precisely, to all geth
nodes who have enabled Whisper. By default, Whisper is hidden behind a flag.
Whisper can be used to send messages. Sending messages will have the following properties:
- Receiver anonymity: no one knows who the actual receiver is
No sender anonymity: a global passive adversary (e. g. your network service provider) can see the origin of the message
Uncertainty whether a message reached its destination. You can increase the probability by using a higher TTL value but this comes with the drawback that you need to equip the message with a significantly more difficult proof of work.
The problem of Whisper is that each message is flooded through the network until its TTL is reached - even if it has reached the desired destination. And to prevent people from spamming the the network, Whisper nodes only accept messages with a certain proof-of-work which is closely related to the TTL value.
In private networks, this is not a problem. But the bigger the network becomes, the worse it gets.
Anonymous / Privacy preserving communication
There's the anonymity trilemma which states that you can achieve only two out of the following properties:
- Strong anonymity
- Low latency
- High throughput
So when, you want to send "messages as fast as possible" you need to live without strong anonymity.
Alternatives
At the moment, there something like a Whisper 2.0 for point-to-point messaging under development. The project is called hopr
. Its goal is to have:
- provable anonymity / privacy preserving communication as it uses the SPHINX packet format
- incentivations for the parties / nodes that relay messages
- adaptable anonymity - the user can choose to some extend the degree of privacy / anonymity by sacrificing
- latency or
- low relay fees or
- privacy guarantees
A working group has been formed, including Status.im, Validity Labs and Web3 Foundation.
edited Feb 22 at 12:13
answered Feb 22 at 10:34
Robert KielRobert Kiel
862
862
add a comment |
add a comment |
PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.
Disclaimer: I work with the Swarm team.
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
add a comment |
PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.
Disclaimer: I work with the Swarm team.
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
add a comment |
PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.
Disclaimer: I work with the Swarm team.
PSS (Postal Service over Swarm) has no benchmarks, but it sends a message only to a registered node, so I assume it to be faster.
Disclaimer: I work with the Swarm team.
answered Feb 22 at 10:36
Adam SchmidegAdam Schmideg
101
101
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
add a comment |
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
That's interesting. Is there any fee to use PSS?
– David
Feb 22 at 14:49
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
Not at the moment. We're working on introducing an incentivisation model.
– Adam Schmideg
Feb 22 at 15:10
add a comment |
Thanks for contributing an answer to Ethereum Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f67464%2fwhat-are-some-good-alternatives-to-whisper-for-blockchain-messaging%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown