lambdaclass / lambdaclass/lambda_ethereum_consensus

[Research] Check if node can handle spam correctly

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs elaboration question
Dominant language
Elixir
Stars
109
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Other implementations (lighthouse and prysm, at least) use different types of queues (i.e. FIFO, LIFO) for inter-"process" communication. This enables them to prioritize, for example, newer attestations and older slashing. Since the BEAM handles all of the message passing, we should check (in the future) if its queues (and maybe also libp2p's):

  • drop messages when full (and if the how it's configurable)
  • fill quicker than we process messages
  • the order in which the messages are received (FIFO or LIFO), and if it's configurable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the BEAM's message-passing queues and the libp2p queue behavior, then compare their handling with the Lighthouse and Prysm approaches. Determine whether queues drop messages when full, can fill faster than processing, and preserve FIFO or LIFO order, including whether these behaviors are configurable.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.