<?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[Stories by Omer Baki on Medium]]></title>
        <description><![CDATA[Stories by Omer Baki on Medium]]></description>
        <link>https://medium.com/@omer_426?source=rss-ff1a79fd2311------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QJZua4h68xD-IvjasKS39w.png</url>
            <title>Stories by Omer Baki on Medium</title>
            <link>https://medium.com/@omer_426?source=rss-ff1a79fd2311------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:26:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@omer_426/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Summarizing 2 years of using Serverless Architecture]]></title>
            <link>https://medium.com/meliopayments/summarizing-2-years-of-using-serverless-architecture-5b706e5ff573?source=rss-ff1a79fd2311------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b706e5ff573</guid>
            <category><![CDATA[melioengineering]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[serverless-architecture]]></category>
            <category><![CDATA[melio]]></category>
            <dc:creator><![CDATA[Omer Baki]]></dc:creator>
            <pubDate>Sun, 05 Feb 2023 10:41:41 GMT</pubDate>
            <atom:updated>2023-08-01T09:20:02.528Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*XSgAPJa8ee9VFTsPjTclkg.png" /></figure><p><em>This post is a summary of a talk I did a few months ago in a </em><a href="https://serverless-architecture.io/berlin/program-berlin/"><em>Serverless Conference in Berlin.</em></a></p><p>In this post I would like to share how using serverless architecture affected our work in Melio in the past 2 years:</p><ol><li>Handling fast business growth and scale</li><li>Extending our R&amp;D teams</li></ol><h4><strong>What do I mean by Serverless?</strong></h4><p>My definition of serverless is a general approach of choosing managed services (specifically on AWS). We choose to use lambdas, managed message brokers like EventBridge and managed databases like Aurora and DynamoDB.</p><p>I find this approach quite organic to our development process because it doesn’t carry the overhead of maintaining these services (upgrades, custom integrations, etc.) and add autonomy to developers.</p><h4><strong>What is a service?</strong></h4><p>In general, I think serverless forces you to re-think the definition of what is a service. Since the service is constructed by native cloud components, it can almost always be broken down into a smaller scope. For example, creating a flow that reads a file from S3, parses it, transforms it and saves it to DB can be constructed from a few lambdas connected by queues, sns or other brokers. Alternatively, running this logic on a server could be pieces of code that performs all these tasks in a single session.</p><p>In this sense, I find it funny to see the endless discussion about microservices and monoliths. It seems the decision of the way to go is determined by which family you were born to :-)</p><p>I was born to a family that supports microservices, so it can explain part of the decisions described in this article. We try to follow patterns of domain driven design and think of our bounded contexts through these changes.</p><h3><strong>Handling fast business growth and scale</strong></h3><p>There’s no magic that can be done that suddenly fixes your system’s weak points. You also have to avoid the decision to rebuild everything from scratch. Instead you need the ability to do surgical changes and manage to do them gradually, continuously and fast.</p><p>The lifecycle of development is that you start with a naive solution and you reach its limitation. We want to move fast, not over engineer our solutions and make sure we’re building the right thing.</p><p>Aligned with this philosophy, we try to follow Amazon’s <a href="https://docs.aws.amazon.com/wellarchitected/latest/serverless-applications-lens/general-design-principles.html">Serverless Design Principles</a>. I will give a couple of examples in this article.</p><h3>Naive Solution for payment processing</h3><p>We start with a simple, batch flow, that reads payments from the DB. It validates the payment data, transforms the data and sends it to the queue. From there we aggregate these entities into file formats that are accepted by the bank.</p><p>This solution worked like a charm when the company started and lasted for a year or more, handling relatively low scale and slow growth.</p><p>In the past 2 years, Melio was able to establish a few growth streams that produced a large number of users and a large amount of payments volume. This simple solution, naturally, started to reach its limits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pnqJbp1huaTvFxS2" /></figure><h3>Speedy, simple, singular</h3><p><strong>Pain — Hitting Lambda timeout</strong></p><p>Creating a naive batch process might, at some point, reach lambda’s 15 minutes limit. Regular servers would not have this limit, however the 15 minutes limitation emphasizes that parallel processing is actually the correct approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zpj3vmN6Zt57f8fH" /></figure><p><strong>Solution</strong></p><p>We break down the batch process into two steps that are connected by a queue<strong>:</strong></p><ol><li>Fetch all payments and add them to the queue</li><li>Handle a single payment per lambda — validating and transforming payments and send them to the next step of the process.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7nf7nuct6_thEnvZ" /></figure><h3>Use events to trigger transactions</h3><p><strong>Pain — DB writes are expensive</strong></p><p>With scale, we needed to update thousands of rows in the DB. We would read the payments uploaded to S3, parse the file to get the list of paymentIds and update the DB. The action needed more resources, it became harder to recover on DB failures and took more time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bhw7k_ZiJ7uKejgC" /></figure><p><strong>Solution</strong></p><p>Same as before, we want to split the action and connect them using a queue.</p><ol><li>Read all payments needed to be updated from the file in S3 and add them to the queue.</li><li>Updating the DB using smaller, defined batch size updates for DB optimization.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJSOksDnUMcAYgI4QXk-pQ.png" /></figure><h3>Design for failures and duplicates</h3><p><strong>Pain — Process payment at most once</strong></p><p>When processing payments, idempotency is critical. Sometimes we have to write to different storages and it can’t be handled with a transactional approach and we want to make sure we process the payment at most once.</p><p>Using the naive solution we encountered the following issues:</p><ol><li>Uploading files was done one by one</li><li>SNS/SQS are not idempotent for over 5 minutes</li></ol><p>Also in case of AWS regional downtime. We want to save the state and be able to continue from another region if necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dniMfexP48xeAZfr" /></figure><p><strong>Solution</strong></p><p>Instead of creating the files in one iteration, we use DynamoDB to break down the process into independent stages.</p><ol><li>Create entries in dynamoDB</li><li>Create Batch of entries according to the defined file size</li><li>Read the batch into a file and upload the file.</li></ol><p>This scaled out the process and added a much needed level of assurance when transferring hundreds of millions of dollars everyday.</p><p>DynamoDB is multi-region by default and it was quite easy to set up what we needed to be able to continue the processing from the same state from another region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ILsxnawKkN_JvCAK" /></figure><p>As you can see the solutions are simple and in fact, one of the main advantages of this process. Unlike big and complex changes, <strong>what would be the reason to postpone a simple fast improvement? </strong>There shouldn’t be any and so the system continuously improves in gradual changes that are fast, focused and makes the most impact.</p><p>Slowly but surely the system evolves into something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hzIg2oJGvWJIx15E" /></figure><p>In order to maintain this evolving system, we try to follow <strong>“Conway’s Law” </strong>which indicates that the organizational structure should reflect the architecture. For that we need to be able to extend our teams.</p><h3>Extending our R&amp;D teams</h3><p>We want to keep our team autonomous and accountable. It’s hard to do when teams share code. Adding monitoring and observability is of course another challenge.</p><p>In order to split teams, we create new <a href="https://martinfowler.com/bliki/BoundedContext.html">bounded contexts</a>.</p><p>For example, we wanted to split our Money Movement team into 2 teams:</p><ul><li>ACH (Bank Transfers)</li><li>Paper Checks</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wi_XjD4x7BXxbfTLkkWBUA.png" /></figure><p>Naturally these teams share the existing infrastructure they worked on thus far.</p><p>When they develop new features, we want to limit the changes in shared code as much as possible if any.</p><p>Since serverless is constructed in a granular way, it’s much easier to find integration points and extend these places.</p><p>For example: The Checks team needed to add a new Check Printing integration.</p><p>In order to keep the friction to a minimum, they can simply extend the processing phase and create a rollout flag that will route payments to the new CheckPrintingService they own.</p><p>This service is completely detached from the shared code and has no effect on the BankTransfer team. Its owned by the checksTransfer team and monitored by them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SOThpqrd3MLmPZZC" /></figure><p>Using Serverless architecture produced a solution that connects the processing and the check printing phases through SNS events. The team chose this point to integrate with, by simply differentiating events from the “old” check processing flow to the new check processing flow.</p><h3>Summary</h3><h4><strong>Serverless allows you to divide and conquer problems</strong></h4><p>Serverless is pushing us to compose small distributed components and create small changes.</p><p>There’s always an excuse to postpone big changes — “We’ll do it in Q2 since Q1 is packed with product features”. But there should never be an excuse to postpone critical small changes. Like fixing P1 bugs. Divide and conquer problems helps you break down big problems into smaller ones, by doing surgical changes.</p><p>You can always decide not to do 100% of the small critical changes. But there’s never an excuse to do 0%.</p><h4><strong>Serverless limitations forces refactoring</strong></h4><p>There’s always a discussion around Serverless limitations — 15 minutes, memory usage, limitation of small scope, etc. I find these limitations an advantage rather than a disadvantage, since it forces you to make changes and not postpone them. If you reach these limitations it means there’s a problem with your architecture or with the implementation.</p><h4><strong>Divide an area into sub-domains</strong></h4><p>Teams need to be autonomous so they can make progress. Untangling existing code is hard, but with serverless architecture the design forces you to break it down into native cloud components that enable you to do these changes more easily.</p><h4><strong>Next Challenges</strong></h4><ul><li>Debugging our services locally is a challenge. Because of the broken down approach, we also limit our ability to run the entire service locally. This forces us to <strong>rely heavily on our contracts. </strong>We developed a way to debug locally, services that are deployed to our test environments (this will be described in another article)</li><li>End to end testing is also a challenge. Since the flow is broken down into components, it’s harder to simulate the entire flow in our CI. The best option is to have dedicated AWS environments to run these flows on.</li></ul><p>Thanks a lot for reading!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qSivDZI-3fRph6erM7GtQ.png" /><figcaption><a href="https://bit.ly/jobs-medium">Visit our career website</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b706e5ff573" width="1" height="1" alt=""><hr><p><a href="https://medium.com/meliopayments/summarizing-2-years-of-using-serverless-architecture-5b706e5ff573">Summarizing 2 years of using Serverless Architecture</a> was originally published in <a href="https://medium.com/meliopayments">Melio’s R&amp;D blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we built Melio’s payments platform on AWS Serverless]]></title>
            <link>https://medium.com/meliopayments/how-we-built-melios-payments-platform-on-aws-serverless-18f730c4d78a?source=rss-ff1a79fd2311------2</link>
            <guid isPermaLink="false">https://medium.com/p/18f730c4d78a</guid>
            <category><![CDATA[lambda]]></category>
            <category><![CDATA[melioengineering]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[financial-services]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Omer Baki]]></dc:creator>
            <pubDate>Thu, 23 Dec 2021 15:47:00 GMT</pubDate>
            <atom:updated>2023-03-26T15:08:03.185Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*3IdQqzl1SuRxSZ-YSX3dKA.png" /></figure><p>In this post, I’d like to share the evolution of Melio’s Payments Platform system built on AWS serverless architecture — why we chose this technology, the ups and downs we encountered, how it enables us to make gradual changes and our next steps.</p><p>Melio is a B2B payments platform startup aiming to digitize payments between businesses that are currently paying 10 trillion dollars a year in paper checks.</p><p>Since I joined Melio in May 2020 to lead the Payments Platform group, the company’s growth has been around 3,000% — moving from processing a few million dollars to billions of dollars every year.</p><h3>A little bit about how banks work</h3><p>It may come as a shock to you, but banks are kind of old fashioned. Their networking system is mainly based on file transfer. Our VP of Client Services famously once said: <br><em>“The job of the payments platform is to build a Ferrari on top of bicycle wheels.”</em></p><p>Transferring files is done in specific time windows, where X amount of files with up to 3,000 payments in each file can be transferred.</p><h4>Ok, but why serverless?</h4><p>One of my observations, after encountering this question several times from friends and colleagues, was that I found it strange that this question is not asked about K8 or EC2s. So another question could be “Why NOT serverless?”</p><p>I think it’s safe to say that, like in most cases, the right answer lies somewhere in the combination of the different services, depending on the use case. Nonetheless, I’ll try and answer it with valid examples for the following points:</p><ul><li>The overhead of starting with serverless is significantly lower — AWS SAM gives developers freedom to build, scale and deploy applications faster, without high dependency on DevOps teams.</li><li>Payment jobs are done in <strong>bursts</strong> — a fast auto-scaling service is needed.</li><li>Ability to optimize <strong>cost</strong> by having different cloud configurations for different tasks, like memory, duration, etc — one could say that cost is an interesting metric to estimate the efficiency of your serverless architecture.</li><li>Bank transactions are done in specific <strong>time windows</strong> — services don’t need to run continuously.</li><li>Ability to make architectural changes in <strong>small steps</strong> — breaking down small parts of the Business Logic units helps us move fast without the consideration of making big changes.</li><li><strong>Ability to test</strong> on staging environments and debug services on AWS personal accounts — working with CloudFormation, as our infrastructure configuration tool, enabled us to deploy any stack to different AWS accounts.</li></ul><h3>How we started out</h3><p>In order to implement the bank’s requirements and upload aggregated files of 3,000 payments in fixed scheduled windows, we needed to build a system that could manage these scheduled jobs:</p><ul><li>Get all payments that were scheduled to be processed.</li><li>Gather all related details of each payment (company names, addresses, etc.)</li><li>Run data validations and risk &amp; compliance checks.</li><li>Aggregate all data into ACH/PaperCheck format files — ACH is basically bank transfer protocol, you can read about <a href="https://www.nacha.org/content/what-is-ach">nacha</a> format if you’re interested.</li><li>Upload to bank’s SFTP.</li></ul><p>This is how it breaks down to a serverless components flow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CST4xGMU_IR5tXOF" /></figure><p>As I mentioned, it’s easy to deploy the service stacks to different AWS accounts. This enables us to replicate staging and development environments that increase the developers’ ability to deliver faster and maintain high quality code. They can debug different flows on dedicated personal AWS accounts and run end to end tests on the staging environment.</p><h3>Idempotency is critical</h3><p>It’s not seen in the diagram above, but one of the important aspects in working with payments is that the processes should happen at most once. Meaning we don’t want to charge/pay twice, but we still want to be able to retry the flow in case it fails at some point.</p><p>In order to do that, idempotency is critical, meaning the flow can run several times and still perform the action only once. If, for example, the step of updating the payment status fails, then when the process re-initiates, it first needs to check if the files were already created for these payments.</p><p>I’m raising this point because when we need to break down the flow to support scale, we’ll need to maintain this principle.</p><h3>Reaching the 15-minute limit</h3><p>This service worked great for a while and was simple enough to monitor and maintain. When the payment volume grew 10x, we were starting to get close to the lambda <strong>timeout limits of 15 minutes</strong> — so we began planning for a more scalable solution.</p><p>Since this task was a batch process, we needed to get all payment details into memory, requiring higher memory usage. Combining that with an extended running time is when serverless starts to be <strong>more costly</strong>.</p><h3>Breaking the flow into smaller services</h3><p>We decided to break the flow into multiple lambdas, so that each performs a single, minimal job. We wanted to make the transition in small steps, so that at each step, we took part of the flow and extracted it into a new lambda and connected them with SQS/SNS.</p><h4>Making the change in small steps</h4><p>The first thing we wanted to do was stop the batch process of all payments in a single run. So we decided to simply split the job of the first lambda into 2 tasks:</p><ul><li>Read all payment details and add them to the queue.</li><li>Process each payment in a dedicated lambda.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XD_YbbuT-vFSiVbl" /></figure><h4>But there’s still a batch process to be done</h4><p>We still had a batch process, where we needed to aggregate all payments into files of up to 3,000 payments each. We tried to keep this action to a minimum, so we broke the report creation and DB updates into 3 different tasks:</p><p><strong>Report Dispatcher Lambda</strong></p><ul><li>Run lambda that will read a batch of 3,000 payments and create file format.</li><li>Upload to the bank’s SFTP and save in S3.</li></ul><p><strong>Report Parser Lambda</strong></p><ul><li>Read files from S3 and get all payments.</li><li>Upload payments into the queue.</li></ul><p><strong>Payments Updater Lambda</strong></p><ul><li>Each lambda handles one payment, updates to DB and notifies it was updated.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YIMjHTeym4d2qWRt" /></figure><h3>Results</h3><h4>Time to run</h4><p>All in all, the average run time of payment processing in version 1.0 took about 20 minutes.</p><p>Version 2.0 processed <strong>10 times</strong> the amount of payments and took an average of 3–4 minutes.</p><h4>Cost</h4><p>There’s a big difference in the cost of running the lambdas with less memory, as seen in the<br>AWS pricing model.</p><p>Cutting down the duration of the lambda with high memory usage, minimized the pricing by over 60%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*gLgqf40w70rsAs-r" /></figure><p>(Table is taken from AWS docs — <a href="https://aws.amazon.com/lambda/pricing/">https://aws.amazon.com/lambda/pricing/</a>)</p><h4>Scale</h4><p>Breaking down the flow this way allowed us to scale the number of payments to almost unlimited. The weakest link in this flow is actually the banks, which are limited in the amount of files they can process daily (depending on the bank).</p><h3>What’s still missing?</h3><p>The downside of this new architecture is that it is harder to <strong>monitor</strong> and <strong>maintain</strong>.</p><ul><li>There are many more components to monitor.</li><li>The orchestration is managed externally — we need to validate that no contract is breached within the flow.</li><li>It’s harder to find the failure point.</li><li>It’s harder to retry from that failure point.</li></ul><p>Another critical issue in the current flow is the dependency between the sections of the flow. We have 2 cron jobs that run 15 minutes apart but ideally, we’d want the 2 sections to be part of the same flow, so file creation will simply run after all payments are inserted into the queue.</p><p>That’s why our next step was to move to <strong>AWS step functions.</strong></p><h3>Moving to an orchestrated solution using step functions</h3><p>We are currently in the process of migrating our infrastructure to step functions. I’ll describe our plans and update on our experience in part 2 of this post.</p><p>Step functions are really tailormade for payment flows. The transition from version 1.0 to 2.0 kind of hints at that direction.</p><p>The main reason to move to an orchestrated solution is the fact that the payment process flow described above, is not the entire flow of payments processing. There is an additional flow that gets reports back from the bank, acknowledging files received. I’ll list the advantages of step functions and how it helped us resolve this issue.</p><h4>So, why not use step functions to begin with?</h4><p>Even though we knew this would be the right framework to choose, we felt that refactoring the initial version into step functions would be too big a transition.</p><p>There were some <strong>risks to consider:</strong></p><ul><li>Urgency to support scale — the bigger the refactor, the more time needed to complete it.</li><li>Unknown territory — we feel it was best to first integrate with new frameworks on flows that are not the primary business channel of the organization.</li><li>Cost — step functions have a lot of advantages, but it’s more costly than running the lambdas we did in version 2.0. In step functions, there’s an additional fee for each state transition.</li></ul><h4>Connecting it all to a single flow</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/0*NIedvQZAZWHK8Mlk" /></figure><p>The advantages of using step functions:</p><ul><li><strong>Visibility — </strong>here is a clear indication of the failure point and the specific error that caused it.</li><li><strong>Idempotency — </strong>it’s easy to retry the flow from the last failure point, with the assurance that past steps were successfully completed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/0*lyaCoQOzvqQ9UCg5" /></figure><ul><li><strong>Avoiding lambda self invocations — </strong>the part of creating aggregated files is done in a single lambda. In version 2.0 the lambda continuously calls itself until the queue is empty. This is not a good pattern as the flow can terminate in the middle. Instead we can use the step function <strong>“Choice”</strong>,<strong> </strong>to repeatedly call the function until the queue is empty, ensuring the action will be completed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R39HzzrvP2byC3Po" /></figure><ul><li><strong>Payment methods level IOC — t</strong>his architecture allows us to create a loosely coupled support of new payment methods. Each payment method has its own dependencies and lifecycle.</li><li><strong>Flow extensibility — </strong>as I mentioned earlier, the payments flow has additional steps, receiving reports from the bank. For each file uploaded to the bank, we receive an ACK file back 15 minutes later. Instead of managing it in a dedicated lambda, we extend the existing flow and add additional steps to handle the ACK files.</li></ul><p><strong>Next steps</strong></p><p>Once we rollout version 3.0, we’d be happy to share more of our experience with step functions and update on our next steps.</p><p>In the meantime, watch out for part 2 of this post where I’ll describe our plans and update on our experience.</p><p>Thanks for reading!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*exHRZ-8auXCVC3TIC3ooww.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18f730c4d78a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/meliopayments/how-we-built-melios-payments-platform-on-aws-serverless-18f730c4d78a">How we built Melio’s payments platform on AWS Serverless</a> was originally published in <a href="https://medium.com/meliopayments">Melio’s R&amp;D blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The technical interview: more than just assessing a candidate]]></title>
            <link>https://medium.com/meliopayments/the-technical-interview-more-than-just-assessing-a-candidate-d490f20afcd4?source=rss-ff1a79fd2311------2</link>
            <guid isPermaLink="false">https://medium.com/p/d490f20afcd4</guid>
            <category><![CDATA[interviewing]]></category>
            <category><![CDATA[tech-interview]]></category>
            <category><![CDATA[interview]]></category>
            <dc:creator><![CDATA[Omer Baki]]></dc:creator>
            <pubDate>Sat, 29 May 2021 18:47:52 GMT</pubDate>
            <atom:updated>2022-08-11T14:18:35.141Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by </em><a href="https://www.linkedin.com/in/omer-baki-68033710/?originalSubdomain=il"><em>Omer Baki</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kOeCUgJgDDf-mdGK" /></figure><p>Before joining Melio as Payment-Platform Group Lead, I worked as director of engineering for a device protection software company. As part of my job, I interviewed hundreds of candidates over a time span of 10 years. I found a direct correlation between the quality of the interview process on my end, and our ability to find and hire the best talent. And so, I set a goal to constantly improve the interview process.</p><p>When I set out to find my next challenge, and started interviewing with various companies, I had the opportunity to be reminded how it feels like to be on the other end of the interviewing table. I found it quite interesting to see the different interviewing processes: what kind of questions I was asked, the number of stages in the process, how the interviewers pitched the product and the company, and more..</p><p>I felt some were really missing the point of this process.</p><p>The interview is the candidate’s first encounter with the company’s culture, technology and product — <strong>it’s the most important opportunity to showcase your company,</strong> not only through the pitch itself, but through the technical questions you ask the candidates.</p><p>When I finally decided to join Melio as their Payment-Platform Group Lead, I took part in shaping the recruiting process for backend engineers.</p><p>This article is intended mainly for interviewers hiring mid-level or senior developers, for backend or fullstack positions, to help them re-evaluate their current process by sharing how we do it in Melio. But I hope it will also provide food for thought for candidates.</p><h3>Let your technical question do the work</h3><p>Developers who conduct interviews, often don’t stop to ask themselves: what is the purpose of the interview? They jump right in with a general technical question, like string manipulation or “cracking the coding interview,” one that has been asked so many times before. It’s as though they think they need to outsmart the candidate.</p><p>But If you’re looking for strong candidates, your state of mind should be that you’re being interviewed as well.</p><p>What does it say about your company when you ask a general technical question?</p><p>Engineers are so creative when it comes to designing solutions, they can think of an original question that can showcase interesting parts of the system they work on and see if they get the candidate excited about it as well.</p><p>You have a golden opportunity here to let the candidate enter the realm of your product and catch a glimpse of how it feels to work in your team. You can show the challenges and their complexity and see how the candidate approaches them.</p><p>You can get an answer to the 2 most important questions:</p><ul><li>Does this candidate have the qualifications to solve real problems that they’ll encounter if they join the team?</li><li>Are they excited about working on these types of challenges?</li></ul><p>That is why you should start by presenting them with a specific challenge, rather than waste their time and patience on a general question.</p><h3>How to ask the perfect technical question</h3><p>In order to understand if the candidate has the right qualifications, I found that we need to test the 2 elements that form our working methodology.</p><ul><li>Coding and code review</li><li>Tech Design and design review</li></ul><h4>Coding Question</h4><p>The purpose of this question is to assess the candidate’s coding capabilities, and to see how they communicate their solution during the code review.</p><p>We find an interesting section of our system that can inspire a great technical interview question, and keep it simple enough so a candidate can complete the task in about 1–1.5 hours.</p><p>Melio is a B2B payments platform, and we process and deliver payments using varying methods, integrated with different banks. The assignment we constructed requires the candidate to create a simple payment process ETL that considers different requirements: filtering, validations, bank file formats, etc.</p><p>When assessing the candidate’s solution, it’s important to take into account their focus on:</p><ul><li><strong>Separation — </strong>have a clear separation between layers, data and logic.</li><li><strong>Extensibility</strong> — the coding exercise is limited to an MVP. The solution should support the extensibility of future capabilities.</li><li><strong>Product Language</strong> — It’s important to use explicit, meaningful names for the different classes/modules.</li></ul><p>The assignment implies the need for a design pattern, in order to reach an elegant solution. Usually it will be basic patterns like factory pattern, command pattern, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w_h1QZjiOpH_9tcd" /></figure><h4>Design Question</h4><p>The idea behind the design question is to simulate a feature development process. The candidate will read a short feature spec, that we actually implemented, and start with a naive solution.</p><p>Like with the previous assignment, think of an interesting section in your system that can inspire a design interview question. This can be a more high level feature and preferably should involve a few services/components.</p><p>Then the interviewer should raise real issues encountered while developing the feature:</p><ul><li>Performance issues</li><li>3rd party API requirements and limitations</li><li>Business logic loopholes</li><li>Security vulnerabilities</li></ul><p>Like in real life, there is more than one solution and each decision has its advantages and disadvantages. The candidate’s thought process is equally, if not more important, than the solution itself.</p><p>This simulation provides you with an opportunity to get a sense of the candidate’s intuition. It’s a great tool to measure the professional maturity of the candidate, as experienced developers should have encountered similar issues in features they developed. They should also be able to anticipate some of the future requirements in advance.</p><p>It’s also important to note the flow of the dialog between you and the interviewee, as to how constructive and collaborative it is.</p><h3>How do we know if the candidate is right for us?</h3><p>It’s an easy task to pass an awesome candidate who easily completed the assignments and seems like a great fit. It’s also easy to reject someone who did poorly.</p><p>The hard part is with those who are “almost there”.</p><p>So, when my team deliberates whether the candidate should pass, I usually offer to follow one simple question: <strong>are you excited about the possibility that tomorrow this person is going to take the next task on our board, and do you trust them to do a great job?</strong></p><p>If the answer is not a definite yes, then they shouldn’t pass.</p><h3>Final Note</h3><p>Interview questions should be updated over time, as they may become obsolete, just like parts of the system we develop.</p><p>Updating the questions can also be a team effort, which will help keep the entire team engaged and actively participate in the interviewing process.</p><p>You should also test the viability of the question: try to solve it yourself and see how long it takes you, and solve it in more than one programming language.</p><p>I hope that sharing my own experience will help you improve the interview process and find great new members for your team.</p><p>Thanks for reading!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*g-zCELq_oYwRzEDZB_7u3g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d490f20afcd4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/meliopayments/the-technical-interview-more-than-just-assessing-a-candidate-d490f20afcd4">The technical interview: more than just assessing a candidate</a> was originally published in <a href="https://medium.com/meliopayments">Melio’s R&amp;D blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>