3 ms·
> Take some ordinary, off-the-shelf servers. Treat them as dumb, untrusted pipes. Sounds like REST. The original REST, not the botched CRUD that companies push
by gaigalas 11mo ago
> Take some ordinary, off-the-shelf servers. Treat them as dumb, untrusted pipes.
Sounds like REST. The original REST, not the botched CRUD that companies pushed for.
https://roy.gbiv.com/pubs/dissertation/fielding_dissertation.pdf https://roy.gbiv.com/pubs/dissertation/fielding_dissertation...
> The combination of layered system and uniform interface constraints induces architectural properties similar to those of the uniform pipe-and-filter style.
See also Figure 5-8.
The dissertation is all about deriving that network style.
- sharperguy 11mo agoThe key thing is that all messages are signed and have a few standard fields, making them easy to replicate across many relays while maintaining the ability to verify their origin. And the second thing being that it is based on websockets, allowing the client to maintain an open connection and have new data be pushed instantly rather than relying on polling.
- gaigalas 11mo agoHave you read the document I linked? I refered to a specific quote and figure in the dissertation. Otherwise, I'm afraid we're comparing it with something else.
- dahrkael 11mo agosorry but why is the "web" part relevant for that? cant you keep a normal tcp or udp connection open?
- sharperguy 11mo agoYes as with many things these days it just makes it easier to integrate with existing systems, like web browsers. So you can have an entire client built into a web page without needing special server software to translate between NOSTRs native connection to a websocket. Plus it makes hosting easier in some cases.