MSys TrainingMSys Training
    • Courses
        • Quality Management
          • Lean Six Sigma Green Belt
          • Lean Six Sigma Black Belt
          • Combo Lean Six Sigma Green Belt and Black Belt
          • Combo Lean Six Sigma Yellow Belt and Green Belt
          • Close
        • Project Management
          • PMP
          • Certified Associate In Project Management (CAPM)
          • CBAP® – Certified Business Analysis Professional
          • CCBA® – Certification Training
          • MSP® Foundation & Practitioner Certification Training
          • PRINCE2® Foundation Certification Training
          • PRINCE2® Foundation and Practitioner
          • PMI-RMP® Certification
          • Program Management Professional (PgMP)
          • Close
        • IT Service and Architecture
          • ITIL® Foundation
          • ITIL® Intermediate SO Certification Training
          • ITIL® Intermediate ST
          • ITIL® Intermediate SS
          • ITIL® Intermediate SD
          • ITIL® Managing across the Lifecycle (MALC)
          • ITIL® Intermediate CSI
          • ITIL® Intermediate OSA
          • ITIL® Intermediate RCV
          • ITIL® Intermediate SOA
          • ITIL® Intermediate PPO Certification Training
          • IT Service Management Foundation – ITSM
          • Close
        • Agile and Scrum
          • Agile Scrum Master (ASM®)
          • PMI ACP®
          • Certified Scrum Master(CSM)
          • Agile and Scrum Foundation Certification Training
          • Close
        • Cloud Computing
          • AWS Technical Essentials Certification Training
          • Microsoft Azure Fundamentals Training
          • AWS Solution Architect Certification Training Course
          • AWS SysOps Associate
          • Blockchain Certification Training Course
          • AWS Developer Associate Certification Training
          • Architecting Microsoft Azure Solutions – 70-535
          • Close
        • Cyber Security
          • COBIT 5 Certification Training
          • CISSP Certification Training
          • CISA Certification Training
          • CRISC-Certified in Risk and Information Systems Control
          • CompTIA Security+ SY0-501 Certification Training
          • Close
        • Salesforce
          • Salesforce Administrator & App Builder
          • Salesforce Administrator Certification Training
          • Salesforce App Builder Certification Training
          • Salesforce Platform Developer I (Apex & Visualforce)
          • Close
        • Mobile and Software Development
          • C Programming Course
          • .NET Programming
          • Linux Training Course
          • Certified iOS App Developer Training
          • React.js Training Course
          • C# Programming Course
          • Go Programming Training Course
          • SQL database training course
          • Python Training Course
          • Java Certification Training Course
          • Complete HTML and CSS Training Course
          • Complete Web Development Certification Course
          • Angular Certification Training Course
          • Node.js Certification Training
          • Selenium 3.0 Certification Training
          • Close
        • Big Data and Analytics Training
          • Business Analytics Certification Training
          • Qlikview Developer Training
          • Power BI Certification Training Course
          • Informatica Powercenter Certification Training
          • Big Data Hadoop Administrator Certification Training
          • MongoDB Developer and Administrator
          • Certified SAS Base Programmer
          • Apache Spark and Scala Certification
          • Big Data Hadoop and Spark Developer
          • Data Science with SAS Certification Training
          • Data Science Certification Training – R Programming
          • Tableau Training and Data Visualization
          • Python for Data Science Certification
          • Close
        • AI & Machine Learning
          • Machine Learning Certification Course
          • Deep Learning course (with TensorFlow)
          • Close
        • DevOps
          • DevOps Certification Training Course
          • Close
        • Digital Marketing
          • Advanced Content Marketing Certification
          • DMCA – Digital Marketing Certified Associate Training
          • Digital & Social Selling Certified Associate
          • Advanced Web Analytics Certification Training
          • Advanced Website Conversion Rate Optimization
          • Advanced Email Marketing Certification Training
          • Advanced Mobile Marketing Certification Training
          • Close
      • Close
    • Free Courses
    • Resources
        • Articles
          • Quality Management
          • Project Management
          • Agile and Scrum
          • IT Service and Architecture
          • Big Data
          • DevOps
          • Digital Marketing
          • Mobile and Software Development
          • Cloud Computing
          • Close
        • Press Releases
        • Highlights
        • CEO Notes
      • Close
    • Corporate
        • Enterprise Solutions
        • About us
        • Brand Guideline
        • Clients & Partners
        • Gallery
      • Close
    Login
    • Courses
        • Quality Management
          • Lean Six Sigma Green Belt
          • Lean Six Sigma Black Belt
          • Combo Lean Six Sigma Green Belt and Black Belt
          • Combo Lean Six Sigma Yellow Belt and Green Belt
          • Close
        • Project Management
          • PMP
          • Certified Associate In Project Management (CAPM)
          • CBAP® – Certified Business Analysis Professional
          • CCBA® – Certification Training
          • MSP® Foundation & Practitioner Certification Training
          • PRINCE2® Foundation Certification Training
          • PRINCE2® Foundation and Practitioner
          • PMI-RMP® Certification
          • Program Management Professional (PgMP)
          • Close
        • IT Service and Architecture
          • ITIL® Foundation
          • ITIL® Intermediate SO Certification Training
          • ITIL® Intermediate ST
          • ITIL® Intermediate SS
          • ITIL® Intermediate SD
          • ITIL® Managing across the Lifecycle (MALC)
          • ITIL® Intermediate CSI
          • ITIL® Intermediate OSA
          • ITIL® Intermediate RCV
          • ITIL® Intermediate SOA
          • ITIL® Intermediate PPO Certification Training
          • IT Service Management Foundation – ITSM
          • Close
        • Agile and Scrum
          • Agile Scrum Master (ASM®)
          • PMI ACP®
          • Certified Scrum Master(CSM)
          • Agile and Scrum Foundation Certification Training
          • Close
        • Cloud Computing
          • AWS Technical Essentials Certification Training
          • Microsoft Azure Fundamentals Training
          • AWS Solution Architect Certification Training Course
          • AWS SysOps Associate
          • Blockchain Certification Training Course
          • AWS Developer Associate Certification Training
          • Architecting Microsoft Azure Solutions – 70-535
          • Close
        • Cyber Security
          • COBIT 5 Certification Training
          • CISSP Certification Training
          • CISA Certification Training
          • CRISC-Certified in Risk and Information Systems Control
          • CompTIA Security+ SY0-501 Certification Training
          • Close
        • Salesforce
          • Salesforce Administrator & App Builder
          • Salesforce Administrator Certification Training
          • Salesforce App Builder Certification Training
          • Salesforce Platform Developer I (Apex & Visualforce)
          • Close
        • Mobile and Software Development
          • C Programming Course
          • .NET Programming
          • Linux Training Course
          • Certified iOS App Developer Training
          • React.js Training Course
          • C# Programming Course
          • Go Programming Training Course
          • SQL database training course
          • Python Training Course
          • Java Certification Training Course
          • Complete HTML and CSS Training Course
          • Complete Web Development Certification Course
          • Angular Certification Training Course
          • Node.js Certification Training
          • Selenium 3.0 Certification Training
          • Close
        • Big Data and Analytics Training
          • Business Analytics Certification Training
          • Qlikview Developer Training
          • Power BI Certification Training Course
          • Informatica Powercenter Certification Training
          • Big Data Hadoop Administrator Certification Training
          • MongoDB Developer and Administrator
          • Certified SAS Base Programmer
          • Apache Spark and Scala Certification
          • Big Data Hadoop and Spark Developer
          • Data Science with SAS Certification Training
          • Data Science Certification Training – R Programming
          • Tableau Training and Data Visualization
          • Python for Data Science Certification
          • Close
        • AI & Machine Learning
          • Machine Learning Certification Course
          • Deep Learning course (with TensorFlow)
          • Close
        • DevOps
          • DevOps Certification Training Course
          • Close
        • Digital Marketing
          • Advanced Content Marketing Certification
          • DMCA – Digital Marketing Certified Associate Training
          • Digital & Social Selling Certified Associate
          • Advanced Web Analytics Certification Training
          • Advanced Website Conversion Rate Optimization
          • Advanced Email Marketing Certification Training
          • Advanced Mobile Marketing Certification Training
          • Close
      • Close
    • Free Courses
    • Resources
        • Articles
          • Quality Management
          • Project Management
          • Agile and Scrum
          • IT Service and Architecture
          • Big Data
          • DevOps
          • Digital Marketing
          • Mobile and Software Development
          • Cloud Computing
          • Close
        • Press Releases
        • Highlights
        • CEO Notes
      • Close
    • Corporate
        • Enterprise Solutions
        • About us
        • Brand Guideline
        • Clients & Partners
        • Gallery
      • Close

