TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WordPress on Heroku

80 点作者 tiefenb将近 11 年前

12 条评论

hashtree将近 11 年前
Where content is semi-static (e.g. blogs, informational sites like WebMD, sites in which the information updates infrequently on a per-page level), we have flipped the approach&#x2F;architecture and it has proven to be a HUGE boon for us. With the approach, we get performance that is essentially unmatched via any traditional server setup, nearly unlimited read scalability, vastly reduced infrastructure costs, improved usability for end users with direct benefits to engagement and SEO, and much more. It certainly is not a fit for every site. For instance, Twitter could not work at all this way. But, for semi-static sites it works like a charm:<p><pre><code> - Host all content via CDNs, which is dynamically managed via backend servers (see below). - Allow user interactivity via events being pushed to pub&#x2F;sub event servers. On the other side, in other DCs entirely, are the more traditional servers which await said events. Said events are processed, aggregated, and then pushed back up, via CDN APIs, to the CDN servers. - Use eventual consistency concepts to simulate real-time interactivity for users. For instance, when a user posts a review&#x2F;comment we show it client-side to them, knowing that the CDN update should be coming momentarily. </code></pre> Besides the pub&#x2F;sub servers, servers can be housed just about anywhere across the globe (latency isn&#x27;t a huge issue any longer). If you are based in the US, you might be surprised to find out just how competitive&#x2F;cheap the European market is for servers. Previously, it would have been insane to consider them, but now we can leverage them for a large reduction in costs. For example, compare Rackspace dedicated servers to OVH dedicated servers. It is roughly one order of magnitude less costly.
评论 #8085491 未加载
评论 #8085585 未加载
jsmoov将近 11 年前
An alternative that worked well for me and seems a bit more streamlined to install: <a href="http://mchung.github.io/heroku-buildpack-wordpress/" rel="nofollow">http:&#x2F;&#x2F;mchung.github.io&#x2F;heroku-buildpack-wordpress&#x2F;</a>
评论 #8086071 未加载
dangoldin将近 11 年前
Another suggestion is to use Varnish. It&#x27;s extremely easy to set up and just put in front of your Wordpress install, regardless of whether you&#x27;re using Nginx&#x2F;Apache.
评论 #8085101 未加载
aalamir将近 11 年前
For easier experimentation, I have created a Terminal.com snapshot with this setup.<p><a href="https://atharwat.wordpress.com/2014/07/26/wordpress-on-terminal-com/" rel="nofollow">https:&#x2F;&#x2F;atharwat.wordpress.com&#x2F;2014&#x2F;07&#x2F;26&#x2F;wordpress-on-termi...</a>
评论 #8087767 未加载
javipas将近 11 年前
So Heroku makes the setup pretty automatic, right? Otherwise you&#x27;d have to setup and configure each of those elements one by one, right?
matthijs_将近 11 年前
A credit card entered @ Heroku is required in order to do this. It won&#x27;t be billed if you follow the readme.
评论 #8085603 未加载
drunkcatsdgaf将近 11 年前
you could always use heroku&#x27;s postgres instead of mysql, avoiding having to put in a CC.
dylanlacom将近 11 年前
Where is the wp-admin directory and the files in wp-includes?
评论 #8086313 未加载
thisisdallas将近 11 年前
Why not add MariaDB to that also?
sirji将近 11 年前
Will this work on the Free plan
评论 #8084759 未加载
andreash将近 11 年前
pros and cons vs wpengine.com?
评论 #8084432 未加载
评论 #8084761 未加载
gottarts将近 11 年前
any performance comparison?
评论 #8084758 未加载