4 Dec 2017 |
Ross Schulman | I should be able to figure this out, but what does PDU stand for? | 13:57:24 |
MTRNord (pls DM via @mtrnord:midnightthoughts.space) | Ross Schulman: https://matrix.org/docs/spec/server_server/unstable.html#pdus no idea what pdu exactly means | 13:58:04 |
MTRNord (pls DM via @mtrnord:midnightthoughts.space) | but thats where it is from | 13:58:11 |
Ross Schulman | Ah, apparently Persisted Data Units. | 14:06:53 |
Ross Schulman | From further up in that doc. | 14:07:02 |
MTRNord | hm learned another thing now :D | 14:09:46 |
Ross Schulman | Just thinking about how to upgrade to use protobufs/rpcs, maybe the first time your dendrite fork speaks to a new server it should make a request to an api endpoint like /api/v0/upgrade? | 14:11:35 |
Ross Schulman | If the other server responds with "true" then switch to protobufs, if you get a 404 then fall back to https? | 14:12:10 |
MTRNord | Ross Schulman: I will take a look what krombel does with the websocket implementation at synapse and maybe match that. It might make sense to have one way to upgrade instead 2. But I did think of just adding it as a new version. to /_matrix/federation/v1/version | 14:14:48 |
Ross Schulman | Oh, yeah, if there's already a method being used, definitely do that. | 14:15:42 |
MTRNord | but websockets are on the client api thats why I say it might make sense to do it that way. Also I think websockets have a official web spec for upgrading | 14:16:31 |
MTRNord | I might read about this issue: https://github.com/grpc/grpc-go/issues/75 it is about serving http/https and grpc on the same endpoint simustanly. Meaning it can use http upgrade for switching | 14:18:44 |
MTRNord | basicly using this to upgrade from http to a http2 connection https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism | 14:20:27 |
MTRNord | (thats what websockets do in synapse too) | 14:20:34 |
| Etherpad widget added by MTRNord | 14:27:58 |
| Etherpad widget added by MTRNord | 14:27:58 |
| Etherpad widget added by MTRNord | 14:27:58 |
| MTRNord changed the room topic to "Matrix Protobuf/gRPC Proxy Repo: https://github.com/MTRNord/MatrixProtoBuf --- Proto Files only repo at: https://github.com/Nordgedanken/MatrixProtoFiles - Etherpad Widget URL: https://demo.riot.im/etherpad/p/!PisumNCACkTdCduGyB:matrix.org" from "Matrix Protobuf/gRPC Proxy Repo: https://github.com/MTRNord/MatrixProtoBuf --- Proto Files only repo at: https://github.com/Nordgedanken/MatrixProtoFiles". | 14:28:35 |
MTRNord | The etherpad is just for writing our implementation Ideas down :) | 14:31:31 |
MTRNord | if you get the permission denied use the link. It is scalars fault ;) (I use /develop ) | 14:31:59 |
MTRNord | dendrite discussion went to: #matrix-architecture:matrix.org (for the record) | 16:58:46 |
Ross Schulman | Huh, I'm getting an internal server error when I try to join that room. | 17:22:51 |
MTRNord (pls DM via @mtrnord:midnightthoughts.space) | Ross Schulman: My server has the same issue. the room feels broken or matrix.org is | 17:24:10 |
25 Dec 2017 |
| * MTRNord reworks his gRPC branch to use Protobuf files. (as ofdiscussions back than) | 15:19:51 |
MTRNord | A good time to fork gomatrixserverlib xD | 15:44:53 |
MTRNord | Looking at the code the change is actually extremly simpler than I expected... Only gomatrixlib converting to the FederationReq and sending needs to be changed not the handling mostly | 15:55:13 |
3 Feb 2018 |
| Demyan joined the room. | 11:48:31 |
30 Mar 2018 |
| @krombel:msg-net.de joined the room. | 10:20:34 |
2 Jun 2018 |
| @zeratax:dmnd.sh joined the room. | 19:32:45 |
4 Dec 2018 |
| @zeratax:dmnd.sh changed their profile picture. | 17:52:40 |