TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

WordPress on Heroku

80 pointsby tiefenbalmost 11 years ago

12 comments

hashtreealmost 11 years ago
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 未加载
jsmoovalmost 11 years ago
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 未加载
dangoldinalmost 11 years ago
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 未加载
aalamiralmost 11 years ago
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 未加载
javipasalmost 11 years ago
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_almost 11 years ago
A credit card entered @ Heroku is required in order to do this. It won&#x27;t be billed if you follow the readme.
评论 #8085603 未加载
drunkcatsdgafalmost 11 years ago
you could always use heroku&#x27;s postgres instead of mysql, avoiding having to put in a CC.
dylanlacomalmost 11 years ago
Where is the wp-admin directory and the files in wp-includes?
评论 #8086313 未加载
thisisdallasalmost 11 years ago
Why not add MariaDB to that also?
sirjialmost 11 years ago
Will this work on the Free plan
评论 #8084759 未加载
andreashalmost 11 years ago
pros and cons vs wpengine.com?
评论 #8084432 未加载
评论 #8084761 未加载
gottartsalmost 11 years ago
any performance comparison?
评论 #8084758 未加载