Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®,...

26
Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Denis Magda GridGain Product Manager Apache Ignite PMC Apache Ignite and Apache Spark Where Fast Data Meets the IoT http://ignite.apache.org #apacheignite #denismagda

Transcript of Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®,...

Page 1: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DenisMagdaGridGain ProductManager

ApacheIgnitePMC

ApacheIgnite andApacheSparkWhereFastDataMeetstheIoT

http://ignite.apache.org #apacheignite #denismagda

Page 2: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

Agenda• IoT DemandstoSoftware• IoT SoftwareStack• DeviceOS/RTOS• DataCollectionandEnrichment• HTAPPlatform• ApplicationAPIs

• Demo

Page 3: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

IoT DemandstoSoftware

Page 4: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

IoT DemandstoSoftware• Real-timeingestion• Real-timeprocessing• Time-seriessupport• FlexibleQueryingAPIs– SQL– Full-textsearch– Geo-spatial

• Analytics– BI– MachineLearning

• High-availability• Simplescalability

Page 5: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

IoT SoftwareStack

Page 6: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

HTAP Platform

Data Collection and Enrichment

Device OS / Real-Time OS

Application APIs

IoT SoftwareStack

Page 7: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

HTAP Platform

Data Collection and Enrichment

Device OS / Real-Time OS

Application APIs

ApacheIoT SoftwareStack

Page 8: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DeviceOS/RTOS

Page 9: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheMyNewt• OpenSourceRTOS– CortexM0-M4– MIPS&RISC-V

• Networking– BluetoothLowEnergy– Wi-Fi– TCP/IP&UPD

• Build&PackageManagement• Securebootloaderandsigned

images• RemoteFirmwareUpgrade

Page 10: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DataCollectionandEnrichment

Page 11: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DataCollectionandEnrichment• SparkStreaming– Fault-TolerantStreams

Processing• DataCollection– Sockets– Kafka– Flume

• DataEnrichment– SparkAPI

• DataStorage– ApacheIgnite

Page 12: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

HTAPPlatform

Page 13: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

UseCase: Smart Metering and Utilities – delivers a comprehensive IOT platform

50+ Million Meters

• SilverSpringRequirements– Migratetoin-memoryprocessing– Addscalability&elasticity– Useopensourcetechnologies

• SilverSpring Solution– SaaSArchitecture

• Multi-Tenancy• AdvancedSecurity

– Strongcomputecapabilities• Co-locatedin-memoryprocessing

– Demonstratedbest• On-demandelasticity&scalability• ANSI-99SQLSupport• Transactionalconsistency

GridGainSecurity

SilverSpring IoTPlatform

Page 14: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteIn-MemoryDataFabric

• Supports Applications of various types and languages

• Open Source – Apache 2.0• Simple Java APIs• 1 JAR Dependency• High Performance & Scale• Automatic Fault Tolerance• Management/Monitoring• Runs on Commodity Hardware

• Supports existing & new data sources• No need to rip & replace

Page 15: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

In-MemoryDataGrid• DistributedKey-ValueDataStore

• DataReliability• High-Availability– Activereplicas,automaticfailover

• DataConsistency– ACIDdistributedtransactions

Page 16: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

In-MemoryDataGrid:Partitioning

PartitionedCache ReplicatedCache

Page 17: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

StreamingtoIgnite• IgniteDataStreamer– FastestDataInjection– Automaticdatapartitioning

• StreamReceivers– Customlogicexecution– Additionaldatatransformation

• StreamAdapter– Socket– Kafka– Flink– RocketMQ– etc.

Page 18: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApplicationAPIs

Page 19: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteSQLGrid• ANSI-99SQL• Geo-spatialQueries• Full-textSearch• AlwaysConsistent• FaultTolerant• Cross-Platform– JDBCandODBCdrivers– DML(INSERT,UPDATE,etc.)– DDL(CREATE,DROP,etc.)

Page 20: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteSQLGrid:Queries• DistributedJoins• AutomaticGroupBy,Aggregations,Sorting

• Cross-CacheJoins,Unions,etc.• Ad-HocSQLSupport

Page 21: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteComputeGrid• DirectAPIfor

MapReduce• DirectAPIforForkJoin• ZeroDeployment• StateCheckpoints• LoadBalancing• AutomaticFailover

Page 22: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

SparkSharedRDDs• IgniteRDD– ShareRDDacrossjobson

thehost– ShareRDDacrossjobsin

theapplication– ShareRDDglobally

• FasterSQL– In-MemoryIndexes– SQLontopofSharedRDD

Page 23: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

MachineLearningGrid

Page 24: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

Demo

Page 25: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

Resources• Documentation:– ApacheIgnite:https://apacheignite.readme.io/docs– ApacheSparkStreaming:http://spark.apache.org/streaming/– IgniteandSparkIntegration:https://apacheignite-

fs.readme.io/docs/ignite-for-spark– ApacheMyNewt:http://mynewt.apache.org

• DemoSourceCode:– https://github.com/dmagda/IgniteSparkIoT

Page 26: Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®, and the Apache Ignite logo are either registered trademarks or trademarks of the

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ANYQUESTIONS?Thankyouforjoiningus.Followtheconversation.

http://ignite.apache.org

#apacheignite #denismagda