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 6657483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:46:25+00:00 2026-05-26T01:46:25+00:00

I am in the process of implementing several tagging fields on my website that

  • 0

I am in the process of implementing several tagging fields on my website that include an autocomplete option using the jquery UI plugin. I have everything working, and while the widget itself isn’t as robust as I would prefer (is there a way to make the first item in the list always highlighted, for instance), it is serviceable for now.

My question is around handling the server-side requests for the autocomplete data. Right now I’m using AJAX to retrieve the potential matches for the supplied input term. The table I’m hitting has around 10,000 records in it, and my thought was that rather than constantly querying that table, I could just cache a list of those records in a shared/static property on my server (I’m using ASP.NET MVC with a SQL Server backend by the way) and query that list instead. I would refresh the list every 4 hours or so, just to keep it up to date.

The idea is obviously to reduce the strain on my SQL server and maximize the performance of the autocomplete drop down. What I’m ultimately wondering is if it’s bad practice to keep a list/array of 10,000 values in memory on my server; is there a known limit/threshold here? My server has 2GB of RAM, and may need to be upgraded soon anyway.

Any suggestions would be much appreciated.

Thanks for your time!

  • 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-26T01:46:26+00:00Added an answer on May 26, 2026 at 1:46 am

    10,000 small strings shouldn’t be too bad – I’ve done that before with no noticeable side effects.

    I would recommend running your app without the items in memory, and then again with, and take a look at memory and CPU usage in Task Manager in Windows, just to get an idea of how much memory you truly are using up – that will help determine if it will cause problems down the road.

    But hitting the database each time probably wouldn’t be that bad either – unless you hae a ton of traffic, the effect would likely be negligible.

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

Sidebar

Related Questions

I'm implementing a Google Suggest like autocomplete feature for tag searching using jQuery's autocomplete.
I have an algorithm that calls several functions to process its data. Each of
I am in the process of implementing jQuery, and taking out Prototype libraries in
I'm implementing a process elevation helper for Windows. It's a program that will run
I'm in the process of implementing a workflow in Sitecore, and for that I
I'm in the process of implementing in-app billing and I'm using the Dungeons app
I'm in the process of implementing a user authentication system for my website. I'm
I am in the process of implementing scrolling in a custom edit control that
What is the best way of implementing a checkout process that allows customers to
We have a system that handles several users where users can spend up to

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.