The Decision-Making Process Behind the Qilin Event Processor

Imagine Qilin.Cloud as a bustling concert hall, where data flows like vibrant melodies weaving through the audience. But behind the scenes, a complex orchestra of decisions ensures every note hits its mark at the perfect time. Have you ever wondered how data dances across and how we ensure smooth, efficient data transfer within our platform? Today, we invite you to witness the fascinating symphony of collaboration that led to the birth of the Qilin Event Processor (EP).

At Qilin.Cloud, we pride ourselves on being more than just a platform. We are a community, a hive mind buzzing with ideas, where challenges become stepping stones and innovation is the name of the game. 

A well-oiled machine does not appear overnight and building complex systems like the Qilin Event Processor is not a solo endeavor either. It is the result of meticulous planning, rigorous testing, and a healthy dose of debate. In this blog post, we open the doors to our decision-making process, giving you a glimpse into how we tackle challenges and build innovative solutions like the Qilin Event Processor. Join us as we dissect the journey from problem to solution, highlighting the teamwork and the debates of finding the best path forward.

1. Recognizing the Challenge

Every problem-solving journey begins with the recognition of a challenge. At Qilin.Cloud, often involves a meticulous examination of our system’s performance, user feedback, or an evolving technological landscape. The key is to proactively identify areas that need improvement or potential roadblocks that could hinder the seamless operation of our services.

The Challenge: A Concerto of Conflicting Needs

Our platform thrives on transferring vast amounts of “objects” (think musical notes) between various channels. Each transfer involves a series of crucial “jobs” (like instrument solos), demanding flawless execution in the right order. On average, each flow handles roughly 100 object creations/updates/deletions every 15 minutes, synchronizing across 5 output channels (like different sections of the orchestra). With Qilin’s algorithms, this translates to millions of jobs daily, a veritable cacophony begging for organization.

To orchestrate this data concerto, we needed a maestro capable of both parallel and sequential processing based on specific conditions. Enter the Qilin EP, the conductor ensuring each note hits its mark at the perfect time.

2. Problem Framing

Once the challenge is on the table, the next crucial step is framing the problem. This involves breaking down the overarching issue into manageable components. By defining the problem clearly, we create a shared understanding among team members, laying the groundwork for effective problem-solving discussions.

Tuning the Orchestra: Identifying the Problem

One challenge within the module involved delivering processed data to designated “output connectors” (think various concert halls). The data resides in Object Storage (think sheet music in a library), and we needed a system to:

  • Scan Object Storage: Identify and send relevant data to connectors.
  • Track Transfer Status: Ensure each object reaches its designated connector.
  • Retry Failed Transfers: Offering automatic retries and easy logging for manual intervention to guarantee seamless delivery even if hiccups occur.
  • Scalability: Adapting to an ever-growing orchestra of data, without missing a beat.
  • Cost Optimization: Prioritize cost-effective solutions without compromising performance.

3. The Collaborative Approach and Solution Exploration

Decision-making at Qilin.Cloud is a team effort. As soon as a challenge is identified, the first step involves bringing together a group of team members. This interdisciplinary collaboration ensures that various perspectives, from engineering to user experience, are considered. Our team thrives on collective intelligence, and every member’s input is valued.

Rather than diving straight into technical intricacies, our team first explores solutions. This phase is about envisioning different approaches that could address the problem. Each solution is weighed not only in terms of technical feasibility but also in terms of its alignment with our overarching goals and user expectations. Our team faced a critical decision: How to orchestrate this symphony?

Join the Crowd, Start disrupting e-Commerce, Become a Qilin, Do the Extraordinary – there are a lot of terms, but only one decision:


Start your career at Qilin.Cloud

4. Comparative Analysis

One distinctive aspect of our decision-making process is the emphasis on comparative analysis. We often find ourselves at a crossroads where multiple solutions could be viable. In such cases, our team meticulously compares options, considering factors beyond technical efficiency. This includes aspects like ease of implementation, scalability, and potential impact on user experience.

The Collaborative Brainstorm: Weighing the Options

Our team gathered, buzzed with diverse ideas and perspectives, then carefully considered two main solutions:

Solution 1: Database & Message Broker

This option utilized a database to store data and a message broker to schedule jobs. It seemed familiar and potentially scalable.

Solution 2: Database & Custom Job Scheduler

This bolder approach involved building our job scheduler within the database. While initially complex, it promised cost-effectiveness and easier scaling.

5. Benefits and Disadvantages Evaluation

Understanding the benefits and disadvantages of each potential solution is pivotal. Our decision-making process involves a holistic evaluation, considering short-term gains and long-term implications. We prioritize solutions that not only resolve the immediate challenge but also contribute positively to the overall system architecture and user satisfaction.

