Acceleratr.co launches

May 22, 2014

Andreas Pouros and I launched http://www.acceleratr.co today.

acceleratr.co is a London-based, high performance start-up accelerator providing start-ups with everything they need to get to a major funding round – capital, strategy, mentoring, resources, subsidised office space and contacts.

CDN Request Pipelining

March 16, 2014

Not all Content Delivery Networks (CDN) request pipeline (also known as Pre Caching System).

Request pipelining is a technique to reduce the number of origin hits for simultaneous requests. If there are three simultaneous requests for a non cached item then one server will make the request to the origin and the other two servers will wait until the server making its request has completed and then return the cached content.

The impact of having no request pipelining depends on the nature of what your origin is serving. If origin hits are particularly heavy CPU/IO wise and/or you have flash traffic (large amount in very short window) then you will definitely want your CDN to request pipeline.

Not all CDN providers cache on first request

March 16, 2014

It’s not something CDN (Content Delivery Network) providers broadcast but not all CDNs cache an object on first request. Their rationale being they don’t want to fill their cache with items that are not frequently requested.

The impact of don’t cache on first request really depends on the nature of what your origin is serving. If origin hits are particularly heavy CPU/IO wise and/or you have flash traffic (large amount in very short window) then you will definitely want your CDN to cache on first request.

The good news is many CDNs can turn this off so first requests are cached.

Amazon introduce rudimentary CloudFront reporting and ELB logging

March 14, 2014

At long last Amazon have introduced rudimentary CloudFront reporting and ELB logging.

No longer do you have to write scripts to download and process thousands of log files from S3 or use third party services to get basic CloudFront reports. Although if you need anything more advanced than these, which is quite likely, you will

  • Number of Requests: show the number of HTTP or HTTPS requests served by edge locations in the selected region for the specified CloudFront distribution.
  • Data Transferred: show the total amount of data transferred over HTTP or HTTPS from CloudFront
  • Data Transferred from CloudFront Edge Locations to Your Users: This chart shows data transferred from CloudFront edge locations in the selected region to users, combining both HTTP and HTTPS usage.
  • Data Transferred from CloudFront to Your Origin: This chart shows data transferred from CloudFront edge locations in the selected region to your origin for POST, PUT PATCH, OPTIONS, and DELETE methods, again combining both HTTP and HTTPS.

Distributed agile / distributed teams

February 8, 2014

I often hear people say “offshore doesn’t work I need my people together”.

This is simply not true. Perhaps they are embarrassed to say they haven’t been able to make it work. I don’t think that is true either. I think it is just a case of they haven’t tried it but they probably have and haven’t even realised it.

Staff often work from home because they are not very well, waiting for plumbers, etc. Whilst at home they dial into meetings and/or conduct conversations with other people using telephone, Skype, Google Hangout, GotoMeeting, etc.

I know a company where their team lead is in Sofia and he manages a distributed development team across Sofia (Bulgaria), London (UK) and Newcastle (UK). I also know a company with developers in San Francisco (USA), Bath (UK), Kiev (Ukraine) and St Petersburg (Russia). They and many others find it works very well.

My personal preference is to divide projects into small self contained teams, e.g. < 5 people, so the communication overhead between people is reduced which results a small amount of team to team communication.

For example an eCommerce project could be split into 5 small teams UI designers (London), www UI developers (London), admin UI developers (Sofia), web services developers (Sofia), import / export developers (Sofia), etc. Should the import / export developers sit in a scrum meeting and listen to the UI developers whittle on about things effecting them and vice versa. No. It’s not a good use of their time.

Here is an example of what not to do

conference-call

A meeting for 16 people regardless of whether face to face or distributed is going be long and energy sapping. Just look at their faces!

If you operate multiple locations it makes sense to invest a few hundred dollars in a large TV and a conference camera like this Logitech BCC950 Conference Camera in each location.

conference-call2

Offshore teams and distributed teams work and there is a new generation of people for whom this is the norm.

You should embrace talent no matter where it is in the world.

Sofia Office Expansion

February 8, 2014

TechHuddle is expanding and we have recently taken on more office space for our Sofia Office.

We are hoping for 100% growth this year.

Magento Admin Panel missing browse button

February 5, 2014

Another gotcha today with the Magento Admin Panel was I was unable to upload images using Safari and Firefox on my Mac because I couldn’t see buttons to browse files / upload.

It turns out flash needs to be installed for these buttons to be visible. Very frustrating!

Cannot login to Magento admin panel with Google Chrome

February 5, 2014

I was also reminded today of the fact that I cannot use Google Chrome to login to the Magento Admin Panel on localhost. Every time I enter the username and password I am returned to the login page. Works fine with Safari and Firefox on my Mac just not Google Chrome my preferred browser.

One of the workarounds posted on the internet is to change the cookie timeout using the admin panel.

System > Configuraton > Web > Session Cookie Management

I tried changing with Safari but it did not work. Perhaps I should have cleared cookies.

I got it work in the end by editing

app/code/core/Mage/Core/Model/Session/Abstract/Varien.php

and changing this


$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath(),
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()
);

to


$cookieParams = array(
// 'lifetime' => $cookie->getLifetime(),
// 'path' => $cookie->getPath(),
// 'domain' => $cookie->getConfigDomain(),
// 'secure' => $cookie->isSecure(),
// 'httponly' => $cookie->getHttponly()
);

It feels very wrong to have to do this.

You may need to clear localhost cookies and keychain on Mac.

How to reset Magento admin password

February 5, 2014

I installed Magento on my MacBook Pro a few months ago and came back to it today but had forgotten the admin password.

There are lots of articles on the internet on how to reset the admin password.

Whilst this works

UPDATE admin_user SET password=CONCAT(MD5('qXpassword'), ':qX') WHERE username='admin';

it isn’t necessary to set a salt so this equally works

UPDATE admin_user SET password=MD5('password') WHERE username='admin';

I would also recommend clearing the relevant cookies and keychain entry on Mac’s.

Hybris Global Partner Summit 2014

December 23, 2013

I shall be attending the Hybris Global Partner Summit 2014 in Munich, Germany in January.


Follow

Get every new post delivered to your Inbox.