AI & Machine Learning

  • Home
  • Blog
  • AI & Machine Learning
  • 3 Ms. approach to AI

3 Ms. approach to AI

  • Posted by John White
  • CategoriesAI & Machine Learning
  • Date August 7, 2019

With the growing need for and popularity of AI, crawling data from the web and summarizing this data-based business requirement is one of the most common problems many people have to deal with. The problem becomes more challenging when the data sources can be any website or even a large set of websites, as providing a generic solution that meets all business requirements is very difficult.

I have been dealing with such problems in the last couple of years and recently, I tried an approach that I found to be very reliable, easy to maintain, robust, and optimized.

Suggested read: Top artificial intelligence technologies

The approach is the 3 M approach, where the 3 M’s mean following:

  1. Microservice
  2. Message queue
  3. Multithreading

Microservice

I used the microservices approach for separation of concern. I segregated the AI algorithms and business logic from engineering work to make it easier for the team to maintain the application. There are two main reasons behind this segregation:

  1. Usually, data scientists/AI-ML researchers and Product engineers have different specializations. Former are expert in AI/ML while later are expert in infrastructure and engineering works.
  2. For most data scientists and ML researchers, the favorable programming language are Python and R because they contain a huge list of libraries for AI and is pretty easy compared to other programming languages. On the other hand, for enterprise server-side applications, Java is the most preferable, as it has very robust and powerful frameworks like Spring, Hibernate, etc., which have plenty of features to make developers’ jobs easy and simple.

