Neat! I checked out your source code, and if there's one comment I have, it's the way you query for comments. Currently, response times are around 300-400 ms for just 79 bytes of data. That's likely because you recursively fetch nested comments from a serverless function, which potentially has to make multiple network request to talk to the database. Coincidentally, a past Disqus employee has a great write up on the faster solution (recursive CTE): https://cra.mr/2010/05/30/scaling-threaded-comments-on-djang...
Regardless, great work! Choosing Svelte to hit that 4.7kb mark is super sweet!
Comments (167) 46 threads
Show all comments
Showing thread 2 of 46
Regardless, great work! Choosing Svelte to hit that 4.7kb mark is super sweet!