What's the best practice to fetch 10 random images from Cloud Storage to display to users?

This page summarizes the projects mentioned and recommended in the original post on /r/webdev

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • node-convict

    Featureful configuration management library for Node.js

  • However, if you have plans to increase the number of images, like to 500 for example, then I'd suggest using server-side pagination here. I'd also suggest using cursor-based pagination instead of offset-based for better performance. Github uses cursor-based pagination on stargazers page since the number of stars can get potentially huge for a repo.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts