Processing big E-voting files with reactive streams
summary
Swiss e‑voting integration uses a Java pipeline called Gravity project that streams and merges heterogeneous XML formats instead of loading files into memory, using StAX + JAXB for on‑the‑fly unmarshalling, Reactor (and RxJava) for reactive plumbing and Groovy scripts for configurable steps. It handles contests ~500 MB and registers up to 10 GB register files, validates against XSD while streaming, provides pull iterators and push element listeners, and runs in production across cantons.
AI-written summary · about
chapters (6)
- 0:00E-voting and reactive streams intro
- 3:13Swiss e-voting data flow
- 7:17Gravity for vote integration
- 11:01Reactive streaming design
- 16:27XML streaming validation
- 20:03Conclusion & Q&A








