top of page

Gino News

segunda-feira, 23 de setembro de 2024

Notion Revoluciona sua Arquitetura de Queue com Proxy de Observabilidade

Tecnologia Desenvolvimento de Software Inovação

Durante um estágio de 12 semanas, um desenvolvedor da Notion implementou um serviço proxy para sua fila de tarefas em Redis, abordando preocupações de escalabilidade e observabilidade, crucial para otimizar a experiência do usuário.

Create a 2D, linear prospective image that reflects Innovation in the Queue Architecture of Notion. During a 12-week internship, a coder implemented a proxy service for its task queue in Redis, addressing scalability and observability concerns, vital for optimizing the user experience. The picture represents a diagram showing the new queue architecture at Notion, focusing on the observability proxy, highlighting the interconnection between servers and Redis. The style of the image should be corporate, flat vector. On a white, textureless background, the drawing should visualize the new architecture, emphasizing traffic fluidity. Use vibrant colors to show innovation and modernity. Include server and proxy icons to represent the technical structure, and flow arrows to indicate the direction of data and operations. Also, incorporate an explanatory text that provides context to the architectural change.

Imagem gerada utilizando Dall-E 3

Notion, plataforma de produtividade, gerencia importações e exportações de usuários através de uma fila de tarefas implementada sobre Redis. Esta arquitetura enfrenta desafios significativos, incluindo o gerenciamento de cerca de 100 milhões de tarefas e a necessidade de escalabilidade para atender a um enfileiramento de até 10.000 tarefas por segundo.


Antes da inovação, a lógica de enfileiramento estava fortemente acoplada ao código da aplicação, dificultando mudanças na infraestrutura do Redis e criando pontos cegos na observabilidade. Essa situação resultava em dificuldades para diagnosticar problemas, como picos de memória que não podiam ser confirmados sem logs de tráfego.


Para resolver esses problemas, foi criado um serviço proxy de fila, que atua como um guardião dedicado, permitindo cobertura total de observabilidade para o tráfego da fila. Essa mudança isolou a lógica de enfileiramento e melhorou a velocidade de desenvolvimento ao permitir uma arquitetura de código mais modular.


  1. Implementação de um serviço proxy independente.

  2. Estabelecimento de conexões de rede entre servidores de aplicação, serviço proxy e servidores Redis.

  3. Uso de bandeiras de recursos para uma migração gradual.

  4. Eliminação de pontos cegos na observabilidade.

  5. Melhor entendimento e provisionamento de recursos relacionados à fila.


Essa transição significativa não apenas oferece cobertura completa de observabilidade, mas também representa um passo em direção a um orquestrador de filas mais avançado. Isso poderá permitir alocação de recursos mais inteligente, limitação de taxas e melhor controle de permissões.


A implementação deste proxy de fila representa uma evolução significativa na infraestrutura da Notion, abordando aspectos críticos de escalabilidade e observabilidade, impactando diretamente a experiência do usuário. Com a segurança de um sistema bem monitorado e a possibilità de evoluções futuras, a Notion se posiciona ainda mais competitivamente no mercado. Para mais atualizações sobre inovações tecnológicas no setor, inscreva-se em nossa newsletter.


FONTES:

    1. Notion Engineering Blog

    2. Redis Documentation

    3. Amazon ECS

    4. Notion Internships

    5. Technical Overview of Enqueueing in Notion

    REDATOR

    Gino AI

    3 de outubro de 2024 às 22:26:40

    PUBLICAÇÕES RELACIONADAS

    Create a 2D, vector-style artwork set in a clinical setting. On a white, textureless background, illustrate the scene with a flat and corporate aesthetic. A healthcare professional is preparing to administer an injection of lenacapavir to a diverse group of patients. The syringe is a visual symbol of the innovative treatment. The patients, representing a broad range of genders and descents such as Middle-Eastern female, Hispanic male, and South Asian transgender person, convey hope and are the beneficiaries of this advancement. The environment, symbolizing the seriousness of the treatment, is a doctor's office furnished with charts and graphs indicating the reduction in HIV infections due to the new treatment. Use a colour palette consisting of shades of blue and green to transmit trust and hope.

    Lenacapavir: Injeção Anual Promissora para Prevenção do HIV

    Create an image in a 2D, linear perspective that visualizes a user interacting with a large-scale language model within a digital environment. The image should be in a vector-based flat corporate design with a white, textureless background. Display charts that show comparisons between performance metrics of Length Controlled Policy Optimization (LCPO) models and traditional methods. Also, include reasoning flows to illustrate the model's decision-making process. To symbolize the real-time application of the model in business operations, include elements of a digital environment. Use cool colors to convey a sense of advanced technology and innovation.

    Nova Técnica Revoluciona Otimização de Raciocínio em Modelos de Linguagem

    Imagine a 2D, vector-style, corporate-themed image representing the interoperability initiative among artificial intelligence agents. The scene features a white, textureless background to focus on the primary elements. Portray icons associated with unidentifiable companies to symbolize the participants in the initiative. Each of the icons should be distinct and connected with visual cables, representing the communication and cooperation amongst these AI agents. Lastly, implement a subtly digital environment suggesting the technological space where these entities function.

    AGNTCY: A Nova Iniciativa para Interoperabilidade entre Agentes de IA

    Creatio, a Boston-based CRM and workflow automation company, has announced its new AI-native CRM system. Presenting a 2D, linear vector illustration in a corporate, flat style with a non-textured white background, it highlights a futuristic CRM interface. An interactive chatbot, symbolizing the new interactive platform, is placed centrally. There are charts symbolizing increased efficiency and automation in the background. Hints of mordern and innovative blue and green colors are used in the design. Users of diverse descent and different genders are shown interacting with the system, emphasizing personalization and user experience.

    Creatio Revoluciona o CRM com Plataforma Nativa de IA

    Fique por dentro das últimas novidades em IA

    Obtenha diariamente um resumo com as últimas notícias, avanços e pesquisas relacionadas a inteligência artificial e tecnologia.

    Obrigado pelo envio!

    logo genai

    GenAi Br © 2024

    • LinkedIn
    bottom of page