$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>optimization - wordpress with 1.5 million posts|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

optimization - wordpress with 1.5 million posts

matteradmin8PV0评论

I wanted to transform my dictionaries into a WordPress website that has different dictionaries for different views. As you can imagine by now, the posts will mostly have just 2 words and a short sentence of the definition.

so The post body will mostly be this big:

home  / casa
a place when people love

I'm not sure how much space that post would occupy considering it will be linked to 1 category (no tags nothing else) and have an explanatory title like casa translation

The text files in total consist in about 100MB of space I'm guessing as WordPress posts they would occupy double that. So I have 1Gb of ram. Will this be enough according to you WP experts out there?

Any possible fine tuning/customization I could make?

Like fcgicache or some mysql cache because I'm thinking WP super cache would not be a good option for so many files.

Thank you!

I wanted to transform my dictionaries into a WordPress website that has different dictionaries for different views. As you can imagine by now, the posts will mostly have just 2 words and a short sentence of the definition.

so The post body will mostly be this big:

home  / casa
a place when people love

I'm not sure how much space that post would occupy considering it will be linked to 1 category (no tags nothing else) and have an explanatory title like casa translation

The text files in total consist in about 100MB of space I'm guessing as WordPress posts they would occupy double that. So I have 1Gb of ram. Will this be enough according to you WP experts out there?

Any possible fine tuning/customization I could make?

Like fcgicache or some mysql cache because I'm thinking WP super cache would not be a good option for so many files.

Thank you!

Share edited Sep 24, 2017 at 11:55 Johansson 15.4k11 gold badges44 silver badges80 bronze badges asked Sep 23, 2017 at 21:12 RyanRyan 155 bronze badges 1
  • Hi. This answer might be useful. – Johansson Commented Sep 24, 2017 at 11:57
 | 

1 Answer 1

Reset to default 1

1 GB on virtual private server (VPS) should be enough, if you don't have a high traffic.

WP Cache could cause problems when number of posts is more than 30,000 due to limitations on file descriptors.

Main rules of tuning nginx, php and MySQL are the same as for high traffic site. You can read relevant article in my blog.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far