We meticulously weighed the pros and cons of each solution:

Solution 1: Use a Database to store Data and Message Broker to schedule the job

  • Pros: Familiar technology, potentially easier initial implementation.
  • Cons: Complex retry logic due to FIFO blocking, debugging challenges due to the intricate interplay between components, high cost and increased maintenance overhead.

This option relied on well-established technologies, similar to experienced actors comfortable in their roles. Its advantages included high reliability and familiarity for our team. However, the setup resembled a complex backstage maze, potentially leading to high costs and performance bottlenecks when transferring high-volume data.

Solution 2: Use a Database to store Data and a Job Scheduler based on the Database by ourselves.

  • Pros: Tailored to our specific needs, simpler retrying and debugging, potentially more scalable and cost-effective.
  • Cons: Requires development effort because the initial complexity of implementing a custom scheduler may be more difficult than using existing tools.

This option resembled a fresh-faced playwright crafting a tailored script. We will build the Qilin EP from scratch, ensuring it perfectly fits our platform’s needs. While requiring more development effort, it promised enhanced scalability and cost-effectiveness, like a streamlined production with minimal set changes.

The Collaborative Symphony of Decision-Making:

We did not rush into a choice. Our collaborative process involved:

  • Brainstorming sessions: Diverse perspectives from developers, architects, and product managers were heard and valued.
  • Technical evaluation: We meticulously analyzed the pros and cons of each solution, considering performance, scalability, and cost.
  • Prototyping and testing: We built and tested small-scale prototypes of both solutions to assess their feasibility and performance in real-world scenarios.

6. Putting the Solutions to the Test

Before committing to a solution, our team believes in the power of testing. This involves running pilot programs, conducting simulations, or employing other testing methodologies to gauge how a proposed solution performs in a real-world or controlled environment. Testing provides valuable insights and often reveals nuances that might not be apparent in theoretical discussions. To make an informed decision, we conducted thorough testing. We evaluated both solutions based on:

  • Partitioning: Ensuring flawless order for complex data transfers.
  • Performance: How quickly and efficiently could each handle the data load?
  • Fault Tolerance: Guaranteeing a seamless performance even when unexpected cues arise.
  • Scalability: Adapting gracefully to an ever-expanding workload.
  • Cost-effectiveness: How much would each option cost to implement and maintain?

7. The Reason Behind the Choice

After analyzing the rehearsals and feedback, the curtain rose on our decision. While Solution 1 offered comfort and familiarity, Solution 2’s adaptability, cost-effectiveness, and custom-built efficiency ultimately stole the show. Qilin EP was born through rigorous collaboration and testing.

The Conductor's Choice: Why We Chose Solution 2


  • Cost-effectiveness: The significant cost savings compared to Solution 1, especially for scaling needs.
  • Scalability: The custom job scheduler offered a more flexible and scalable solution for future growth.
  • Simplicity in the long run: While initial implementation might be marginally more complex, the long-term maintenance and debugging would be easier due to the reduced number of components.

8. Documenting Lessons Learned

Every decision, whether successful or not, is an opportunity for learning. At Qilin.Cloud, we prioritize the documentation of lessons learned from each problem-solving journey. This knowledge repository serves as a valuable resource for continuous improvement, enabling our team to evolve and adapt in an ever-changing landscape.

The Symphony Continues: A Constantly Evolving Maestro

The Qilin EP is a living, breathing entity, constantly evolving to meet the demands of our growing platform. While we chose Solution 2, the decision-making process was not a one-time event. We continuously monitor the EP’s performance, gather feedback, and explore new possibilities. This dedication to optimizing our data flow symphony ensures that Qilin delivers its performance with the precision and grace of a well-conducted orchestra.

This blog post has offered a glimpse into the intricate decision-making process behind the Qilin Event Processor. We hope it has shed light on the challenges we faced, the solutions we considered, and the rationale behind our final choice. By sharing our backstage story, we aim to inspire a culture of collaboration and continuous improvement, where every member of the team can contribute to the next showstopping innovation. Remember, the symphony of data never truly ends, and we remain committed to perfecting our maestro for the benefit of our users.

Written by Nhi Ngo

Nhi has joined the Qilin.Cloud MYT team as a fresher in 2023. She always pays a lot of attention to the team spirit and has a passion for applying her creativity in content creation and her specialized work at Qilin.Cloud.
January 1, 2024


Submit a Comment

Your email address will not be published. Required fields are marked *

What to read next

Ready for the leverage?

Choose the Qilin.Cloud technology platform for your business now.