!UUkRolSfUAnkNCAQJg:matrix.org

sputnik-messenger

58 Members
Mobile matrix client, written with Flutter - https://sputnik-messenger.com16 Servers

Load older messages


SenderMessageTime
17 Aug 2019
@matthew:matrix.orgMatthew Mo πŸ›°: i understand this :) but my point is that if Matrix was better, its transport could be used for both push & sync (complete with fast recovery in the face of network outages for both push & sync) 21:47:31
@matthew:matrix.orgMatthewas push is a subset of sync21:47:36
@matthew:matrix.orgMatthewit's literally a filter that says "please only send me events which are notifs. and btw i (probably) don't care about any of the fields on the events; i just want to be woken up".21:48:08
@matthew:matrix.orgMatthewthis is why we experimented with the CoAP transport for Matrix21:48:16
@matthew:matrix.orgMatthewas per https://matrix.org/blog/2019/03/12/breaking-the-100-bps-barrier-with-matrix-meshsim-coap-proxy21:48:25
@matthew:matrix.orgMatthew(which btw outperforms both SSE & WS by a factor of about 50 in terms of bandwidth - and gives you as good semantics for detecting connection outages ;)21:48:58
@matthew:matrix.orgMatthewhowever, we haven't progressed much further than the initial PoC in terms of improving /sync to be push-based (rather than long poll) and have push-style filtering semantics, or hooking up to CoAP, sadly21:49:33
@matthew:matrix.orgMatthewbut ftr this is the direction we've been considering for Matrix.21:49:39
@matthew:matrix.orgMatthewit would also have the nice side-effect that any FLOSS project that wanted Push might get Matrix for free21:49:49
@matthew:matrix.orgMatthewwhich would be a great step in terms of having Matrix as a general purpose FLOSS messaging infrastructure for the wider world (rather than using bidirectional msging in Firebase and getting locked into Google, or whatever)21:50:36
@forgemo:mos.appMo πŸ›°oh wow :) i didn't know that. that sounds very interesting. i wiil have to watch the video. I'm reading for the first time about CoAP πŸ™ˆ thats definitely a very nice perspective / vision for matrix ❀️21:53:03
@matthew:matrix.orgMatthew(btw, sputnik looks super-impressive, now i've got to a laptop and able to look at the repos :)21:53:04
@matthew:matrix.orgMatthewif you look at the slides for that talk (prolly easier to flip through https://matrix.org/blog/wp-content/uploads/2019/02/2019-02-03-FOSDEM-Low-Bandwidth.pdf rather than hear me drone on) you'll see i evaluated http in various flavours (albeit not WS or SSE admittedly) and how we converged on CoAP + Noise21:54:02
@matthew:matrix.orgMatthewCoAP is fun because it looks & smells like HTTP, and so maps really easily to Matrix21:54:12
@matthew:matrix.orgMatthewbut you also get an OBSERVE method, which lets you do SSE-style behaviour21:54:21
@forgemo:mos.appMo πŸ›°
In reply to @matthew:matrix.org
(btw, sputnik looks super-impressive, now i've got to a laptop and able to look at the repos :)
thanks, but it's still in a very early stage and there is still a lot to do :)
21:54:20
@matthew:matrix.orgMatthewon the sync/push stuff; please please understand that matrix’s sync stuff is not intrinsically long polling at all - that’s just the crappy default http transport22:01:33
@matthew:matrix.orgMatthewhttps://github.com/matrix-org/matrix-doc/blob/master/drafts/websockets.rst is a proposal and implementation for mapping it to WS for instance and using true push rather than long poll22:02:28
@matthew:matrix.orgMatthewbut the coap stuff obsolete that now22:02:35
@forgemo:mos.appMo πŸ›°
In reply to @matthew:matrix.org
on the sync/push stuff; please please understand that matrix’s sync stuff is not intrinsically long polling at all - that’s just the crappy default http transport
I guess I understand your point. http is currently the most pragmatic solution that just works for most clients/servers/platforms.
22:06:32
@forgemo:mos.appMo πŸ›°
In reply to @matthew:matrix.org
https://github.com/matrix-org/matrix-doc/blob/master/drafts/websockets.rst is a proposal and implementation for mapping it to WS for instance and using true push rather than long poll
oh, didn't know that. i will compare it with my current push implementation. i might find something that helps me to improve my implementation πŸ€“
22:08:10
@forgemo:mos.appMo πŸ›°
In reply to @matthew:matrix.org
but the coap stuff obsolete that now
i really have to find out what coap is πŸ˜† sound like a silver bullet. since it's now midnight where I live, i'm going to watch the coap video tomorrow :)
22:11:43
@forgemo:mos.appMo πŸ›°i also have to go to bed now 😴 .... good night 🌠22:12:44
@matthew:matrix.orgMatthew
In reply to @forgemo:mos.app
I guess I understand your point. http is currently the most pragmatic solution that just works for most clients/servers/platforms.
precisely. the only reason we use it is to make it easy to write clients, and because alt transports are immature
22:13:05
@matthew:matrix.orgMatthewnight!22:13:23
@matthew:matrix.orgMatthew
In reply to @forgemo:mos.app
oh, didn't know that. i will compare it with my current push implementation. i might find something that helps me to improve my implementation πŸ€“
that proposal maps the whole CS API to websockets, so it won't be very efficient for your purpose - it'd need the "only send me events for pushes!" extension to work as you want
22:15:57
@matthew:matrix.orgMatthew(plus as you can tell, i think you should use something like CoAP or possibly QUIC rather than ye olde websockets for push :)22:16:14
@jomat:asra.grπš“πš˜ joined the room.23:11:00
18 Aug 2019
@progserega:rsprim.ru@progserega:rsprim.ru
In reply to @forgemo:mos.app
I fixed the issue with russian text in the latest release. :) πŸ‡·πŸ‡ΊπŸ’ͺπŸŽ‰
Thank you very match!
00:38:51
@svenvnl:matrix.org@svenvnl:matrix.org joined the room.08:43:14

Show newer messages


Back to Room ListRoom Version: 4