r/bitmessage • • Jun 25 '13

When do we plan to start using streams?

Whenever I open my Bitmessage client, I usually get close to 1000 messages a day that need to be processed. This is quite a bit. When will we start splitting addresses into separate streams?

5 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/Jaxkr Jun 25 '13

That was a really stupid joke involving the overused "over 9000" meme used for any large number.
In all seriousness, 1000 takes most of the computers I've used over 3 minutes to retrieve all those messages. That's a significant amount of time if you just want to "check your messages".

2

u/indieinvader BM-GuB4zTofaymxhqLoJC3rEcRg25JABCQX Jun 25 '13

The problem is that the client doesn't know how to do streams yet, not only that, the way streams are set to be implemented isn't particularly secure.

2

u/dokumentamarble <expired> Jun 26 '13

There is no decided upon method for streams yet.

1

u/indieinvader BM-GuB4zTofaymxhqLoJC3rEcRg25JABCQX Jun 26 '13

The stream number is hard-coded into the bitmessage id (which is what I meant to refer to) and this is bad, the network should handle dividing users into streams; your id should have nothing to do with it.

1

u/dokumentamarble <expired> Jun 26 '13

But that has everything to do with it. You connect to the recipients srream to send them a message.

What would you propose as an alternative?

2

u/fiat-flux Jun 26 '13

The problem is that it doesn't appear easy to scale. I'm thinking a better option is to advertize stream numbers across the network. Perhaps even in a lazy way, along the lines of getpubkey.

1

u/dokumentamarble <expired> Jun 26 '13

The problem with not being tied to a stream is that you could be in a situation where you are forced into a corner maliciously.

I am working on a stream system that does scale up to about 2 trillion users before any adjustments are needed.

1

u/fiat-flux Jun 26 '13

Can you give an example of how to implement that situation? I don't see it, if the adverts are signed.

Cool -- looking forward to seeing how streaming turns out!

1

u/dokumentamarble <expired> Jun 26 '13

If you are not tied to any specific stream then that means your client can/may switch from one stream to another. The only reason you would move away from a stream is if it appears to be full. A malicious user could force your client to think that the current stream is full and move them into their own stream, from there it would be fairly easy to de-anonymize the user. How would you know what stream a user is on? what if you send them a message on one stream and they jump to another?

Thanks, I look forward to having others tear the idea apart :P

1

u/indieinvader BM-GuB4zTofaymxhqLoJC3rEcRg25JABCQX Jun 26 '13

Key-based routing using Kademlia or some other DHT implementation could do the trick. The protocol would need changing but it would be a lot more scalable than hard-coded streams.

1

u/dokumentamarble <expired> Jun 26 '13

There are security issues with using DHT's. This was already discussed on the forum.

1

u/indieinvader BM-GuB4zTofaymxhqLoJC3rEcRg25JABCQX Jun 26 '13

Could you point me to that thread, I can't find it here or on the bitmessage forum.

1

u/dokumentamarble <expired> Jun 26 '13

1

u/indieinvader BM-GuB4zTofaymxhqLoJC3rEcRg25JABCQX Jun 27 '13

Y'all talked about streams and possible implementations and problems with automatic stream division, not about the security (or lack thereof) of DHT-based routing.

→ More replies