Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 937001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:24:15+00:00 2026-05-15T21:24:15+00:00

The general pattern for storing data in memcached seems to be to store lists

  • 0

The general pattern for storing data in memcached seems to be to store lists of ids, and then use multiget to retrieve the individual objects.

But how are people dealing with caching large lists of ids, say the ids of the users in a group, when the list could be up to 10000 ids?

I’ve thought about a strategy of splitting the list up in multiple pages of say 100 ids.
This would allow me to retrieve item 75-125 by getting 2 pages of 100 ids.

Can anyone see something wrong in this approach or direct to any resources dealing with this issue?

/Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:24:16+00:00Added an answer on May 15, 2026 at 9:24 pm

    10,000 64-bit IDs is 80k and very likely compresses quite well. You’d have to have very large groups before this matters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a general purpose data translation tool for internal enterprise use, using Java
We have a lot of data layer code that follows this very general pattern:
What is the best (or as good as possible) general SVN ignore pattern to
I'm kind of new to ASP.NET MVC and to the MVC pattern in general
...meaning pattern in its general English usage, not specific to OO design patterns. Given
This is a general question about MVC as a pattern, but in this case
If I wanted to learn about pattern recognition in general what would be a
General tutorial or good resource on how to use threads in Python? When to
I'm trying to understand the MVC pattern and I get the general idea that
I have a route like the following: /Company/1234/Contact/3456 The general pattern for my routes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.