<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Engineering @ Hey You - Medium]]></title>
        <description><![CDATA[stories from the trenches - Medium]]></description>
        <link>https://medium.com/engineering-hey-you?source=rss----f2f549fa8265---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Engineering @ Hey You - Medium</title>
            <link>https://medium.com/engineering-hey-you?source=rss----f2f549fa8265---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 16:32:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/engineering-hey-you" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Problems with connectivity problems]]></title>
            <link>https://medium.com/engineering-hey-you/problems-with-connectivity-problems-6671c1da8edc?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/6671c1da8edc</guid>
            <category><![CDATA[nat-server]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[aaron]]></dc:creator>
            <pubDate>Wed, 17 Aug 2016 05:33:30 GMT</pubDate>
            <atom:updated>2016-08-17T05:33:30.005Z</atom:updated>
            <content:encoded><![CDATA[<p>We have to admit, we’ve been slow to react to slowness. In a fast paced world, its easy to keep pushing ahead, but in retrospect, its come back to bite us and slowed us down almost to a halt.</p><p>On 16–21 July 2016, Hey You suffered a large and sustained outage throughout that period. Below is our post-mortem of the events that transpired (more information and real-time status updates can also be found at <a href="https://heyyou.statuspage.io/">https://heyyou.statuspage.io/</a>).</p><h4>Summary (tl;dr)</h4><p>We experienced intermittent connectivity issues since Sunday which were eventually compounded by separate issues on Wednesday. Services resumed in a low degradation mode late Wednesday. All systems were returned to full operation by Friday 00:30am.</p><h4>What caused it</h4><p>A database instance which we use for analytical and business intelligence reporting was upgraded on Saturday morning (at approx. 1am AEST). This caused a spike increase in network traffic between it and our third party service provider due to automated report generation etc… An increase in customer transactions on Monday also contributed to the situation.</p><p>The increase in network traffic caused out NAT servers to exhaust their CPU credits and burst capacity, leading to a bottleneck in network traffic. This caused (mostly) outgoing network requests to become queued up and timeout before even starting due to the low spec hardware on the NAT servers. As the bottleneck increases it became more difficult for the situation to resolve itself. It was a downward spiral.</p><p>Here’s a graph (from newrelic) to better explain our situation (which isn’t good for people who want things fast!)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3e9V95KZHngNehH5.png" /></figure><h4>How was it resolved</h4><p>In all honesty, we had no idea what was the cause when the issues were occurring and thus undertook various tests to help identify the cause of the issue;</p><ol><li>Investigated AWS CloudWatch monitoring on our instance fleet, load balancers and databases. These graphs did not show us much information as they were mostly on par with historical trends. Database load for our primary instance showed a small peak around Saturday morning (inline with when the DB upgrade was performed).</li><li>We reverted the DB upgrade and downgraded it, as this was the biggest change around that time. We wanted to eliminate as many variables as possible. The revert occurred on Wednesday and we noticed a small impact in restoration to our services.</li><li>NewRelic monitoring showed similar graphs to CloudWatch, but really highlighted that the issue was mostly with network communications with external services (latency was through the roof).</li><li>We attempted basic ping/cURL scripts from some server instances across our network and from our own machines. This highlights that only some instances were affected. We cloned those servers (and created new ones) and tried again — same problems (thus, not related to a specific instance). We dived into the differences in their setup/configuration, pinning it to VPC setup.</li><li>Given that the issues were only occurring on instances in a particular VPC we looked into the infrastructure make-up and identified our NAT instance as an older, smaller hardware. Communications with AWS Support helped aid this process and was confirmed as the bottleneck for the network traffic.</li><li>A temporary workaround to minimise disruption was to distribute our server fleet behind a different (and underused) NAT instance. This was applied Wednesday afternoon.</li><li>We attempted a (self-managed) NAT instance upgrade but these didn’t work for us due to unknown configurations.</li><li>We performed an upgrade of that self-managed NAT instance into a AWS managed NAT Gateway late Thursday night.</li><li>Services were resumed by (22nd) Friday 01:00am, just in time for the morning rush.</li></ol><h4>What was affected</h4><p>All aspects of the Hey You platform leveraging third party services were affected. In particular; payments, notifications (email/sms/push) and POS integrations. Page loads and API requests were slowed down. Backend administration was also impacted and productivity also took a significant hit.</p><h4>How could it be prevented</h4><p>More thorough alerting to the impact to services since Saturday as these went mostly un-noticed. Better review policy for NAT instance hardware and capacity would have aided us in knowing whether server upgrades are the bottlenecks or not.</p><p>Better distribution of our application across our server fleet to reduce impact of bottlenecks would have also reduced the impact.</p><h4>What will we do / are doing</h4><ul><li>We will setup additional alerting with the latency metric to ensure our engineers are aware of and can respond to the situation sooner.</li><li>We have scheduled and successfully completed update to the remainder of our NAT instances to the NAT gateway to future proof ourselves.</li><li>We’ve written this post-mortem and outage reports for future engineers to review and follow in case it does happen again (which it shouldn’t since we’ve moved to the an auto-scaleable infrastructure)</li></ul><h4>Useful resources</h4><ul><li><a href="http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html">http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html</a></li><li><a href="http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html">http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html</a></li><li><a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-comparison.html">https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-comparison.html</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6671c1da8edc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/problems-with-connectivity-problems-6671c1da8edc">Problems with connectivity problems</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reacting to change]]></title>
            <link>https://medium.com/engineering-hey-you/reacting-to-change-f167cd694a0d?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/f167cd694a0d</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Cameron Chang]]></dc:creator>
            <pubDate>Thu, 03 Mar 2016 06:09:25 GMT</pubDate>
            <atom:updated>2016-03-03T06:09:25.187Z</atom:updated>
            <content:encoded><![CDATA[<p>Back in the days when Hey You was both Posse and BTQ, the front end team used angular a few of our projects such as <a href="http://posse.com/">Posse’s</a> and the new <a href="http://app.heyyou.com.au/">Hey You Webapp</a>. We had all become quite familiar and comfortable with the framework which is why it made it a bit difficult to change to using React for the basis of our new project.</p><p>To start (and I do the description a disservice), React is a new library developed by Facebook that uses virtual DOMs which they call components to render content on the page. This allows for us to quickly add, remove and update sections of the page almost instantaneously. Translated into Angular speak (at least my interpretation), think of an entire page filled with many small directives all working independently of each other and being controlled by a one page controller… kinda neat when you step back and think about it.</p><p>One of the most surprising thing for all of us when we started to dive into react was the flux architecture. Without diving too far into it, flux architecture allows components to make a call to actions to modify some data, then have that data dispatched across the entire project, then have registered stores listen to this dispatch and store the state of this data which would then prompt getters to get this new state and return it to whichever component is listening to that getter… and so the cycle continues!</p><p>If that seemed confusing I have drawn a diagram below to show the flow of data in the flux cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U6FBOE8ibKFRuZqZdtmLoA.jpeg" /><figcaption>Flux Cycle</figcaption></figure><p>With all that we learnt about react, the question stood before us, “is React a replacement for Angular?” the answer to that question, after many more hours of research and prototyping was yes and no. What I mean by this is that Angular is a framework and it comes with many other different things that you may or may not need to build and run a website while React just gives you the bare basics meaning that you’d spend a lot of time looking for additional libraries and plugins to get it work the same as angular straight out of the box.</p><p>I must admit I’m a big angular fan and I get a lot of flak, being a supporter (#ngWinning) and I was initially against the idea of changing to use React instead of Angular. Yes, I know you can use both together, but in most cases, it&#39;s overkill.</p><p>After using react for a little while now, I can finally say that react is really awesome! Sure there are things you would have to get around such as transitioning from ES5 -&gt; ES6, using JSX plugins and learning to configure webpack, but then again this process is all just part of the fun of learning something new. I wish I could say to you “Use it, it&#39;s better than EVERYTHING else!!” but honestly, it‘ll be better if you picked it up and try it out for yourself.</p><p>So I&#39;ll end and say this, Try it out and I hope you have the same positive REACT-ion that I did. Ha… puns.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f167cd694a0d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/reacting-to-change-f167cd694a0d">Reacting to change</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our Agile Journey]]></title>
            <link>https://medium.com/engineering-hey-you/our-agile-journey-c30fc38dbd60?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/c30fc38dbd60</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Chaitanya Kuber]]></dc:creator>
            <pubDate>Wed, 24 Feb 2016 07:37:29 GMT</pubDate>
            <atom:updated>2016-02-25T01:47:39.163Z</atom:updated>
            <content:encoded><![CDATA[<p>In January of 2015, we began a journey @ Hey You. A journey that would see us double our Engineering team, a transition from todo lists in Basecamp to a half-decent product planning, development and management process.</p><p>In January, we were a team of 4 developers (plus myself) here in Sydney and a team of 5 mobile developers, 3 web developers over in Manila. I had only just joined the company myself. Further, the team itself was 3 months into understanding a merged company and all but one developer were grappling with the reality of transition to working on a new platform.</p><p>In the months that followed, 2 engineers left, we on-boarded 3 engineers and a DevOps engineer in Sydney and 2 engineers in Manila. Through this period, we decided to undertake a large project, decided to rebrand the company, and launch an integration with a key partner. Yes, that was one hectic year!</p><p>What could go wrong you ask? 😃</p><p>As I said earlier, at the start of the year we were using Basecamp. Although this was a great tool for keeping all communications together it gave no visibility into progress nor did it provide any tools to neatly group work into sprints. Having used Jira for the preceding 3 years I decided to dive headfirst into Jira.</p><p>I spent hours obsessing over the project definition in Jira. Modelled and remodelled the projects, until I thought I had hit nirvana, a breakdown which I thought would unify the team, give everyone clarity on the impact of their work and me the visibility to plan a project effectively.</p><p>Unlike previous Jira setups, I decided to setup projects that aligned with the various capabilities of our platform. Loyalty, Merchant, Payments, Shopping, Discovery etc.</p><p><strong>Beautiful</strong>, right ?!?!?</p><p>We launched 2-week sprints, daily stands and sprint planning meetings. Every week, with the founders, we would plan the product priorities out, debate various issues in our UX and product definition. I would then create detailed specs, write out user stories etc. Specs were written in Confluence, stories in Jira and linked back into Confluence. Our designer would draft out designs, in consultation with the dev team, and after approval from th founders, we would kick into development.</p><p>Turns out it didn’t actually help. We didn’t deliver features when we thought we would. In some cases, it took months longer than it ever should have.</p><p>It was a low point, personally, when I realised that <strong>mission agile was failing</strong>. The good thing was we were starting with a blank canvas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L5JzVkoKMNCSDPQzY-jPIw.jpeg" /></figure><p>I fronted up to the founders and had a rather frank and honest conversation. We talked through our failures (mine for the most part) and concluded that we needed help.</p><p>We decided to get an agile coach and to change our process for the better. After interviewing a few excellent coaches we picked the awesome folk over @ <a href="http://pragma.team/">Pragma Team</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*78TqYEKqJtfASpS13sUvyw.jpeg" /></figure><p>The brief to Pragma Team was simple</p><ul><li>help us build a process which can unify efforts across the company</li><li>run agile development and process training, we covered topics like what’s a story, how to size a story, how to run a standup … etc</li></ul><p>Watch this space for a guest post from Pragma Team on how they ran the process of defining the process (very meta, right!).</p><p>To cut a long story short, through the partnership with the Pragma team, we collectively stripped Scrum back to its basics, introduced a sophisticated inception process, re-energised our way of working and constructed an invaluable wall, visualising the end to end flow of work across the company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*feQfBOYkZszQSrNlfMH6FA.jpeg" /></figure><p>The wall you see above has</p><ul><li>the usual backlog, doing, review and done columns</li><li>it also has a column called “This Increment” and “Next Increment”</li><li>the swim lanes represent the various skill sets on the team: web, mobile, platform, design and data</li></ul><p>In our next post, we will talk about how we designed this wall, how it was evolved and how our team has evolved alongside it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c30fc38dbd60" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/our-agile-journey-c30fc38dbd60">Our Agile Journey</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuous Everything]]></title>
            <link>https://medium.com/engineering-hey-you/continuous-everything-1c23bb0f6d1a?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/1c23bb0f6d1a</guid>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <dc:creator><![CDATA[Chaitanya Kuber]]></dc:creator>
            <pubDate>Tue, 15 Dec 2015 23:50:10 GMT</pubDate>
            <atom:updated>2015-12-15T23:50:10.034Z</atom:updated>
            <content:encoded><![CDATA[<p>I am referring to continuous integration, deployment and delivery. So before we start let me first explain how I understand these 3, related but different, concepts.</p><h4>Continuous Integration</h4><p><a href="https://www.thoughtworks.com/continuous-integration">Martin Fowler</a> says it best</p><blockquote>a software development practice that <strong>requires developers</strong> to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.</blockquote><p>We run our tests, on the CI server, as soon as a pull request is opened. Then for every commit to a pull request and again when a pull request is merged into a branch like development/master/dev-master.</p><h4>Continuous Delivery</h4><p>Quoting <a href="http://martinfowler.com/bliki/ContinuousDelivery.html">Martin Fowler</a> again,</p><blockquote>a software development discipline where you build software in such a way that the software can be released to production at any time.</blockquote><p>Practically, for us we focus on</p><blockquote><strong>… the current development version of the software can be deployed into production at a moment’s notice</strong> — and nobody would bat an eyelid, let alone panic.</blockquote><p>This is not always true about every repository/service/app that we work on, and that’s ok. However, this tends to be true (and is a goal) as we end each sprint. More on this when we post about our branching philosophy.</p><h4>Continuous Deployment</h4><p>Quoting <a href="http://martinfowler.com/bliki/ContinuousDelivery.html">Martin Fowler</a> again</p><blockquote>every change goes through the pipeline and automatically gets put into production, resulting in many production deployments every day</blockquote><p>As a rule, to enable continuous deployment</p><ul><li>we use <a href="http://capistranorb.com/">Capistrano</a> for deploying the application</li><li>we use a combination of salt and bespoke python code (that wraps the AWS APIs) to actually deploy the infrastructure</li><li>we use <a href="https://buildkite.com/">buildkite</a> to trigger the deployment</li></ul><p>Most importantly</p><ul><li>every time a PR is merged that application is automatically deployed to the respective staging environment</li><li>only tags can be deployed to production, the time of deploy is at the discretion of the business and the team that owns the particular application</li></ul><h4>Continuous @ Hey You</h4><p>All good things begin with a diagram on a whiteboard (…perhaps that’s just me). The goals I had in mind were</p><ul><li>enable unit and integration testing</li><li>enable PR blocking for failing builds</li><li>enable green build deploys</li><li>traceable deployments</li><li>automated rollbacks</li><li>stop “git pull” deployment</li></ul><p>This resulted in the diagram below. It has some infrastructure elements in it as well, but from left to right, it depicts what happens to code. I must admit that this solution was built around how <a href="https://buildkite.com/">Buildkite</a> works, however its a fairly standard approach and can be used with other tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*czGJNhdP6fdEcJgBHTcJIg.jpeg" /></figure><p>A brief legend</p><ul><li>R1..R3 : refers to a repository</li><li>S1..S3: refers to a server (a EC2 instance in our case)</li></ul><p>Another way to look at the above workflow is to use a sequence diagram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*Q6aexkWW0rNuNQ_7VD-I6Q.png" /></figure><p>Perhaps you are asking: how does the deployment toolchain know which server(s) to deploy to, especially in a autoscaled environment with EC2 instances?</p><p>The answer is <a href="https://github.com/forward3d/cap-ec2"><strong>cap-ec2</strong></a><strong> </strong>in combination ssh-kit. This is a open source extension for capistrano which provides a standardised approach for querying the AWS API with some questions and retrieving IP addresses.</p><p>We query the AWS API, via cap-ec2, for EC2 instances with the following tag-value pairs</p><ul><li>Project-RepositoryName</li><li>Stage-staging/production</li><li>Role-web/app/cron/db</li></ul><p>Another question, which we are yet to answer, what happens when a auto scaling event occurs? How do we ensure the latest code is deployed to that server before it’s put into rotation.</p><p>Well, we don’t yet have an answer. We have a few theories but we have not tested them yet. If you have solved this one before, please do get in touch.</p><p>One small aside; we use <a href="http://fastlane.tools/">Fastlane</a> to automate the deployment of iOS and Android builds to the app/play store. This gives us the ability to have a steady stream of app releases to internal testers (almost everyone on the team) for <strong>continuous QA</strong>. Our goal in 2016, like Facebook, is to submit a build for review in the iOS Appstore every 2 weeks and release to both iOS and Android users thereafter.</p><p>Watch out for a post on how we are using SaltStack and Buildkite to manage our production infrastructure and easy infrastructure create and deployment process for our engineers.</p><p>We hope this helped you understand a few of the concepts, as well gain some insights into how we do things here @ Hey You.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c23bb0f6d1a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/continuous-everything-1c23bb0f6d1a">Continuous Everything</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Branching off new nodes]]></title>
            <link>https://medium.com/engineering-hey-you/branching-off-new-nodes-27645bc3b71e?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/27645bc3b71e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[aaron]]></dc:creator>
            <pubDate>Wed, 09 Dec 2015 23:49:17 GMT</pubDate>
            <atom:updated>2015-12-09T23:49:16.995Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Hey You</strong> (formerly BeatTheQ), as a software organism, its growing day-by-day. This is combination of us refining business logic, building awesome new features, tapping into new markets as well as optimising and streamlining our overall architecture. We’ve nearly finished our migration from our old v1 API stack into our new and shiny v2, but that was not without some of its challenges due to the need to support backward compatibility and other engagements we’ve made with some key partners. That said, its been a relatively smooth transition.</p><p>The engineering team has expanded, so its getting more difficult for everyone to be working on the same codebase without stepping on each other’s toes. With new projects starting and an abundance of web skilled engineers we’ve jumped into the NodeJS space for new services and applications.</p><p>One of these services is where we handle our point of sale integration — The middle-man between our main API and a POS partner’s API. This service is largely responsible for sending orders places by customers directly into a merchant’s POS terminal. It does a bunch of other things like menu syncing, relaying updates etc… but its mostly data mapping (in JSON) so a NodeJS server was reasonably suitable for our needs at the time. I’ll save the details for another post ;)</p><p>Here’s a basic run down of the technology stack and tools we use.<br><strong>Language</strong>: <a href="http://nodejs.org/">NodeJS</a><br><strong>Testing</strong>: <a href="http://mochajs.org/">Mocha</a> and <a href="https://github.com/gotwarlost/istanbul">Istanbul</a> (code coverage)<a href="https://aws.amazon.com/elasticbeanstalk/"><br></a><strong>Repository</strong>: <a href="http://github.com/">Github</a><br><strong>Hosting</strong>: <a href="https://aws.amazon.com/">Amazon Web Service</a><br><strong>Database</strong>: <a href="http://redis.io/">Redis</a> backed by <a href="https://aws.amazon.com/elasticache/">Amazon ElasticCache</a><br><strong>Deployment</strong>: <a href="http://buildkite.com/">BuildKite</a> and <a href="https://aws.amazon.com/elasticbeanstalk/">Amazon ElasticBeanstalk</a><br><strong>Monitoring</strong>: <a href="http://newrelic.com/">NewRelic</a> and <a href="http://papertrail.com/">Papertrail</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*f35ELdmYtwbrh3dExrNKww.png" /><figcaption>Infrastructure and workflow overview. The automated deployment is to staging. Production deployment is manual task via EB — its a trivial 1 button click ;)</figcaption></figure><p>AWS was a no brainer as all our infrastructure already resides there. At the time, we didn’t have a dedicated dev-ops team so a decision was made to leverage Amazon ElasticBeanstalk to manage (rolling) deployments, configuration and scaling. Initially it was quite painful, with long deployment times — we found that restarting servers or rebuilding the environment did the trick most times), but since v2.0.0 and upgrading the servers (t2.micro), its been very stable. This service has one application and two primary environments; staging and production.</p><p>The database requirements for this project are very small — keep track of credentials and authentication token — so we opted for Redis (backed by Amazon ElasticCache). Its fast and schema-less, which is perfect given that each POS have subtly different requirements. Majority of the data is provided so we only need to store data for caching purposes.</p><p>We’ve integrated <a href="http://www.buildkite.com/">BuildKite</a> with GitHub so it’ll trigger builds on code pushes as well as automatic deployments when merging into the main development (goes to staging). We use EB CLI when deploying. For production releases, we simply use the ElasticBeanstalk console since the builds are already in S3 from a prior deployment to staging.</p><p>Diving into the application code itself, its a NodeJS server using ExpressJS for the web server. We’ve architected our code following the hexagonal principal (<a href="http://alistair.cockburn.us/Hexagonal+architecture">http://alistair.cockburn.us/Hexagonal+architecture</a>) so in theory, each can be used as a standalone CLI or through a web API, this makes it particularly useful for quick testing and batch operations. Each POS integration then resides in its own module following the same principals, yet conforming to the same interface requirements.</p><p>That’s just a brief overview of our setup for some of our new NodeJS services and overall, the choices we’ve made have been working for us. It has also been a good experience for everyone here, getting exposed to new frameworks, languages, tools, and infrastructure. There’s many more things going on and we’re keen to continue to share our experiences.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27645bc3b71e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/branching-off-new-nodes-27645bc3b71e">Branching off new nodes</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recruitment Process]]></title>
            <link>https://medium.com/engineering-hey-you/recruitment-process-e0f53ea0d9bf?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/e0f53ea0d9bf</guid>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[recruiting]]></category>
            <dc:creator><![CDATA[Chaitanya Kuber]]></dc:creator>
            <pubDate>Wed, 25 Nov 2015 09:23:32 GMT</pubDate>
            <atom:updated>2015-11-25T09:23:56.614Z</atom:updated>
            <content:encoded><![CDATA[<p>Like all startups, we take pride in our engineering recruitment process. At the start of 2015 we devised a process which helped us double the team size over a few months.</p><p>Before I talk about the actual process I want to provide some of the context that went into shaping our process.</p><p>I am an avid podcast listener and <a href="http://feelpodcast.org/">The Feel Podcast</a> had just begun broadcasting. It’s a podcast hosted by <a href="https://twitter.com/andykelk">Andy Kelk</a> and its very first <a href="https://overcast.fm/+ELhiXvJSw">episode</a> covered topics around culture and recruitment. One of the points, made by various leaders interviewed in this episode, that really resonated with me was hiring for cultural fit over and above technical fit. This point alone really shaped our recruitment process.</p><h4>Culture First</h4><p>You might be thinking, what does it mean to hire for culture first? It means in the very first meeting</p><ul><li>we look for people who are interested in what we do</li><li>do they care about our product, our mission?</li><li>are they self motivated and invest in their own growth</li><li>do they attend meetups, do they read blogs etc</li><li><strong>attitude over IQ</strong>… almost always!</li></ul><p>I also look to understand the candidate&#39;s motivations in seeking a position on our team, what they are passionate about, have they done any research about our company, do they use our app, can they critique it or suggest an improvement etc.</p><p>This is what we refer to as a cultural fit. If this first round goes well then we move into the technical phase of the interview process.</p><h4>Technical Screening</h4><p>To decide this part I got the team, at this stage we were 4 devs, together and put the following proposition to them</p><p>“ When we hire a new engineer you will be most impacted by that hire, so this your chance to ensure we hire the best possible person”</p><p>If the tech team says <strong>no</strong> to a candidate I do not override them….. ever! I have not broken that rule yet.</p><p>After much debate and drafts we landed on the following process</p><ul><li>A take home test. We have a version that matches the candidates skill set. i.e.: One for Mobile Engineer, One for Frontend Engineer, One for Full Stack Engineer and One for Platform Engineer</li><li>A 2 hour whiteboard based, interactive session with two of people from the team that you would most closely work with. Here we test various different aspects of your skill set and work through a problem or two.</li></ul><p>For both the above steps we are looking to understand how you think, how you break a problem down, what questions you ask etc etc.</p><p>In addition, for the take home test here is what I email candidates</p><blockquote>To submit your response</blockquote><blockquote>Feel free to use either a public or private repository on Bitbucket or github.</blockquote><blockquote>Either share this repository with jobs@heyyou.com.au or send us a link.</blockquote><blockquote>For bonus points, deploy the application to Heroku or AWS and send us a URL</blockquote><blockquote>For super bonus points, have your unit tests running using a CI tool such as Travis and status displayed in the README file in your repository.</blockquote><p>If a candidate gets through these two gates/steps we move into the final round.</p><h4>Founder Interview</h4><p>At this stage all our engineers meet one or both our founders. This is a stage I know the least about for obvious reasons. If they both say yes we will make an offer.</p><p>To this date, I am proud to say, we have only had one candidate accept an offer and then reject it at a later date.</p><p>We are looking to hire more platform engineers, <strong>A players</strong>, who want to join our team and take this platform to the next level. If you are a platform developer who has built and scaled APIs then send us an email on jobs@heyyou.com.au and we can chat.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0f53ea0d9bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/recruitment-process-e0f53ea0d9bf">Recruitment Process</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My #Bold2Code Challenge Experience]]></title>
            <link>https://medium.com/engineering-hey-you/my-bold2code-challenge-experience-75d0789c8cc7?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/75d0789c8cc7</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[hello-world]]></category>
            <dc:creator><![CDATA[Adrian Mikko Asis]]></dc:creator>
            <pubDate>Mon, 23 Nov 2015 23:53:21 GMT</pubDate>
            <atom:updated>2015-11-23T23:28:54.939Z</atom:updated>
            <content:encoded><![CDATA[<h4>aka My First Java Code</h4><p>My teammates and I attended a developer conference that has company sponsors presenting mini-events or contests to further connect with the conference participants. One of the interesting events there was the <a href="https://www.facebook.com/voyagerinnovations/photos/a.747119685311892.1073741827.722220287801832/1062839597073231/?type=3&amp;theater">#Bold2Code Challenge</a> wherein participants will have an access to an initial code that should be completed to create a Batarang-like image. Kindled by the contest’s phrase “will win gadgets and exciting prizes”, I thought to myself,</p><blockquote>“I’ll take a look when I get home. Maybe no one else will join and I can win a prize”</blockquote><p>So I got home, having the contest in mind, opened up my Mac and followed the contest’s clues to get access to the <a href="https://goo.gl/BpUdhd">initial code</a> and surprise, the initial code is in Java! Still downloaded the initial code with hopes of the challenge being as simple as fill in the blanks (or codes)… but it wasn’t.</p><p>There I was, having a Java code on my hands, sleepy, and clueless what to do next. I then remembered that Java files can be compiled and run using `javac` and `java` commands. Immediately tried running “javac Main.java”; only to find out that the code has errors and won’t compile. It then hit me,</p><blockquote>“I have no basic Java skills at all”</blockquote><p>I did have a tiny experience on Android app development, but the basic Java was very different when you have to think on every line of code. <a href="http://www.urbandictionary.com/define.php?term=google+coder">Google coding</a> just won’t work on this one. I still tried as much as I could to at least make the code compile but just couldn’t. I don’t even have the slightest idea what a “constructor argument” is or how to “implement this interface” from the phrases I’ve found in the code comments. After an hour of staring at the code, googling the seemingly alien words, not a single useful code written, and the code not compiling even once, I gave up and slept.</p><p>Next morning, before getting ready for the 2nd day of <a href="http://summit.devcon.ph/">DevCon Summit 2015</a>, I took a look again at the Java code and after 5 minutes.</p><blockquote>“Yep, the code is still not compiling”</blockquote><p>That’s when I decided to take a crash course for learning Java. So I googled “Java for Beginners”, learned a few terms here and there with a simple goal of making the code compile. After about 30 minutes of reading and testing my “useful” codes, I finally got the code to run!</p><pre>class SampleSolution implements ShapeGenerator {</pre><pre>  ArrayList&lt;Point&gt; points;</pre><pre>  public ArrayList&lt;Point&gt; generatePoints() {</pre><pre>    return points;</pre><pre>  }<br>}</pre><p>I was proud of being able to write this code after almost 2 hours of grueling effort. Obviously, this is still not a code that I can submit to the contest no matter how happy I was at that moment.</p><p>So I levelled up my goal. This time, I have to be able to draw a line using the initial code. With only about 30 minutes left before I should prepare for the conference, I thought that…</p><blockquote>If I can draw a line in 20 minutes, then I am 100% sure to be able to draw contest image</blockquote><p>Guess what, I was able to draw a straight line in 25 minutes (using a lot of google coding techniques, of course)! The following minutes was then all aimed at the goal of drawing image.</p><blockquote>x^2 + y^2 = r^2</blockquote><p>Equipped with the circle math equation I learned about 13 years ago, I was pretty sure I could draw something similar to the contest’s image which were composed of arcs. After another 30 minutes of coding and adjusting my conference preparation schedule, I was able to submit a working code for the contest; which has also been my first Java code.</p><p>Fast forward to contest results, I am now enjoying this 1TB external hard drive as a prize for getting 3rd place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PWyQNDRdmbOmO0QQJmntQ.jpeg" /><figcaption>1TB external hard drive contest prize</figcaption></figure><p>Big thanks for <a href="https://medium.com/u/5b5c360aac9d">Chaitanya Kuber</a> and <a href="https://medium.com/u/2519d95d9da4">danielle padilla</a> for joining me to claim the prize. Shout out to Voyager Innovations Inc for hosting a cool programming challenge.</p><p>— Adrian Mikko Asis, Hey You iOS Developer</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75d0789c8cc7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/my-bold2code-challenge-experience-75d0789c8cc7">My #Bold2Code Challenge Experience</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our Identity]]></title>
            <link>https://medium.com/engineering-hey-you/our-identity-69124e7ab169?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/69124e7ab169</guid>
            <category><![CDATA[team]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Chaitanya Kuber]]></dc:creator>
            <pubDate>Wed, 11 Nov 2015 05:10:54 GMT</pubDate>
            <atom:updated>2015-11-11T06:35:38.113Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://www.heyyou.com.au/"><em>Hey You</em></a> is an order ahead application (on iOS, Android and the browser) in Australia. We are in over 500 venues across Sydney, Melbourne and Brisbane. With a few taps you can quickly order coffees, sandwiches, burgers, dumplings etc and pay from the convenience of your mobile phone.</p><p>You can read more about our beginning and our brand change <a href="http://blog.heyyou.com.au/2015/10/17/why-we-rebranded/">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2SSfC3zPThn-mVGmusg4uQ.jpeg" /><figcaption>Hard at work!</figcaption></figure><p>As an engineering team, we are 15 strong with a good mix of platform, web, iOS and Android developers. We are split down the middle between a team in Sydney and a team in Manila. Collaborating effectively with remote teams is difficult but especially so when the remote team is building your consumer facing application. I think this is where we are blessed with a bunch of highly motivated, engaged, not to mention talented, engineers on our team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rLC0l4_Y_9Ph7hk1sCLx5A.jpeg" /><figcaption>Adorned with whiteboards</figcaption></figure><p>As small teams go, we are quite focused on the process of how we work, how we plan etc. We recently instituted an awesome scrum wall in consultation with the awesome folks at <a href="http://pragma.team/">The Pragma Team</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*REbAx5HnbOAUz7UA8cHXzg.jpeg" /></figure><p>We not only work in an extremely collaborative and open plan environment, adorned with a wall to wall whiteboard, a huge scrum wall, chromebox for meetings with our team in Manila, a standing desk area which doubles as the lunch hangout zone and a meeting room (a sofa) named “Milkshake” for those very important mid-afternoon meetings.</p><p>If I could describe us using a cliche, of sorts, then it’s the one below. Always striving to be better, faster, smarter!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QQbLgdzyE8hvq5odLPfolw.png" /><figcaption>be awesome!</figcaption></figure><p>Over the next few weeks you can expect to see posts about our stack and architecture, our adventures with various technologies, continuous integration, deployment and delivery, agile inception workshops, our recruitment process etc…Contributions to this blog will come from all members of our development team and we hope this will give you a peek under the covers of how we do things at Hey You.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69124e7ab169" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/our-identity-69124e7ab169">Our Identity</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello World]]></title>
            <link>https://medium.com/engineering-hey-you/hello-world-3710b69360a3?source=rss----f2f549fa8265---4</link>
            <guid isPermaLink="false">https://medium.com/p/3710b69360a3</guid>
            <category><![CDATA[hello-world]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Cameron Chang]]></dc:creator>
            <pubDate>Tue, 27 Oct 2015 02:50:43 GMT</pubDate>
            <atom:updated>2015-10-27T02:50:42.986Z</atom:updated>
            <content:encoded><![CDATA[<p>Because every project has one</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3710b69360a3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hey-you/hello-world-3710b69360a3">Hello World</a> was originally published in <a href="https://medium.com/engineering-hey-you">Engineering @ Hey You</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>