English 中文(简体)
单一服务器中用于关键价值切身的系统
原标题:What system to use for a key-value cache on a single server

I m 执行需要一些教学能力的PHP书。

I m trying to determine which caching strategy to use for user data assuming that the script is running on a single server. I m probably looking at about 50k different keys. The data for each key is not very big - in most cases less than 5kb.

在I md5冲洗确定 ha档案名称的钥匙的地方,我已经安装了一个关键/价值档案库。 然后,在每一级有256份档案,以避免在一份目录中拥有太多的档案。

看来,随着这一安排,克民共体的业绩正成为一个瓶颈。 我是否善于使用 me子?

由于公用钥匙基础结构的档案是编码的电离层,似乎它们没有很好地发挥作用,因此,装甲运兵车或类似手段并不是一种选择。

最佳回答

小麦是这方面的一个真正好选择,因为它优化了关键/价值分类。 否则,你就可以制作一个RAM软盘,将你的卡路里的档案保存到这个“去”。

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签