I normally don't do this. When I see someone write a blog post I
don't agree with, I often just dismiss it and go on. But, this
particular one caught my attention. It was titled PHP
vs Node.js: Yet Another Versus. The summary was:
Node.js = PHP + Apache + Memcached + Gearman - overhead
What the f**k? Are you kidding me? Clearly this person has NEVER
used memcached or Gearman in a production environment that had
any actual load.
Back in the day, when URLs and filesystems had
a 1:1 mapping, it made perfect sense to have a web server
separate from the language it is running. But,
nowadays, any PHP app with attractive URLs running behind the
Apache web server is going to need a .htaccess file, which tells
the server a regular expression to check before serving up a
file. Sound complex and awkward …
Jun
26
2012
Jul
14
2011
Indexes are a very important part of databases and are used frequently to speed up access to particular data item or items. So before working with indexes, it is important to understand how indexes work behind the scene and what is the data structure that is used to store these indexes, because unless you understand the inner working of an index, you will never be able to fully harness its power.