Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does eBay achieve continuous delivery through event traceability

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how eBay can achieve continuous delivery through event traceability. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.

EBay's continuous delivery team used an event-centric approach to build a sustainable delivery allocator with fault resilience and scalability to handle the increasing load in the eBay build pipeline. John Long and Nataraj Sundar describe the benefits of event traceability and their advantages in real-world application development in two blog posts.

Long and Sundar, both employees of eBay, point out that the idea behind the incident has been around for a long time in many areas. For example, in financial accounting, each entry is recorded in an immutable manner and the current balance is calculated by adding all related entries. When an error occurs, a new compensation entry is appended instead of erasing the wrong entry. They believe that there is a natural connection between event traceability and the progress of code in the development pipeline.

Enterprise continuous delivery (ECD) enables event traceability. This is an allocator for coordinating, defining, and observing deployment pipes, and is used in many internal systems. The deployment pipeline moves code by pulling requests, building, testing, and deploying. The Pipeline execution Service (PES) is a component of ECD, a service that runs and tracks pipes, and is responsible for reporting status to GitHub. This component is developed using Scala and uses the actor model framework Akka.

In addition to the general benefits of event traceability, Long and Sundar point to three main reasons why they use event traceability in PES:

Concurrency. In the past, there were normal conditions between events received from different parts of the pipeline at the same time, and dealing with each event in a serial manner made it easier to solve the concurrency problem.

Debugging and traceability. Because they are a small team and have to support many pipes at the same time, it is important for them to be able to quickly find the cause of the failure and fix them.

Clarity and correctness. Orchestration is critical for companies and can become very complex, so they need a code base that is high quality and simple and easy to understand. Breaking the code into parts, recording incoming information, calculating the final model, and responding to model changes can help them achieve this goal.

The biggest reason for choosing event traceability is the last point-clarity and correctness. Long and Sundar believe that event traceability is a feasible solution for complex systems involving time and state. Through a well-designed model, different parts of the process can be handled separately, making the process easier to understand. They introduced four components of event traceability, each of which is easy to understand and easy to modify and test.

Validate incoming events and create and store related internal events as needed.

Events are processed in the order in which they are inserted, and appropriate view model updates are made.

Persist the view after the event is processed so that there is no need to load and replay all events when the query is made.

Respond to state changes and decide what to do when reading model updates, and then launch a new actor to perform the action.

So far, their system has handled more than 2.2 million events and generated about 200000 running views. Long and Sundar say that the event traceability architecture is critical to achieving a compatible and intuitive solution.

This is how the eBay shared by Xiaobian achieves continuous delivery through event traceability. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report