google / google/codeworld

POST to /listFolders is slow

Open
#694 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

When loading the CodeWorld home page, the slowest part by far is loading the existing folders. This request takes over a second. It's also sent twice, when it shouldn't need to be.

Should figure out why it takes so long. My guess is that the directory listing for data/codeworld/projects is too long, and it might help to shard it by the first few characters, the same way we do for data/codeworld/user. But that's just a guess.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.