Skip to content

Conversation

@lucaznch
Copy link
Contributor

Even though the explanation on the website is already good (client-replica interaction), I felt that, like in the course book, the full algorithm written out in text form can still be a bit hard to follow. When I was studying for the exam, I wrote it out as pseudocode, and that helped me a lot.

The pseudocode is entirely based on the course book (pages 785-791), and I tried to follow the same style used for other algorithms in the book.

I split it into four parts to make it easier to read and understand:

  • Envio de pedido de leitura (query) do cliente para a réplica
  • Envio de pedido de modificação (update) do cliente para a réplica
  • Troca de mensagens de gossip entre réplicas
  • Operação de merge entre vector timestamps

Hope this is helpful.

Contains the logic for client-replica interaction and gossip exchange between replicas.
@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for resumos-leic ready!

Name Link
🔨 Latest commit 1e2a9b0
🔍 Latest deploy log https://app.netlify.com/projects/resumos-leic/deploys/687508d98174130008e70770
😎 Deploy Preview https://deploy-preview-1054--resumos-leic.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the sd Sistemas Distribuídos label Jul 14, 2025
Copy link
Member

@diogotcorreia diogotcorreia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@diogotcorreia diogotcorreia merged commit 524acfd into leic-pt:master Jul 15, 2025
6 checks passed
@diogotcorreia
Copy link
Member

Also, this was the project's 1100th commit 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sd Sistemas Distribuídos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants