Seve - interesting, the server is constantly ge...
interesting, the server is constantly getting DDOS'd by the
3d.png
endpoint, it's probably the main reason for server slowness (CC @DOPΣ @Rishabh @shibo )
Couple things we can do:
- Move the 3d image generation to the usercode server (best, NO COMPUTATION on the API!!!!)
- Improve performance of 3d renderer (it shouldn't be this intense to run, it's not scalable)
3 Replies
3D renderer repo: https://github.com/tscircuit/simple-3d-svg
GitHub
GitHub - tscircuit/simple-3d-svg: An extremely simple 3D SVG render...
An extremely simple 3D SVG renderer (20KB minified) - tscircuit/simple-3d-svg
obviously i'd also love to not have to build our own 3d renderer too, but we need something that runs fully in javascript without GPU access for portability
honestly the simple-3d-svg renderer is not that bad
Issue regarding performance: https://github.com/tscircuit/simple-3d-svg/issues/56
GitHub
Improve performance by at least 3x, reduce size of SVGs · Issue #5...
The SVGs this renderer generates are quite big, often 2MB+. It also renders pretty slow e.g. see this example The task is to improve both of these (likely related) issues. /bounty $500