big data and internet thinking
play

Big Data and Internet Thinking Chentao Wu Associate Professor - PowerPoint PPT Presentation

Big Data and Internet Thinking Chentao Wu Associate Professor Dept. of Computer Science and Engineering wuct@cs.sjtu.edu.cn Download lectures ftp://public.sjtu.edu.cn User: wuct Password: wuct123456


  1. Big Data and Internet Thinking Chentao Wu Associate Professor Dept. of Computer Science and Engineering wuct@cs.sjtu.edu.cn

  2. Download lectures • ftp://public.sjtu.edu.cn • User: wuct • Password: wuct123456 • http://www.cs.sjtu.edu.cn/~wuct/bdit/

  3. Schedule • lec1: Introduction on big data, cloud computing & IoT • Iec2: Parallel processing framework (e.g., MapReduce) • lec3: Advanced parallel processing techniques (e.g., YARN, Spark) • lec4: Cloud & Fog/Edge Computing • lec5: Data reliability & data consistency • lec6: Distributed file system & objected-based storage • lec7: Metadata management & NoSQL Database • lec8: Big Data Analytics

  4. Collaborators

  5. Contents 1 Intro. to Cloud/Fog Computing

  6. Fog Computing

  7. Challenges

  8. Cloud-Fog-Edge

  9. Cloud-Fog-Edge Devices

  10. Cloud-Fog-Edge Architecture (1)

  11. Cloud-Fog-Edge Architecture (2)

  12. Functions of Cloud-Fog-Edge

  13. Fog/Edge Computing is the Primary Choice to Handle Real Time Data

  14. IoT End-to-End Value Chain

  15. IoT in the cloud and on the edge IoT on the Edge IoT in the Cloud Low latency tight control ▪ Remote monitoring and control ➔ loops require near real-time ▪ Merging remote data from response across multiple IoT devices Public internet inherently ➔ unpredictable ▪ Near infinite compute and Privacy of data and protection storage to train machine ➔ of IP learning and other advanced AI tools

  16. Data Processing in Cloud-Fog-Edge

  17. Heterogeneous/Homogeneous Cloud/Fog computing

  18. Heterogeneous/Homogeneous Computing Framework • Cloud: Parallel and Distributed Computing  Map-Reduce, Graph Computing, Stream Computing • Edge/Fog: Approximate Computing

  19. Why Approximate Computing? image, sound and video processing image rendering ✓ sensor data analysis, ✓ computer vision ✓ simulations, games, ✓ search, machine learning ▪ Inexact/imprecise input data Where a lot of (most?) resources go! ▪ Approximate/iterative algorithms ▪ Loose constraints on output

  20. Point of View on Approximate Computing Performance 2 Resource usage (e.g., energy)

  21. Approximate Computing Example - Images(1)

  22. Approximate Computing Example - Images(2) Errors Energy Errors Energy Errors Energy Errors Energy

  23. Approximate Computing in Different Areas EnerJ (UW), Passert (MSR/UW), Rely (MIT), Relax (Wisconsin) PL Uncertain<T> (MSR), Eon (UMass) Compiler Probabilistic transformations (MIT) Green (MSR), PowerDial (MIT), soft error control (UCLA), Runtime SAGE & Paraprox (Michigan), Swat (UIUC) OS/DB BlinkDB (Berkeley/MIT) ANNs (UW, MSR, INRIA, Wisconsin, Qualcomm) Architecture Using Neural Nets for code approximation (GAtech/UW/MSR) Stream Processing (Princeton) Stochastic Processors (UIUC), ERSA (Stanford), Flikker (MSR), QUORA (Purdue), Approximate Storage (MSR, UW) Hardware Probabilistic CMOS (Rice), approximate components (Purdue)

  24. Approximate Computing Using Neutral Networks Code 1 Code 2 Code 3 Code 4 Code 5 Code 6 Source … Code Common + Neural Intermediate Representation × Representation CPU Acceleration NPU

  25. Approximate Computing – Program (1) Program

  26. Approximate Computing – Program (2) Fin ind an approximate program component Program

  27. Approximate Computing – Program (3) Fin ind an approximate program component Compil ile the program and train a neural network Program

  28. Approximate Computing – Program (4) Fin ind an approximate program component Compil ile the program and train a neural network Program Execut ute on a fast Neural Processing Unit (NPU)

  29. Approximate Computing – Neutral Network Acceleration CPU NPU (Speed: ~ 4× ↑ , Energy: ~ 10× ↓ , Quality: 5%↓ ) Digital Analog CPU GPU FPGA FPAA ASIC ASIC

  30. Approximate Codes int p = 5; @Approx int a = 7; Disciplined Approximate Programming for (int x = 0..) { a += func(2); (EnerJ, EnerC,...) @Approx int z; z = p * 2; p += 4; } a /= 9; p += 10; λ socket.send(z); write(file, z); Relaxed Algorithms ɸ Aggressive Compilation Approximate Data Storage Variable-quality wireless communication Variable-Accuracy ISA ALU Approximate Logic/Circuits

  31. Contents 2 Intro. to Fog/Edge Networking

  32. Edge Architecture

  33. Edge-Fog-Cloud Network

  34. Layered Network (1)

  35. Layered Network (2)

  36. Different Requirements on Latency

  37. Different Network Topology

  38. Different Network Protocols

  39. Different Network Accesses •RAN - Radio Area ea Netw twork for LTE/5G •RNC - Radio io Netw twork Con Controll ller for or WiF iFi •CMTS - Ca Cable le Mod odem Ter ermination System •PON OLT for fiber •EPC – evol olved ed Pack cketCore

  40. Different Network Connections

  41. Applications – Device Location

  42. Applications – Video Analytics

  43. Applications – Content Optimization

  44. Applications – DNS Caching

  45. Applications – Application Optimization

  46. Edge-Fog-Cloud Network Example: TelcoFog (1)

  47. Edge-Fog-Cloud Network Example: TelcoFog (2)

  48. Edge-Fog-Cloud Network Example: TelcoFog (3)

  49. Edge-Fog-Cloud Network Example: TelcoFog (4)

  50. Contents 3 Industrial Solutions

  51. Google IoT Solution

  52. Google Edge Computing (1)

  53. Google Edge Computing (2)

  54. Cloud & Edge Fusion – System Architecture

  55. Cloud & Edge Fusion – Model Training ▪ Fog: Collecting Data ▪ Cloud: Rendering & Training Data

  56. Cloud & Edge Fusion – Virtualization (1)

  57. Cloud & Edge Fusion – Virtualization (2)

  58. Cloud & Edge Fusion – Virtualization (3)

  59. Cloud & Edge Fusion – Virtualization (4)

  60. Amazon AWS IoT Solution ▪ FreeRTOS: IoT operating system ▪ Greengrass : Seamless expansion to edge devices

  61. Amazon AWS IoT Architecture AWS IoT Architecture Things Cloud Sense & Act Storage & Compute Secure local Secure device Fleet onboarding, Fleet IoT data analytics triggers, actions, connectivity management and audit and and intelligence and data sync and messaging SW updates protection Endpoints Gateway Intelligence Insights & Logic → Action

  62. Free RTOS - an open source IoT OS ▪ FreeRTOS: https://www.freertos.org/

  63. Greengrass – AWS Edge Computing Platform (1) ▪ Greengrass is an edge/ fog node with certain computing and processing capability in AWS

  64. Greengrass – AWS Edge Computing Platform (2) ▪ Greengrass provides connector, connecting edge-fog- cloud nodes, and realizing adaptive configuration

  65. Greengrass – AWS Edge Computing Platform (3) ▪ Greengrass provides good authorization and privacy protection mechanisms

  66. Greengrass – AWS Edge Computing Platform (4)

  67. AWS IoT Core – Edge node (1)

  68. AWS IoT Core – Edge node (2)

  69. Greengrass → IoT Analytics

  70. AWS IoT Analytics (1)

  71. AWS IoT Analytics (2)

  72. AWS Lambda (1) ▪ AWS lambda is a fine-grained method for deploying code, managing services, and monitoring the health of lightweight services. similar to Alibaba microservice.

  73. AWS Lambda (2) ▪ AWS lambda is a new pricing and service model

  74. AWS Lambda (3)

  75. Microsoft IoT Solution Complex processing Simple processing Azure Stream Analytics, filtering, batching, compression Cognitive Services

  76. Microsoft IoT Core Innovations (1)

  77. Microsoft IoT Core Innovations (2)

  78. Microsoft IoT Processing Procedure

  79. Microsoft IoT Intelligent Processing Lambda Architecture

  80. Microsoft IoT Connection Procedure

  81. Microsoft IoT Edge-Fog-Cloud Fusion (1)

  82. Microsoft IoT Edge-Fog-Cloud Fusion (2)

  83. Thank you!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend