NostrRelay: Difference between revisions
Jump to navigation
Jump to search
(→Links) |
(→Links) |
||
Line 8: | Line 8: | ||
** https://en.wikipedia.org/wiki/FastAPI | ** https://en.wikipedia.org/wiki/FastAPI | ||
** https://fastapi.tiangolo.com/ | ** https://fastapi.tiangolo.com/ | ||
* ASGI Based (FastAPI apps run inside an ASGI server) | |||
** WSGI is synchronous (as opposed to asyncio, for example), so it does not do websockets and other long-connection things well. | |||
** https://en.wikipedia.org/wiki/Asynchronous_Server_Gateway_Interface | |||
** Uvicorn | |||
*** https://github.com/encode/uvicorn | |||
*** https://www.uvicorn.org/ |
Revision as of 18:49, 3 October 2023
Links
- Nostr Relay
- FastAPI (web app toolkit used by Nostr Relay)
- Broadly similar to Flask - web app toolkit
- Built for production speed (typechecking in Rust, Starlette asynchronous gateway interface (ASGI))
- https://en.wikipedia.org/wiki/FastAPI
- https://fastapi.tiangolo.com/
- ASGI Based (FastAPI apps run inside an ASGI server)
- WSGI is synchronous (as opposed to asyncio, for example), so it does not do websockets and other long-connection things well.
- https://en.wikipedia.org/wiki/Asynchronous_Server_Gateway_Interface
- Uvicorn