ASAlberto Schaeffer-Filho

Alberto Schaeffer-Filho

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Alberto Schaeffer-Filho has a total of 166 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Keep Calm But Log for Trouble: Coordination-Free Fault-Tolerance for In-Switch Applications

    by Ricardo Parizotto, Israat Haque, Alberto Schaeffer-Filho

    In-network computing (INC) offloads parts of the functionality of a distributed system to programmable switches. Once we move the computation into the network, failures may cause loss of essential information and disrupt the operation of these systems. To ensure high availability in the event of switch failures, the current state-of-the-art replicates state across multiple INCs. They achieve this by using state-machine replication, ensuring that INC replicas are consistent by coordinating the replication between multiple INC nodes. In this paper, we demonstrate that decoupling the consistency guarantees from the replication reduces the overhead of INC fault tolerance. We present RESIST, a system for building fault-tolerant INC using asynchronous replication and replay-based recovery. We propose new techniques for logging information and different replay techniques to restore INC systems according to consistency semantics. Furthermore, we apply RESIST techniques to existing INC functionalities, including event synchronization for distributed simulations and aggregation for distributed training. Our prototype of RESIST enables fault tolerance for INC applications on BMv2 and in a testbed with Tofino ASICs. Experiments show that the system provides fault tolerance with negligible overhead for non-failure scenarios and recovers from failures in less than 0.2 s.

  • Reinforcement Learning-Based In-Network Load Balancing

    by Hesam Tajbakhsh, Ricardo Parizotto, Alberto Schaeffer-Filho, Israat Haque

    Ensuring consistent performance becomes increasingly challenging with the growing complexity of applications in data centers. This is where load balancing emerges as a vital component. A load balancer distributes network or application traffic across various servers, resources, or pathways. In this article, we present P4WISE, a load balancer designed for software-defined networks. Operating on both the data and control planes, it employs reinforcement learning to distribute computational loads with granularity at inter and intra-server levels. Evaluation results demonstrate a remarkable 90% accuracy in predicting the optimal load balancing strategy of P4WISE in dynamic scenarios. Notably, unlike supervised or unsupervised methods, it eliminates the need for retraining when the environment undergoes minor or major changes. Instead, P4WISE autonomously adjusts and retrains itself based on observed states within the data center.


  • Open Access

    Analyzing Energy and Performance Trade-offs for Network Anomaly Detection based on Deep Learning

    by Tiago Torres Schmidt, Lisandro Z. Granville, Alberto Schaeffer-Filho

    Network anomaly detection based on Deep Learning has already achieved outstanding performance results. However, the performance obtained by deep learning solutions is partially explained by the large scale of such underlying models. This paper studies the energy and performance trade-offs for deep learning models and their hyperparameter configurations when applied to network anomaly detection. The paper proposes an energy and performance profiling mechanism to observe the results obtained from different configurations of a given model, using a combination of statistical and instrumented profiling.


  • Open Access

    P4eBalancer: Leveraging P4 and eBPF for Optimized Load Balancing with Network and Host Insights

    by Cleiton Puttlitz, Alberto Schaeffer-Filho

    Load balancing solutions monitor the infrastructure and redistribute network traffic or application requests in order to adapt to variations in network or server loads. However, these schemes rely on monitoring mechanisms that observe only specific segments of the infrastructure, i.e., network core or end-hosts, which may lead them to make suboptimal decisions. In this paper, we present P4eBalancer, a system that leverages an advanced monitoring mechanism capable of observing the entire distributed infrastructure to make loadbalancing decisions. P4eBalancer incorporates an intelligent offline control loop, operating in the control plane, making global decisions with a reinforcement learning agent, and an online control loop in edge switches, which makes quick decisions and reacts to network variations. We implemented a prototype using the BMv2 P4 software switch. Our results show that P4eBalancer can make better load balancing decisions using end-to-end metrics.


  • NetFeatureXtract: Efficient Traffic Feature Extraction using eBPF

    by Gustavo Henrique Ellwanger Einsfeldt, Alberto Egon Schaeffer Filho


  • Open Access

    Hidden Impact of Hardware Technologies on Throughput: a Case Study on a Brazilian Mobile Web Network

    by Eduardo C. Paim, Roberto I. T. Costa Filho, Valter Roesler, Theophilus A. Benson, Alberto Schaeffer-Filho


  • P4Hauler: An Accelerator-Aware In-Network Load Balancer for Applications Performance Boosting

    by Hesam Tajbakhsh, Ricardo Parizotto, Alberto Schaeffer-Filho, Israat Haque

    Programmable accelerators enable the execution of applications intended for running in usual servers. However, inappropriately running applications on these devices can lead to load imbalance and performance degradation. An alternative to tackle this problem is load balancing, but existing in-network load balancers typically have no visibility of accelerators and often hard code policies in the switch source code. In this article, we present P4Hauler , an accelerator-aware in-network load balancer. In particular, our design discusses how to enforce load-balancing decisions in a programmable switch in a resource-aware manner, allowing different policies to handle traffic according to applications' needs. We use monitoring and compression techniques to store application resources in a programmable switch for resource-aware decisions. In addition, we propose building blocks that operators can dynamically choose to realize different load balancing policies on-the-fly. We implemented and evaluated a prototype of P4Hauler on a testbed to show its efficiency and deployment feasibility. Our results indicate that P4Hauler can support 27% more load and decrease the flow completion time by around 13% using only a single accelerator. Also, extensive simulations confirm the performance gain of P4Hauler at scale compared to the state-of-the-art.


  • Open Access

    QUIC-Tr4ck: Mitigando Ataques QUIC-Flood usando Planos de Dados Programáveis

    by Nicolle P. Favero, Ricardo Parizotto, Alberto E. Schaeffer-Filho

    O protocolo QUIC tem como propósito melhorar o desempenho de aplicações Web, permitindo o estabelecimento de conexões multiplexadas sobre o protocolo UDP. No entanto, com a popularização de serviços baseados em QUIC, esses passaram a ser alvo de tentativas de ataques maliciosos, principalmente de ataques de negação de serviço (DoS). Apesar de já existirem soluções para mitigação de ataques contra QUIC operando em endpoints, soluções baseadas em planos de dados programáveis (PDP) para detectar e mitigar ataques ao protocolo QUIC são pouco exploradas. Neste artigo, é apresentado o QUIC-Tr4ck, um sistema para rastreamento de pacotes QUIC que combina de forma híbrida estratégias empregadas no plano de dados programável (utilizando a linguagem P4 e sketches) e estratégias executando em um controlador SDN (consolidando snapshots para uma análise holística do estado da rede). QUIC-Tr4ck permite que switches interceptem conexões QUIC e identifiquem clientes maliciosos de maneira proativa e preventiva, isto é, antes que eles exauram os recursos de um servidor.

  • Open Access

    Offloading Machine Learning to Programmable Data Planes: A Systematic Survey

    by Ricardo Parizotto, Bruno Loureiro Coelho, Diego Cardoso Nunes, Israat Haque, Alberto Schaeffer-Filho

    The demand for machine learning (ML) has increased significantly in recent decades, enabling several applications, such as speech recognition, computer vision, and recommendation engines. As applications become more sophisticated, the models trained become more complex while also increasing the amount of data used for training. Several domain-specific techniques can be helpful to scale machine learning to large amounts of data and more complex models. Among the methods employed, of particular interest is offloading machine learning functionality to the network infrastructure, which is enabled by the use of emerging programmable data plane hardware, such as SmartNICs and programmable switches. As such, offloading machine learning to programmable network hardware has attracted considerable attention from the research community in the last few years. This survey presents a study of programmable data planes applied to machine learning, also highlighting how in-network computing is helping to speed up machine learning applications. In this article, we provide various concepts and propose a taxonomy to classify existing research. Next, we systematically review the literature that offloads machine learning functionality to programmable data plane devices, classifying it based on our proposed taxonomy. Finally, we discuss open challenges in the field and suggest directions for future research.


  • Bungee-ML: A Cross-Plane Approach for a Collaborative Defense Against DDoS Attacks

    by Libardo Andrey Quintero González, Lucas Castanheira, Jonatas A. Marques, Alberto E. Schaeffer-Filho, Luciano Paschoal Gaspary