Scalable WordPress Hosting

Standard

Just how far do the current WordPress hosting solutions go when you have a site with hundreds of thousands hits per day? Using loader.io I’ve set myself to test a few of the WordPress-specfic hosting solutions out there to test how they handle high traffic and stressful peak situations.

WPEngine (live environment)

Screen Shot 2014-03-27 at 15.58.06

Elasticdot (development mode)

The load test brought the web server down. The clarification provided by their support staff was: “since the App that you are testing out is in development mode, that App is served by a micro-Dot, the smallest available.” I would have to pay to test the live environment so I didn’t pursue further.

Linode (live environment)

Screen Shot 2014-03-27 at 16.11.03

Pantheon (live environment)

Screen Shot 2014-03-27 at 19.09.13

Also I would like to test WordPress running on HHVM but to date there isn’t a hosting solution out there that supports this out of the box.

P.S. : my MSc advisor would kill me for publishing such inaccurate results. A proper test would include several test runs, an average response time and a whole lot more information about how I’m conducting these tests. Basically these results are to be taken lightly and as a general guideline of what you would find by hosting a vanilla WordPress and pointing loader.io to it.

P.S. #2: I need a solution that can handle peaks of 2 million a day, if you have any ideas leave a comment. Thanks

Using WordPress as a CMS for Mobile Apps

Standard

We already know WordPress is a very good CMS for websites but with the recently introduced JSON REST API in WordPress core, things just got a lot more interesting.

With this API we are now able to use WordPress as a CMS for both a client’s website and his mobile apps which allows for greater simplicity and a one-stop backoffice for all their contents.

I’m just coming off a project now where we used this approach and there are a few key points to share:

Pros

  • Uploading Media works well;
  • Normal Posts and Pages works well;
  • Custom Post Types, Custom taxonomies works well;
  • Integrates nicely with WPML as multilingual solution making it perfect for multilingual mobile apps;

Cons

  • In every request the mobile app will have to authenticate itself by sending username/password;
  • The API is built in such a way to expose as much information about every object as possible so you might find yourself digging through a large object even if you only need one or two fields;
  • If we’re talking about an app that will have lots of users you might find yourself overloading your web server unnecessarily.

Even so I believe the positive points still largely payoff.  I’m excited as I see this project coming into live in such a short period and the insane value delivered to the client that can now update his apps from a similar backoffice to where I’m writing this post :-)

Can everyone become an Entrepreneur?

Standard

In a room with 100 people if we ask for a handstand what do you reckon will be the results?

  • how many will be able to do a handstand right away?
  • how many will be able to do a handstand after varying levels of practice, time and guidance?
  • how many will never be able to do a handstand because they will drop out or won’t commit to enough practicing, dieting, exercising, etc.?

Do you think the same can be applied to entrepreneurship?

BeachPitStop-Handstand

 

 

Mind Uploading

Standard

Today at lunch we talked about mind uploading. It all started when Carla mentioned the below Ed Boyden’s TED talk “A light switch for neurons”, where an experience of inserting genes for light-sensitive proteins into brain cells is covered.

I then found on Quora a similar thread where a PhD in cognitive science and neural systems from Boston University states: “I think the “chance” of mind uploading happening at any time in the future is zero.”

Quite fascinating. Some of the parts I decided to highlight:

I think the concept of mind uploading is still incoherent from both philosophical and scientific perspectives.

We have no way of knowing whether an upload has been successful

The concept of uploading a mind is based on the assumption that mind and body are separate entities that can in principle exist without each other. There is currently no scientific proof of this idea

On another Quora thread:

As an analogy, consider the marketing/PR team working at a Fortune 1000 corporation. The marketing team puts out a coherent message — the voice of the company — but this is created by a team of people who collaborate and synthesize their thinking into a consistent framework. New people join the marketing department all the time, and they learn the ropes and take over from people who leave. Every few years, everyone working there is new, but the voice of the company (its identity, messages, and memory) remain intact.

Cycled to Guincho

Standard

On Saturday we gladly accepted the invite from Fernando & Ana to take our bikes on the train to Cascais and then cycle to praia do Guincho. It’s about 30min on the train and then about 5km to Guincho. The weather was nice and warm, we had a picnic on the beach and after I took a nap.

1510479_10203514585804955_1550336911_n