Thursday, December 20, 2018

New comment by thejerz in "Bye Bye Mongo, Hello Postgres"

Their architectural choices are puzzling to me:

1) Why use Scala to write (a relatively simple) internal CMS?

2) Why use a clustered database for 2 million records?

3) Why write your own proxy? (in Akka, none the less)

4) Why would you migrate articles from Mongo to Postgres using a script that runs overnight in screen?

The Guardian is, prima facie, a Wordpress blog. A simpler architecture would be:

1) Any CRUD web framework to build the CMS for reporters to draft their articles (Django, Rails, etc). Any basic RDBMS with read replication will do. Or, ditch the webapp entirely and just make a simple Markdown editor that commits to a git repo, a la Prose or Netlify.

2) When a reporter "publishes" an article, generate HTML for it and push to the CDN network. (I can't easily tell by looking at their HTTP headers, but I assume they're doing this already)

Okay, I'm being a little tongue-in-cheek. It's probably not that simple. But, one has to wonder, when you're serving up 100 million static HTML pages a day, if it really has to be this complicated.



from Hacker News - New Comments: "WordPress" https://ift.tt/2BGlL0T
via IFTTT

No comments:

Post a Comment

Acid attack victim was 'set up by his ex-wife'

A court hears Danny Cahalane, 38, faced "real threats" in the months before his death. from BBC News https://ift.tt/3cjZxC6 via...