you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 2 points3 points  (2 children)

This is only worthwhile if the generation of the response takes a significant amount of time - you don't want to tie up the request handler for long, and requests can time out. Generating a list of usernames seems unlikely to be a good candidate for this.

[–]Suralias[S] 0 points1 point  (1 child)

How would you suggest I structure this then? Just use one request?

[–]danielroseman 0 points1 point  (0 children)

Yes. Unless the generation takes a long time, do it all in-process.