// Computer Science · Network & Systems Engineering

Ricardo
Cruz

$ building ▍

MSc student at the University of Porto working where systems get interesting: distributed protocols, lock-free concurrency, networking and cloud infrastructure.

MScNetwork & Systems Eng.
2024 → present
BScInformatics Engineering
U.Porto · 14/20
7languages
C · C++ · Rust · Java…
☁Alibaba Cloud
technical support

01 Research

Master's dissertation

Applying Restartable Sequences to Per-CPU Hazard Pointers for Lock-free Linked Lists

Safe memory reclamation is the hard part of lock-free data structures: you can't free a node while another thread might still be reading it. Hazard pointers solve that, but publishing them costs expensive memory fences. This work makes hazard pointers per-CPU and protects them with Linux rseq (restartable sequences), so a thread preempted mid-update simply restarts instead of paying for heavy synchronization.

  • Lock-free linked lists with per-CPU hazard pointers
  • Restartable sequences (rseq) for cheap per-CPU critical sections
  • Memory-ordering optimizations & concurrent reclamation
  • Benchmarking with perf
lock-free list · per-CPU hazard pointersrunning
protected retired reclaimed

02 Experience & education

  1. 2024 → now

    MSc in Network and Systems Engineering

    University of Porto

    Distributed Systems, Parallel Computing, Network & Systems Administration, Cloud Systems Administration, Network Security, Systems & Data Security, Advanced Algorithms, Embedded Systems.

  2. Jun 2024 → Feb 2025

    Technical Support for Alibaba Cloud

    Teleperformance

    Troubleshot customer issues across Alibaba Cloud services, investigating cloud infrastructure and networking problems and guiding customers to working solutions.

  3. 2020 → 2024

    BSc in Informatics Engineering

    University of Porto · final average 14/20

    Operating Systems, Computer Architecture, Computer Networks, Parallel & Distributed Computing, Compilers, Algorithms, Software Engineering, Information Security, Databases, AI.

03 Projects

P2P · crypto

Public Ledger & Blockchain

Decentralized auction ledger on a Kademlia DHT over gRPC: ECDSA wallets, transaction and block propagation, mining, validation and fork handling.

Java · gRPC · Kademlia · Docker · ECDSA

compilers

Java-- Compiler

Full pipeline for a Java subset: parsing, semantic analysis, optimization, backend code generation and automated tests.

Java · ANTLR · Gradle

bare metal

2D Game Engine for MINIX

Pac-Man-style game on bare MINIX with interrupt-driven drivers for timer, keyboard and VBE graphics, a 60 Hz frame-timed loop and double buffering.

C · MINIX · low-level I/O

cloud

Decentralized Virtual CDN

CDN with opportunistic edge offloading, orchestrated by demand, regional cost, access patterns and IP geolocation. Automated GCP instance groups, autoscaling, NAT and routing.

GCP · Python · Docker · NGINX

distributed

Anti-Entropy & Token Ring

Push-pull anti-entropy synchronization and Token Ring mutual exclusion across containerized multi-node systems, with fault-tolerant dissemination.

Java · Docker · Maven

live from GitHub

fetched by the Worker · cached at the edge

    04 Skills

    programming

    C · C++ · Rust · Java · Python · SQL · Bash

    systems & concurrency

    Linux · Operating Systems · Lock-free Data Structures · Parallelization · Multithreading · MPI

    networking & distributed

    TCP/IP · gRPC · Kademlia · P2P · Network Security · IPsec · TLS/SSL

    cloud & infra

    Google Cloud · Docker · NGINX · Virtual Machines · Linux Networking

    data

    NumPy · Pandas · Scikit-learn · Matplotlib · Seaborn · PCA

    tools

    Git · CMake · Maven · Gradle · GDB · perf · Wireshark · StrongSwan · OpenLDAP

    Portuguese: native  ·  English: professional working proficiency

    05 Let's talk

    Open to roles in systems, networking, distributed and cloud infrastructure.

    contact.sh
    $ whoami
    Ricardo Cruz, Porto, Portugal
    $ cat contact
    email     ricardo.cruz200230@gmail.com
    github    github.com/Ricardo-Da-Cruz
    linkedin  in/ricardo-cruz-236483151
    $ ▍