Skip to content

Multicall#234

Open
fdiazbra wants to merge 8 commits intoos-migrate:mainfrom
fdiazbra:multicall
Open

Multicall#234
fdiazbra wants to merge 8 commits intoos-migrate:mainfrom
fdiazbra:multicall

Conversation

@fdiazbra
Copy link
Copy Markdown
Contributor

Implementation of a Multicall Binary Dispatcher Architecture:

  • A single compiled binary (module_dispatcher) contains all the logic for all modules, and each module is converted from package main → package with a Run() function.
  • Symlinks per module point to module_dispatcher instead of separate binaries so they can be called from Ansible.
  • Before (9 separate binaries): After (1 binary + 9 symlinks): Savings: ~75% binary size (16.5 MB / 6.5 MB for the production build)
  • Adaptation of the Makefile and build script to account for the change

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

Development

Successfully merging this pull request may close these issues.

3 participants