This will be an online meetup with no specific agenda however we are happy to accept submissions for talks if any.

Anyone interested in Rust is welcomed to join. While we will have no specific agenda, attendees can discuss, speak or ask about

  • Get help or clarification on any specific topic or question
  • Speak about project or something you are working or looking to work on
  • Share any specific experience on using Rust in any of your projects
  • Discuss any book/topic/library/blog in Rust
  • Want to propose a reading group?
  • Anything Rust

Hosted by

A community of rust-lang contributors and end-users from Bangalore. We also have presence on the following telegram channels https://t.me/RustIndia https://t.me/keralars https://t.me/fpncr Twitter handle: https://twitter.com/rustlangin more

Deepakala Bharath

Title: Classifying High Volume DNS Traffic using Rust

Submitted Feb 6, 2023

Submission Draft:

Rust is a fast-growing systems programming language. It is being used in place of C++ because of its better performance to solve many systems programming problems. One such problem that was solved using Rust is classifying high volume DNS traffic, with near real-time processing of 15 million records per second. While this data mining of DNS queries can be of immense value to business, the process of realizing this right from data collection, enrichment, ingestion and subsequent analysis poses significant challenges.

The complete backend of this application was written in Rust. However, implementation in Rust comes with its own challenges.

One such challenge is updating global variables in Rust. After trying known approaches of mutex, RWLock and RefCell, which either did not work or gave inadequate performance, we implemented an innovative solution to update these global variables that gave us better performance compared to the previous solutions.

Another challenge was load-balancing and horizontal scaling with long lived connections (like TCP). This challenge was addressed by implementing multi connections-based solution in Rust. The connections can intelligently switch, while ensuring data transfer is reliable and no data is lost in the process.

Further, the performance was optimized by limiting the number of concurrent writes to storage, as well as influx of data from the client by limiting number of connections and packet rate limiter. eBPF tools were used to derive optimal values for these limits.

Attending this session will give you an insight into these classic problems, and how new and innovative solutions were developed in Rust to tackle them.

Presenters: Ruchi Saluja, Deepakala Bharath.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community of rust-lang contributors and end-users from Bangalore. We also have presence on the following telegram channels https://t.me/RustIndia https://t.me/keralars https://t.me/fpncr Twitter handle: https://twitter.com/rustlangin more