Day 15 : Real time machine learning architecture for securing the network

Hi fellow network enthusiasts!

Today's blog post is dedicated for building a real time machine learning architecture. Why real time?
Well, real time analysis makes the system more robust to attacks, since the analysis incorporates inspecting packets as it flows through the network.

What we need is a scalable architecture that can handle large amount of data! We cant afford to let the machine learning model to crash because the ingested volume was too much. So, in the spirit of building a scalable, robust, secure SDN network architecture, I propose the following model



To put the picture into words, primarily, collect network traffic at the switches and stream it into Spark Streaming Engine using Kafka as the data ingestion tool. Create RDDs (Resilient Distributed Data-set) and process streaming data into appropriate RDDs. After preprocessing, feed the RDDs into Spark Machine Learning Model (based on best accuracy this model will be finalized, in the future blog posts) / a Real time machine learning model that can handle streaming data. The results obtained from the model will be stored in an in-memory database to facilitate faster data storage and retrieval. Retrieving results from Redis will be developed as an API for easier integration with the network architecture.

Things in focus
1. Speed
2. Scalable
3. Robust
4. Secure
5. Real time
6. Easier to integrate into any network.

That's it for today folks! We will be back with more content on how to achieve the proposed model. This is going to be a fun, challenging and exciting journey!

Comments

  1. Alternatively, send a periodic summary of traffic stats e.g. every minute. Otherwise, you will be generating too much data and wasting precious network resources. OpenFlow table does keep statistics and same can be periodically sent.

    ReplyDelete

Post a Comment

Popular posts from this blog

Day 12: Master Slave SDN Controller Architecture

Day 50: Tcpreplay and tcpliveplay approach

Day 10: Mininet Simulation of a basic distributed SDN controller architeture