将1L记录存储在高速缓冲存储器中进行搜索是明智的 [英] is it wise to store the 1L records in cache memory for searching

查看:51
本文介绍了将1L记录存储在高速缓冲存储器中进行搜索是明智的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中我将1个lak记录存储在缓存中是否好坏

in my application i'm storing 1 lak records in cache whether is it good or bad

推荐答案

我不认为将这么多数据缓存到缓存内存bcoz它会降低你的服务器速度。如果你的服务器上有无限的RAM,那么你可以将这么多的数据存储在缓存中
I dont think it is right to cache that much data into cache memory bcoz it will slow down your server.In case of if you have unlimited RAM on your Server then it will be fine for you store this much data in cache


引用:

我在缓存中存储1个lak记录是否好坏

in my application i'm storing 1 lak records in cache whether is it good or bad

请检查一次您的体系结构。我不认为你一次需要这些记录。



所以,只提取负责页面的记录。您也可以使用 jQuery Ajax。

Please review your architecture once. I don't think you need these much of records at once.

So, pull only records responsible for a page. You can also use jQuery Ajax for this as well.


这篇关于将1L记录存储在高速缓冲存储器中进行搜索是明智的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