3
points
alex_hirner
Joined 2,544 karma
dishtracker.io
- 17 points
- alex_hirnermemray and later a custom request wrapper that output python gc statistics. Our main candidates for the leak are: grpc, asgi server itself, psycopg, django channels. All leaked to some degree. Alas, it did not became clear what caused the runaway leak at 30 MB/s. Capturing flamegraphs just before OOM kills would require some more engineering. Granian contained these situations until upgradings later that year made the system more stable to begin with.
- It was and is a life saver. Our django app suffered from runaway memory leaks (quite a story). We were not able to track down the root cause exactly. There are numerous, similar issues with uvicorn or other webservers. Granian contained these problems. Multi process management is also reliable.
- I'd love to make it work with flightsql or HTTP endpoints returning arrow IPC [0]! Did you consider using perspective for last-mile charting [1]? Building your own seems like a huge chunk of work. Well done!
[0] https://duckdb.org/docs/stable/clients/wasm/data_ingestion#a... [1] https://github.com/finos/perspective
- 2 points
- 1 point
- 2 points
- 1 point
- 5 points
- 3 points
- > The virality of async await is that once you mark a function async, then you can only call it from another async function
That's not exactly true. Many languages return a curried version of it, which can be executed once you have a runtime.
- True. Therefore I'm eagerly awaiting an artificially intelligent product manager.
Or I might build that myself.
- 3 points
- 2 points
- 3 points
- 3 points
- 214 points
- 2 points
- 2 points