Read: Most popular AI models

Message Queue

Data crawling from the web is a tedious and unreliable process, as every website is different from any other website. The time consumed in crawling data from one website to another also varies significantly and depends on many factors. To make this process reliable, I used RabbitMQ to queue the requests and process asynchronously. This approach helped me in processing the request in a controlled way and it helped the user not to wait for a long time while the request was being processed.

Multithreading

multi threading

Multithreading is used in the application for parallel processing of the request queued in the message queue. Use a thread pool with configurable size. The MessageQ listener continuously observes the MessageQ and calls the thread manager to start a thread whenever it is available in the pool.

Also read: The four waves of AI

The entire application is divided into the three components mentioned below, along with the technologies used in them:

  1. Advisor-app: Java, Spring Boot, Spring Data, MySQL, and MongoDB
  2. Advisor-Msg: Spring Boot, and RabbitMQ
  3. Advisor-AI: Python, Django, NLP, NER, and various AI algorithms

 

  • Share:
author avatar
Chakravarthi Annam

Previous post

Promising Benefits of becoming Lean Six Sigma Green Belt Certified
August 7, 2019

Next post

AI Use Cases Useful for Business Functions and Industries
August 8, 2019

You may also like

Explore-machine-learning-on-AWS
Explore machine learning on AWS
4 November, 2019
How-AI-is-making-the-web-more-accessible
How AI is making the web more accessible
31 October, 2019
Using-AI-to-Advance-Science
Using AI to Advance Science
17 October, 2019

Leave A Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Categories

  • Agile and Scrum
  • AI & Machine Learning
  • Big Data
  • Cyber Security
  • DevOps
  • Digital Marketing
  • Highlights
  • IT Service and Architecture
  • Mobile and Software Development
  • Press Releases
  • Project Management
  • Quality Management
  • Uncategorized

Sign up for Career Growth

Join for Free and Get Personalized Recommendations, Update and Offers

11539 Park Woods Circle,
Suite 702, Alpharetta,
Georgia, 30005-2413 US

Quick Links

- About Us - Become an Affiliate - Become an Instructor - Articles

Contact Us

[email protected]
+1-408 878 3078
Disclaimer | Refund Policy | Money Back Policy | Reschedule Policy | Term of Use Policy | Privacy Policy

PMI, PMP, PMI-RMP® and PMI-CAPM®, are registered marks of Project Management Institute, Inc.

+1-408 878 3078

Offers

Contact Us

Upload your Resume:

Chat with us