7/2/2023 0 Comments Droplr login![]() ![]() First, where some error tracking platforms bill by project - driving up prices for microservices even if they aren’t sending any events - Sentry’s pricing especially on-demand billing, helped us scale without unnecessary cost burden. Beautiful UI and accessible UX that developers would love and use dailyĪfter testing a wide variety of AWS Lambda debugging tools, we found Sentry to be a perfect match for our serverless stack.Ability to extend debug information with additional context. ![]() Seamless integration with existing Node.js functions, without code changes.Scale to debug AWS Lambda across more than 100 different functions, composed into tens of microservices and various environments.When reviewing serverless monitoring and error tracking options, I focused on a few key requirements: I knew that there had to be an easier solution. At Droplr, we love finding smart ways to actually speed up our development instead of overcomplicating it. Setting up alerts based on logs in AWS is not an easy task. But how do we spot errors in such huge log streams that span hundreds of functions invoked thousands of times every second? Why We Chose Sentry So when we do console.log in our Node.js application, it’ll be visible there. By default, all AWS Lambda functions log to CloudWatch Logs. However, when diving into the application layer, things start to get complicated. This all works quite smoothly with existing AWS services such as CloudWatch. Then I can set up alerting based on thresholds. At a high level, I can graph metrics such as function duration and rate of errors. When migrating to new technology, I always want to know how my application performs in the new environment. We’re billed for the actual duration of functions execution (every 100ms), so there’s no more waste on underutilized services. We just upload our code and select when it should be invoked. The beauty of the solution is that we don’t need to maintain any underlying infrastructure. It’s a technology that allows us to run code in a response to a specific event, such as an HTTP request or SNS notification. One of those services, announced in 2014, is AWS Lambda. It basically means going all-in on services over servers. Here comes serverless to the rescue! It isn’t a single technology it’s more like a way of thinking. ![]() That means hours spent working on infrastructure instead of the actual development of Droplr features. You have to upgrade the OS, apply security patches, monitor microservice utilization, and work to make it highly available. But EC2 instances still need to be managed by someone. From day one, all of our infrastructure ran on AWS’s cloud, utilizing EC2 instances, and Docker containers orchestrated by ECS and load balanced by ALB.Īt first, it may seem that we already outsourced most of our SysOps tasks to AWS. We prefer to focus on building product features and avoid technical things that could introduce impediments for the development process. Serverless: What & Whyĭroplr has a small but experienced team of engineers. ![]() How can we ensure our migrated applications are working as expected 100% of the time? Ultimately, end users don’t care about the architecture, just a seamless experience. Serverless is still a new approach, so it required solving emerging issues like monitoring and debugging in a fresh way. Last year was quite demanding for the Droplr engineering team: we made a huge migration to serverless architecture. Today, he’s responsible for making things run smoothly on state-of-the-art serverless architecture at Droplr. His journey started with bare-metal infrastructures. Antoni Orfin, Chief Architect at Droplr, has years of hands-on experience building scalable web applications that serve traffic for millions of users across the globe. ![]()
0 Comments
Leave a Reply. |