PlatoAiStream

PlatoAiStream

  • About
  • Discover
  • OpenAi
  • DefiX
  • Features
  • Connect
  • Login
  • Register
PlatoAiStream

PlatoAiStream

  • Discover
  • Plato Search
  • Plato Verticals
    • Aerospace
    • AI
    • AR/VR
    • Automotive
    • Aviation
    • Big Data
    • Blockchain
    • Cannabis
    • Carbon
    • Cleantech
    • Code
    • Crowdfunding
    • Cybersecurity
    • Defense
    • E commerce
    • E Sports
    • Edtech
    • Fintech
    • Forex
    • Gaming
    • IOT
    • Medical Devices
    • Nano Technology
    • Patents & IP
    • Payments
    • Private Equity
    • Quantum
    • Real Estate
    • SaaS
    • Semiconductor
    • SPACs
    • Startups
    • Supply chain & Logistics
    • Venture Capital
  • Plato AiStreams
    • Arabic
    • Chinese
    • Dutch
    • English
    • Finnish
    • French
    • German
    • Greek
    • Hebrew
    • Hindi
    • Indonesian
    • Italian
    • Japanese
    • Korean
    • Norwegian
    • Polish
    • Portuguese
    • Russian
    • Spanish
    • Swedish
    • Thai
    • Turkish
    • Ukrainian
    • Vietnamese
  • Plato Newswire
  • Publications
    • 99 Bitcoins
    • ACN Newswire
    • ADVFN
    • Ai TimeJournal
    • Aisa PEVC
    • AlexaBlockchain
    • AMB Crypto
    • Asia Crypto Today
    • Asian Spectator
    • Asic Miner Market
    • Baystreet
    • Bitcoin Market Journal
    • Bitcoin PR Buzz
    • Bitcoinist
    • BitcoinNewsMiner
    • Bitcon Chaser
    • Bitpinas
    • Bitrazzi
    • Bitsonblocks
    • Blockchain Curated
    • Blockchain Health Review
    • BlockNews Africa
    • Blockpit
    • Blokt
    • BTC Upload
    • Business News Asia
    • Business News.ph
    • Business Press 24
    • Central Charts
    • ChainTimes
    • CoinBeat
    • Coinbureau
    • CoinCentral
    • Coingenius
    • Coinigy
    • Coinnounce
    • Cointelegraph
    • Cointikka
    • Coin Edition
    • Crunchbase
    • Crypto News
    • Crypto News Point
    • Crypto News Review
    • Crypto NewsZ
    • CryptoClarified
    • Cryptocointrade
    • Cryptocoinzo
    • Cryptodiffer
    • CryptoGlobe
    • Cryptomininq
    • CryptoNezo
    • CryptoNinjas
    • CryptoPotato
    • Cryptoverza
    • DC Forecasts
    • Decrypt
    • Digital Notice
    • ECrypto News
    • EthBLog
    • Ethical Markets
    • EventsNewsAsia
    • Finanzachricten
    • Finyear
    • Firmen Presse
    • Futures Trading Charts
    • Influencing
    • Inside Bitcoins
    • Intell Asia
    • Jump Start
    • Kanalcoin
    • Kraken Blog
    • Lioncity
    • MENAFN
    • MetaNews
    • Micro Small Cap
    • Multichain
    • NFX
    • News BTC
    • News Tag
    • Null TX
    • OpenZeppelin
    • Platonet
    • Protos
    • PRWire
    • Press Malaysia
    • Primafelicitas
    • Quamnet
    • Quillhash
    • Sccop
    • Sinchew Business
    • Street Insider
    • Street Signals
    • Techphile
    • Techstars
    • The Daily Hodl
    • The Merkle
    • The CoinsPost
    • Times Tech
    • TIMM
    • Today NFT News
    • Unhashed
    • W3era
    • Web3Africa
    • Weiss Crypto Ratings
    • Zaikei
    • Zephyrnet
  • DefiX Gateway
    • Bitcoin ATMs
      • Bitcoin Depot
      • Bitstop
      • Byte Federal
      • Coin Source
      • Coinflip
      • Digital Mint
      • Insta Coin
      • Kurant
      • Local Coin
      • National Bitcoin
      • Rocket Coin
      • Smart Kiosk
    • Blockchain Events
      • Ai in Payments
      • AIBC
      • Asia Crypto Hong Kong
      • Bitcoin 2022
      • Blockchain Expo Global
      • Blockchain Expo NA
      • Blockchain Fest Asia
      • Blockchain Week Rome
      • Blockchance Europe
      • Blockchian Fest
      • Construction Blockchain Consortium
      • Crypto Asset Conference
      • Digital Assets Realised
      • Finnovex
      • Finnovex South Africa
      • Futurist Conference
      • Global Defi Summit
      • Global Fintech Fest
      • Government Blockchain Week
      • Hyperledger Global Forum
      • London Digital Assets Week
      • NFT.NYC
      • NFT Summit
      • Reg Tech Summit
      • Security Tokens Realised
      • Synopsis
      • The Blockchian Event
      • The Conference. NFT
      • Token 2049
    • Compliance
      • Blockpass
      • BrightID
      • Ciphertrace
      • Coinfirm
      • Colendi
      • Elliptic
      • Gresham International
      • Identity.com
      • Jolocom
      • KYC Chain
      • Maxcorp
      • Notabene
      • Solidus Labs
    • DAO’s
      • 0xDAO
      • Aave
      • Aavegotchi
      • ADAM Oracle
      • AlgoGems
      • Alien Worlds
      • Apollo Inu
      • Avocado
      • Bancor
      • Based Money
      • Battle Saga
      • Benchmark Protocol
      • BiShares
      • BitDao
      • Bitfari
      • Boardroom
      • BondAppétit Governance
      • BOSAGORA
      • BreederDAO
      • Bright ID
      • Burn Signal
      • Cennz
      • Choise
      • Compound
      • CLR Fund
      • Cream Finance
      • Creditbit
      • CrypCade
      • Crypto Gaming United
      • Curio
      • Curve
      • DAO HAUS
      • DAOLaunch
      • DAOStack
      • dDNS DAO
      • Decentral Games
      • Decentral Games ICE
      • Decision Token
      • Defi Omega
      • Dego Finance
      • Edge Ware
      • Estonia
      • Flamingo
      • Gnosis
      • Keeper Dao
      • Lex DAO
      • Machix
      • Meta Cartel
      • Meta Gamma Delta
      • Moloch Dao
      • MStable
      • Mutual DAO
      • Nectar
      • PieDAO
      • Snapshot
      • ADAO
      • Adapulse
      • ALDEA
      • Aquadano
      • Boss DAO
      • Cardamun
      • Cardano 4 Climate
      • Cardano Link
      • Cardano Makers
      • Cardano Native Token
      • cNFT meme-DAO
      • Crypto College
      • Deentra
      • EcoCashew.com
      • finclout.io
      • FIRE Token
      • Lovelace Academy
      • PIGY Token
      • Rare Bloom
      • SANADA
      • Sherpa Token
      • Simple Cardano
      • SPO JAPAN GUILD
      • Summon Platform
      • Sustainable ADA
      • TACF NFT Pilot Program
      • TADATek
      • The Cardano Lounge
      • Token Allies
      • TosiDrop
      • Veritree
      • Zero to Haskell
    • Dapps
      • 0xWarriors
      • Angel Battles
      • BingoCash
      • BitPonies
      • Block Fight
      • Block Lords
      • Chainmonsters
      • ChickenHunt
      • Crypto Cuddles
      • Crypto Fighters
      • Crypto Mining War
      • Crypto Wars
      • CryptoCats
      • CryptodDer
      • Cryptogs
      • Dragonereum
      • Drug Wars
      • Easy Ether
      • Energy Market
      • Ether Kingdoms
      • EtherCraft
      • Ethmoji
      • FishChain
      • Fuse Studio
      • Infiniverse
      • Lordless
      • Panda Fun
      • Royal Online Vegas
      • Shrimp Farm
      • SnailThrone
      • Torpedo Launch
      • World of Ether
    • Developers
      • 3Box
      • Aquatik Studios
      • Blaize
      • Block360
      • BlockBlox
      • Blockchain Center
      • Blockchain Foundry
      • Blockhunters
      • Blockwell
      • Cardinal Cryptography
      • Celer
      • Code Zeros
      • Cubycode
      • Dapplica
      • Debut Infotech
      • DevProvider
      • Ekoios
      • Emurgo
      • Etheralabs
      • EthWorks
      • Geneva Software
      • Gnosis
      • Hashcash Consultants
      • HireNinja
      • Idealogic
      • INC4
      • InMind Software
      • Interstellar
      • Ionixx
      • IOST
      • IT Companies
      • Kaikas
      • Keep.Network
      • Lemon
      • Lightning Network
      • LimeChain
      • Liquidity.Network
      • Merehead
      • Metronome
      • Minddeft Technologies
      • mStable
      • MVP Workshop
      • Mysterium Network
      • Nest
      • Nextrope
      • Node Factory
      • Nordwhale
      • OnGraph
      • Ontology
      • OpenLedger
      • Owlab
      • Parity
      • PixelPlex
      • Proof Suite
      • Provable Things
      • pTokens
      • Qualium Systems
      • Ramlogics
      • Ren
      • Shapeshit
      • SmartBox
      • SourceX
      • Stratus Cyber
      • Swirlds
      • Teamvoy
      • TechCreatix
      • Titanium Blockchain
      • TrendLine Global
      • Ubik Group
    • DEX’s
      • AirSwap
      • Balancer
      • Beefy
      • BitPortal
      • bSWAP
      • Curve
      • DexGuru
      • DEX Screener
      • Dolomite
      • DYDX
      • Eidoo
      • Ellipsis
      • Enzyme
      • HOKK Finance
      • IDEX
      • IX Swap
      • Jelly Swap
      • LayerSwap
      • Loopring
      • Matcha
      • Mavryk
      • Newdex
      • Orion
      • PancakeSwap
      • ParaSwap
      • Poocoin
      • Quickswap
      • Rome Terminal
      • SHIBA TOKEN
      • Totle
      • Uniswap
      • WBTC.Cafe
      • AdaSwap
      • BynetDEX
      • Cardance Swap
      • Dexada
      • Maladex
      • Occamx
      • Spectrum Dex
      • Sundae Swap
      • Thothus
      • WingRiders
    • Exchanges
      • Alphaex
      • Aryana
      • Azbit
      • Beaxy
      • Bidesk
      • Bitay
      • BITEXBOOK
      • Bitpanda Pro
      • BTC Markets
      • BTC-exchange
      • CBX
      • Chilebit
      • Cobinhood
      • Coin Bureau
      • Coindeal
      • CoinEgg
      • Coinlist
      • Coins Pro
      • Compound
      • Eidoo Hybrid Exchange
      • ErisX
      • Everbloom
      • Gemini
      • Gnosis
      • iDevex
      • IDEX
      • IncoreX
      • InstantBitex
      • Just Liquidity
      • LIQNET
      • Lykke
      • Onederx
      • OpenLedger
      • Red Matter
      • SIGEN.pro
      • Sistemkoin
      • Slicex
      • SparkDEX
      • Surbitcoin
      • Switcheo
      • Theta Nuts
      • Thore
      • Uniswap
      • Uniswap (V2)
      • Vaultoro
      • VBTC
      • Yacuna
    • Gaming
      • Aavegotchi
      • Age of Rust
      • Alien Worlds
      • Battle Racers
      • Big Time
      • City States
      • Crazy Defense Heroes
      • Cryowar
      • Crypto Space Commander
      • Crypto Voxels
      • CryptoBlades
      • CryptoZoon
      • Dark Country
      • Dvision Network
      • Elementos
      • Farmers World
      • Forest Knight
      • Guild of Guardians
      • Idle Cyber
      • Illuvium
      • Metalands
      • MetaWars
      • Mines of Dalarnia
      • Monkeyballc
      • Neon District
      • Neverdie
      • Noa
      • Pet Games
      • Phantom Galaxies
      • Plant vs Undead
      • R-planet
      • Revv Racing
      • Riot Racers
      • Sipher
      • Sky Weaver
      • Soccer Manager Elite
      • Somnium Space
      • Spells of Genesis
      • Splinterlands
      • Taurion
      • Upland
      • The Six Dragons
      • War of Crypta
      • War Riders
    • Insurance
      • Asure Network
      • BITRUST
      • Citizen Health
      • Etherisc
      • Hurricaneguard.io
      • Nexus Mutual
      • Nsure
      • Opium Insurance
      • VouchForMe
    • Launchpads
      • Birchal
      • Catapoolt
      • Causes
      • Crowdcube
      • Fundly
      • Give Campus
      • Goteo
      • Harbor
      • One Planet Crowd
      • Patreon
      • RealtyMogul
      • Rocket Hub
      • Startup Explore
      • Vedaslabs
      • Venture Crowd
      • Vested
    • Lending
      • CREAM Swap
      • Definer
      • Invesrse Finance
      • Torque
    • Marketplaces
      • Airbrick
      • Atomic Market
      • Collect
      • Crypto Slam
      • Crypto Waifu
      • DAO HAUS
      • EOS Name Swaps
      • Fyooz
      • Hivelist
      • Jugger World
      • LIBER
      • Lit.it
      • Miime
      • Myth Market
      • Nagemon
      • NEAR
      • NFT Key
      • NFT Mart
      • Paras
      • Rarible
      • Secret Auctions
      • Space Finance
      • Token Trove
      • Totle
      • Treasureland
      • Wax Stash
      • WaxArena
      • Waxplorer
      • Wyvren
      • Xanalia
      • YieldX
    • Mining
      • Blockware Solutions
      • Canaan Creative
      • CoinMiner
      • Cudo Miner
      • Cyberian Mine
      • ECOS Cloud Mining
      • Iliium
      • Innosilicon
      • IQ Mining
      • Livepeer
      • Miner Bros
      • MinerGate
      • MineShop
      • MiningStore
      • myMiner
      • New Mining
      • Obelisk
      • PandaMiner
      • Quantech
      • WhatsMiner
      • Whats Miner
    • NFTs
      • Anr Key
      • ApeSwap
      • Apex Crypto
      • Art Blocks
      • Atari NFT
      • Auto Glyphs
      • Axie Infinity
      • Bbvsea
      • Billboard ChartStars
      • Blockchain Heroes
      • Bluzelle
      • BTC Origins
      • Coincast
      • Crypto Voxels
      • DeadMau5
      • DevilsFlock
      • Digital Currensy
      • Entrepot
      • Euler Beats
      • Fractional
      • GraziaNFT
      • Gunslingers
      • HALF BAYCD
      • HashRush
      • Holaplex
      • Ikonic
      • INFINITE DODOS
      • Its Nuqtah
      • Larvalabs
      • Lavish Leopards Club
      • Meet Bits
      • MetaFans
      • Meta Mansions
      • Minters Collective
      • Monsters of Rap
      • NFT20
      • NFT Summit
      • Nifty Dudes
      • NOMINT
      • Rarible
      • RPlanet
      • RTFKT
      • RtistiQ
      • Secured Sneakers
      • Somium Space
      • The Hash Masks
      • The Horrors
      • Token Ocean
      • Topps GPK
      • Topps MLB
      • Upland
      • Weezer
    • Payments
      • Baanx
      • Bitt
      • Blockmove
      • Celer Network
      • Circle Invest
      • Flexa
      • Lightning Network
      • OmiseGO
      • Sablier
      • xDai Stable Chain
    • Resources
      • 100 Tasks
      • Ahura
      • ARCISPHERE
      • Askria
      • Blockchain Council
      • Blockchain Councilus
      • Blockchain Industry Group
      • Blockchain Research Institute
      • Cloud Credential
      • Club Swan Partners
      • Cogent Law
      • Crypto Valley
      • Digital Chamber
      • District0x
      • Energy Blockchain
      • EST Cap
      • Fastbase
      • Fibree
      • GBB Council
      • GDF
      • Government Blockchain Association
      • Global Blockchain Summit
      • Global Tech Council
      • Gov Chain
      • GSDC
      • Helium
      • Intercoin
      • Market Across
      • MediaShower
      • Reblonde
      • SHEQONOMI
      • TiiQu
      • Visionary
    • Sector Directory
    • Social
      • APPICS
      • D Tube
      • D.Buzz
      • Den
      • DLike
      • Lumeos
      • QUASA
      • Sense Chat
      • Steem Leo
      • Stem Social
    • Stablecoins
      • Augmint
      • DefiDollar
      • Empty Set Dollar
      • EOSDT
      • Frax
      • Gemini Dollar
      • Money on Chain
      • pTokens
      • USD Coin
      • WBTC
    • Staking
      • 88mph
      • Autofarm
      • Balancer
      • Barnbridge
      • bEarn Fi
      • Beefy Finance
      • Cream
      • Dokia Capital
      • HyperBlocks
      • Idle
      • Mythos
      • PancakeBunny
      • Phuture
      • Pickle
      • Rari Capital
      • Stake.Fish
      • Stake Capital
      • StakeWithUs
      • Stakin
      • Staking
      • Staking Facilities
      • xDai Stable Chain
      • xFai
      • Yield Farming
    • SupplyChain
      • 300 Cubits
      • Blockfreight
      • Blockhead Technologies
      • CargoCoin
      • CargoLedger
      • IMMLA
      • Konexial
      • Modum
      • OpenPort
      • Peer Ledger
      • SigmaLedger
      • Skuchain
      • SkyCell
      • SyncFab
      • T-Mining
      • TangoTrade
      • Tradeline
      • Unicsoft
      • WAVE
    • Trading Gateway
      • ACDX
      • Aurex
      • Belfrics India
      • Betoken
      • Bitgo
      • Bitgo Wallet
      • Coinsmart
      • DefiPulse Index
      • Diversi.fi
      • Erisx
      • FinNexus Options
      • Fulcrum
      • Hegic
      • Hetoro
      • Indexed Finance
      • Kirobo
      • Lien
      • Mith Cash
      • OpenFinance
      • Opyn
      • PieDAO
      • RosyWhale
      • RoundlyX
      • Simple Swap
    • Venture Capital
      • Abstract Ventures
      • Alpha Sigma
      • Arcanum Capital
      • BlueYard
      • Boost VC
      • Breyer Capital
      • Bridgit
      • BTC Inc
      • Collaborative Fund
      • Compound VC
      • Continue Capital
      • Dekrypt Capital
      • Electric Capital
      • Ethereum Community Fund
      • Fabric Ventures
      • Founders Fund
      • FreeS Fund
      • Future Perfect Ventures
      • GBIC
      • Gumi Cryptos
      • Hard Yaka
      • Hashed
      • HashKey Group
      • IMO Ventures
      • INBlockchain
      • Initialized Capital
      • INN Mind
      • IOSG Ventures
      • June Fund
      • KR1
      • Krypital
      • L4 Ventures
      • LD Capital
      • Lemniscap
      • Lightspeed Venture Partners
      • LinkVC
      • Matrix Partners
      • MetaStable
      • Metaverse Ventures
      • NGC Ventures
      • Notation Capital
      • Outlier Ventures
      • PANTERA Capital
      • Passport Capital
      • Placeholder VC
      • Polychain Capital
      • PreAngel
      • Protocol Ventures
      • Scalar Capital
      • Sequoia Capital
      • Signal Ventures
      • Social Capital
      • SVK Crypto
      • Union Square Ventures
      • Version One
      • Vy Capital
      • Walden Bridge Capital
      • Winklevoss Capital
      • Yeoman’s Capital
      • Youbi Capital
      • YoungStartup
    • Wallets
      • Agama
      • AirGap
      • AlphaWallet
      • AnkerPay
      • ANX Vault Wallet
      • Armory Wallet
      • Atomic Wallet
      • Aurex Wallet
      • Autonomy
      • BitcoinWallet
      • BitFi
      • Bither Wallet
      • BitKeep
      • Bitpanda
      • Bitpie
      • BitPortal
      • Blockmove
      • BlockWallet
      • CAKE
      • Coffee
      • Coin Wallet
      • Coinfy
      • Crypterium
      • Crypto.com
      • Daedalus
      • DeFi Saver
      • Dharma
      • Dhedge
      • Digibyte
      • Dogecoin Core
      • Eidoo
      • ElectronCash
      • ElectrumLTC
      • Electrum Wallet
      • EO.Finance
      • Evercoin
      • Foxlet
      • Ginco
      • Gnosis Safe
      • HB Wallet
      • HelioWallet
      • Huobi Wallet
      • Joule
      • KCash
      • Ledger
      • Linen App
      • Lykke Wallet
      • MatterFi
      • Memory Box
      • MetaMask
      • Mobi
      • Monedero
      • Monerujo
      • MultiDoge
      • Multis
      • Mycelium Wallet
      • Natrium Wallet
      • NEON Wallet
      • NEVERDIE
      • NGRAVE
      • OGPay
      • OpenLedger
      • OPOLO
      • Phoenix
      • Pirate Ocean
      • Prodoge
      • qPocket
      • Rabby
      • Skull Island
      • Stratis
      • Trust Wallet
      • Trust Wallet App
      • Trustology
      • UberPay
      • Vcash Client
      • Venly
      • WallETH
      • ZenGo
      • Zerion
      • ZTLment
  • Market Data
    • BTCUSD
    • Economic Data
    • Forex
    • Global Indices
    • GS vs Coin
    • Plato X25
    • Plato X40
    • Nasdaq 100
      • Activision
      • Adobe
      • Advanced Micro Devices
      • Alexion
      • Align Technology
      • Alphabet A
      • Alphabet C
      • Amazon
      • Amgen
      • Analog Devices
      • ANSYS
      • Apple
      • Applied Materials
      • ASML
      • Atlassian
      • Autodesk
      • Automatic Data Processing
      • Biogen
      • Booking Holdings
      • Broadcom
      • Cadence
      • CDW Corp
      • Cerner Corp
      • Charter Communications
      • Check Point
      • Cintas
      • Cisco
      • Cognizant
      • Coinbase
      • Comcast A
      • Copart
      • Costco
      • CSX
      • DexCom
      • Dollar Tree
      • eBay
      • Electronic Arts
      • Exelon
      • Facebook
      • Fastenal
      • Fiserv
      • Fox Corp
      • Fox Corp Class A
      • Gilead Sciences
      • IDEXX Labs
      • Illumina
      • Incyte
      • Intel
      • Intuit
      • Intuitive Surgical
      • JD.com
      • Keurig Dr Pepper
      • KLA
      • Kraft Heinz
      • Lam
      • Lululemon
      • Marriott
      • Marvell
      • Match Group
      • Maxim
      • MercadoLibre
  • Analytics
    • 0x Tracker
    • Amberdata
    • Apex Crypto
    • APY.Vision
    • ARTiFACTS
    • Beam Explorer
    • BitcoinWiki
    • Bitcompare
    • BitRank
    • CSPR Live
    • CryptoSlam
    • Crypto Wizards
    • DEXTools
    • Gray Wolf
    • Helium
    • Liquidtyfolio
    • LoanScan
    • Maker Governance Dashboard
    • NFT Stats
    • ParaSwap
    • Pools.fyi
    • QLUE
    • Quantify Crypto
    • Rome Terminal
    • Stablecoin Index
    • Token Terminal
    • TronScan
    • Uniswap
    • UniWhales
    • Unmarshal
    • Unmarshal Analytics
    • VeChain
    • Vetter
    • VFat
    • Xscan
  • W3 Metaverse
    • 5ire
    • Aavegotchi
    • ADADEMON
    • Adhara
    • Adshares
    • Aircoins
    • Alastria
    • Alien Worlds
    • Alpha Wallet
    • Arcona
    • Atari Token
    • Atato
    • Aurory
    • Aventus
    • Badger Finance
    • BambooDefi
    • Band Protocol
    • BELLYGOM
    • Bidao
    • Big Data Protocol
    • Bitlands
    • BitcoinCore
    • Blockapps
    • Blockchain For Social Impact
    • Blockchain Monster Hunt
    • Blockchain Research
    • BOSAGORA
    • BPS Financial
    • Brain Bot
    • British Blockchain Association
    • BULLY-VERSE
    • Butterfly
    • bZx
    • Carda Station
    • Cardano City
    • Cardano Village
    • Cardania
    • Chainlink Labs
    • Chromia
    • ClearMatrics
    • Cream Finance
    • CMT Digital
    • Codex
    • Couger
    • DEAPcoin
    • Decentral Games
    • Decentral Games ICE
    • DEEPSPACE
    • DIF
    • Dotmoovs
    • Dvision Network
    • Eco Island
    • Elemon
    • ELTCoin
    • Envision Blockchain Services
    • Etherisc
    • FaraLand
    • Fasset
    • Findora
    • Finso
    • Future Fest
    • GameFi
    • Gamestate
    • Heroes Chained
    • Inferno Red
    • Illuvium
    • inSure DeFi
    • Io builders
    • IOSG
    • Juggernaut
    • Kalao
    • Kaula
    • Kaulian
    • Legend of Fantasy War
    • LimeChain
    • LUKSO
    • MAGMA
    • Mandala
    • MATELAND
    • Metacade
    • Meta Bank Defi
    • Meta Mansions
    • MetaOneVerse
    • MILC Platform
    • Mines of Dalarnia
    • MOBOX
    • Monsta Infinite
    • MRHB
    • MyNeighborAlice
    • MySwarm
    • Near Names
    • Newscrypto
    • NexBloc
    • Onooks
    • Opium Insurance
    • Parsiq
    • Pavia
    • Perkins
    • Phantasma
    • Pinnacle
    • PlayDapp
    • Pocket Towne
    • Polychain Monsters
    • Polygon
    • Protocol Labs
    • Provable Things
    • Radio Caca
    • Reach Metaverse
    • Reedll
    • Render Token
    • Ren VM
    • Revolve Games
    • Revomon
    • Runtime Verification
    • Sablier
    • SafeMoon
    • SENSO
    • SigmaLedger
    • Sinverse
    • Sollensys
    • Solice
    • Somnium Space
    • Space Tokens
    • Spacetime Meta
    • Spheroid Universe
    • Stably
    • Starlink
    • Stratis
    • Sunterra
    • Symbiont
    • Tagprotocol
    • Theta Network
    • The Machine Consultancy
    • Token Factory
    • TOWER
    • Trade Log
    • UFO Gaming
    • Unbounded.Earth
    • Unibright
    • UniWhales
    • Valid Network
    • vBlocks
    • vEmpire
    • Venus
    • Verasity
    • Verse Estate
    • Victoria VR
    • Vitro
    • WAX
    • WBTC
    • Web3 Labs
    • WEMIX
    • WeTrust
    • Wilder World
    • Wizardia
    • Wownero
    • Xaya
    • Yield Guild
    • Zap
    • ZooKeeper
  • Protocol Registry
    • Algorand
      • Algodex
      • Octorand
      • Simplecoin
      • Tinyman
    • Avalanche
      • Aave
      • Alligator
      • Alps
      • Alter Go Punks
      • Any Civilization
      • Apingavax
      • Arable
      • Avaluan
      • Avax
      • avax3d
      • Avax Blobs
      • Avax Farmer
      • Avax guitars
      • AVAX Miners
      • Avax Monkeys
      • Avax Pool
      • Avax Punks
      • Avax Stacker
      • Avax Vault
      • Avaxtars
      • AXDAO
      • Baby Azuki Social Club
      • BENQI
      • Coconuts
      • Colony
      • Complus
      • Cooked Finance
      • Crabada
      • Cycle Finance
      • Flyrise
      • Gondola
      • Insta Dapp
      • Kaloo Finance
      • Lava Financial
      • Lydia
      • Maximus
      • Pangolin
      • Pizza Game
      • Plant a Tree
      • Platypus
      • Smartwin
      • Snocat
      • Snowball
      • Spore
      • Step.App
      • The AVAX-USDC Crops Farmer
      • Toasted AVAX
      • Vector Finance
      • Wheel of Return
      • Yak
      • Yeti Finance
    • BNB Chain
      • Aircash
      • Autoshark Finance
      • Aping Drip
      • Ape Swap
      • AngeLNodes
      • Anchor Swap
      • Ample Swap
      • Amnex
      • Alita
      • Acryptos
      • 9DNFT
      • BabySwap
      • Babylons
      • Baby Chick
      • Bake Pizza Miner
      • Baked Pizza
      • Bakery Swap
      • Banana Farm
      • Bee’n’Bee
      • Beef Swap
      • BinaryX
      • Biswap
      • Biswap Marketplace
      • BNB Cherries
      • BNB Park
      • BNB Seed
      • BNB Stake
      • Bomb Crypto
      • Bomb.Money
      • Bourbon Finance
      • BSC BNB Miner
      • Buffer Finance
      • Bungee Exchange
      • BUSD Miner
      • Bushdhoney
      • Cake of Fortune
      • Candle Genie Predictions
      • Cash Pirates
      • Chain Colosseum
      • Coffee Beans
      • Coin Printer
      • Corite
      • Coso Swap
      • Cowley Farm
      • CREAM
      • Crypto VHS
      • Cub Defi
      • Cube
      • Cyball
      • CZs Kitchen
      • DDDX
      • Deep Link
      • Defi Empire Games
      • Defi Temple
      • DEFI Warrior
      • DeHero
      • Dibs Money
      • Dinosaur Eggs
      • DNA X CAT
      • DogeBets
      • DracooMaster
      • DRIP
      • Drunk Robots
      • Elephant Money
      • ELFIN Kingdom
      • Elpis Battle
      • EMP
      • Faraland
      • Fire BUSD
      • Fistiana
      • Food Court
      • Forsage
      • Forth Box
      • FortPolis
      • Frost Flakes
      • Gold Grinder
      • Gold Grinder 2.0
      • Gravis Finance
      • Grinchbucks
      • Grove Token
      • GXG Coin
      • Happyland Finance
      • Hello Arena
      • Hero Cat
      • HyperJump
      • Idle Ninja Online
      • Infinity Crypto
      • Infinity Farms
      • Jade Protocol
      • Joe The Garden
      • Jul Swap
      • Kawaii Islands
      • Knight
      • Leounicorn Swap
      • Libero Financial
      • Liqiodifty
      • Lucky Chip
      • LZ Swap
      • Market Radio Casa
      • MDEX
      • Melos Studio
      • Metakeeper
      • Metamon
      • MetaRevo
      • Mines of Dalarnia
      • Minning Tycoon V2
      • Mobox
      • Money Minnows
      • Moon Pot
      • Movey
      • Mstation
      • Mintverse
      • My Defi Pet
      • Myfunding Network
      • MyRich Farm
      • NFTB
      • Ninneko
      • Niob Finance
      • Oceans Finance
      • Onyx Token
      • Pacoca
      • Pan Cake Bunny
      • Pancake Swap
      • Peace DAO
      • Pink Sale
      • Piston Token
      • Popcorn Cash
      • Position Exchange
      • QUK
      • Revault Network
      • Revault Network
      • Rothschild Winery BNB
      • Rug Zombie
      • Rune
      • Sea Scape
      • Second Live
      • Senspark
      • Solar Farm
      • SOLV Finance
      • Sport E
      • Star Mon
      • Step
      • The Crops Farmer
      • The Crypto You
      • Tiny World
      • Titan Hunters
      • Tomato Farm
      • Transit Swap
      • Turdburglar
      • Tuttu Frutti
      • USDT Miner
      • Venus
      • Vizsla Swap
      • Wanaka Farm
      • Warden
      • WazirX NFT
      • WidiLand
      • Win Per Minute Now
      • Zodium
    • Cardano
      • A SHIB
      • Aada
      • Acta Finance
      • ADAHEADZ
      • Adalantic
      • AdaMeds
      • ADANFT
      • ADAPunks
      • AdaQuest
      • AdaSwap
      • ADATools.io
      • Ardana
      • ArtGallery_AI
      • Astarter
      • Atomic Wallet
      • Baby Alien Club
      • Baby Dragon
      • Bidali
      • BingoToken
      • BISON COIN
      • Blockademia
      • Blockchain Samurai
      • Blockchaingames
      • Blockfrost
      • Cardacity
      • Cardance Swap
      • Cardano City
      • Cardano Dragonz
      • Cardano Kombat
      • Cardano Postal Service
      • CardanoKidz
      • Cardanomoon
      • CardanoPix
      • Cardashift
      • Cardoggo Token
      • Cardoonz
      • Catjam Token
      • CatKinson
      • Centaurify
      • ChaosColony
      • Clay Nation
      • CryptoRaggies
      • Cult of Pigeons
      • Daedalus Wallet
      • DB Studio
      • dcSpark
      • DEADPXLZ
      • Dracano
      • Empowa
      • Ergo
      • Flickto
      • Fort Gotten
      • Galactico
      • Genesis Auction House
      • Genius Petz
      • GOAT Tribe
      • H.Y.P.E
      • HashGuardians
      • Horrocubes
      • Hosky Inu
      • Inherited Plants
      • Jurassik Chained
      • Koios
      • LEAF Token
      • Lucid Dream
      • MAGIK RUNES
      • Maladex
      • Masked On Buttons
      • MechVerse
      • MetaDEX
      • Moonimals
      • MoonRock NFT
      • OccamX
      • OceanPals
      • OOZ1ES
      • Optim Finance
      • PIGY Token
      • Pixel Vampire Club
      • PlayerMint
      • PoolPerks
      • PoolTool
      • PumpkinCatz
      • PunkAss
      • Reach Metaverse
      • Ridotto
      • Rugg Project
      • Shibada Token
      • SingularityDAO
    • Cosmos
      • Agoric
      • Aleph.im
      • Althea
      • Anatha
      • Anchor Protocol
      • Ankr
      • Antlia
      • Archway
      • Artiqox
      • Astro Canvas
      • Band Chain
      • BEPSwap
      • BiDAO
      • BitCanna
      • BitSong
      • Blockchainhelppro
      • BTU
      • Bytom
      • Bytom
      • Foundation
      • Cardchain
      • Carnot
      • Centaur
      • CHAI
      • Chainpoint
      • CodeChain
      • CoinSwap
      • Commercio Network
      • Cosmos Hub
      • Cyber
      • Datopia
      • Dawn
      • Decentr
      • DecentRandom
      • Demex
      • Desmos Network
      • Dfinance
      • Didcomauth
      • DREP Chain
      • Dulce + Allies
      • Eco
      • Electron
      • Epc Chain
      • Ercoin
      • Fetch AI
      • FirmaChain
      • FOAM
      • Gallactic
      • Gravity Bridge
      • Gravity Dex
      • Hash Gaurd
      • Ho Chain (the Force Chain)
      • HoneyWood
      • IDEP Network
      • Impact Data Consortium Chain
      • Injective Protocol
      • Internet of Impact
      • IRIS Hub
      • Juno
      • Kira Interchain Exchange
      • Konstellation
      • Kosu
      • Kvartalo Chain
      • Lambda
      • LCNEM
      • Left Gallery Registry
      • MakeOS
      • Maxon Row
      • Medibloc
      • MEDIBLOCK
      • Minter
      • Mir
      • MMX
      • Mooncake
      • NDAU
      • Noah City
      • NOMIC
      • Nym Protocol
      • OmniFlix Network
      • OneLedger
      • Onomy
      • Oraichain
      • Osmosis
      • Ourboros
      • Penumbra
      • Pocket Network
      • Polygon (Prev. Matic)
      • Pylons
      • Qredo
      • QuarkChain
      • Ren Protocol
      • Rizon
      • Saturn Money
      • Scynet
      • Secret Finance
      • Secret Network (prev. Enigma)
      • Shentu Chain
      • Sifchain
      • SmartPesa
      • Sommelier Finance
      • Sputnik Network
      • Starname (iov)
      • Stateset
      • Supernova
      • Tgrade
      • THORChain
      • Twilight
      • U Network
      • Unification WRK Oracle
      • WenChang
      • WeTrust
      • Xar Network
      • Zefi
    • Dfinity
      • Aedile
      • Agryo
      • Axon
      • crowdEats
      • Dank
      • DECKDECKGO
      • Entrepot
      • EVM On ICP
      • Fleek
      • ICKitties NFTs
      • ICNaming
      • ICMoji Origins
      • ICP Explorer
      • ICP Squad NFT
      • ICPSwap
      • ICPunks
      • ICSnakes
      • InfinitySwap
      • Lo-Fi Player
      • MetaSports Basketball
      • Mission is Possible
      • Motoko Playground
      • NFT Studio
      • Origyn
      • Osmosis
      • Plug
      • PokedStudio Bots
      • Rise of the Magni
      • Saga Taro
      • SLY
      • Sonic
      • Stoic Wallet
      • Sudograph
      • Terabethia
      • The Internet Computer Association
      • The Wall
      • Toniq Labs
      • Uniswap front end hosted
      • Wild and West NFTs
    • Elrond
      • Aerovek
      • Age of Zalmoxis
      • Angry Bears Club
      • Angry Penguins
      • Apes Launchpad
      • Aquaverse
      • Arda Run
      • Ascensive Assets
      • AshSwap
      • Beskar Dao
      • BH Network
      • BHero
      • Blok
      • BunnyVerse
      • Cantina Royale
      • Captain Planet
      • Carpathian Stake
      • Cats Mafia
      • CheckerChain
      • CLUB GORGON
      • Cybers In Action
      • Dead Rare
      • Dice
      • Disruptive Digital
      • Dragons Arena
      • DRIFTERS
      • E-Compass
      • eGold Jobs
      • Eldar
      • Elrond 2038
      • Elrond Apes
      • Elrond Bunny
      • Elrond Castle
      • Elrond Coin Flip
      • Elrond Gallery
      • Elrond Giants
      • Elrond Index
      • Elrond Lions Club
      • Elrond Mobsters
      • Elrond Monitor
      • Elrond NFT Swap
      • Elrond Punks
      • Elrond Scan
      • Elrond Voice
      • Elrond Warriorz
      • Elrond Wiki
      • ElrondCity
      • ElrondPartners
      • Elven Tools
      • Eneftor
      • ENFT DAO
      • Entity
      • Erd Nft
      • Erd360
      • ESDT Market
      • Frame It
      • Gaupa Labs
      • Helios Staking
      • High Street Wolf
      • HODLcards
      • Isengard Market
      • Istari Vision
      • J-Corp | Battle of Gods
      • JEXchange
      • Kahunuts
      • Krogan
      • Krogan Launchpad
      • Lightning Bolts
      • Lkmex Bet
      • LockedMEX
      • MADZ Alpacas
      • Maiar
      • Maiar Kart Racing
      • Maiar Launchpad
      • Mechanism Capital
      • MGStaking
      • Mice City Club
      • Middle Staking
      • Middleman.nft
      • Moon Mission
      • MyERD
      • Natural Born Degenz
      • Nifty Rex
      • Nuts Token
      • Odin DeFi Protocol
      • Omniscient Tools
      • Partner Staking
      • Pawn Whale
      • Plata Network
      • Prize-me
      • Proteo
      • QoWatt
      • Rariry Market
      • Realm of Karitha
      • RisaSoft
      • RosettaStake
      • Salvadorian Ape Club
      • Smart Chain Connection
      • Space Robots
      • Spark Digital Capital
      • Staking Agency
      • Stramosi
      • Subcarpati OG
      • Super Rare Bears
      • Superciety
      • Trust Staking
      • Tigers On Chain
      • The Palm Tree Network
      • The Faceless Many
      • The Art Coiner
      • Symbiosis
      • Vital Network
      • Validators
      • World Wide Wine
      • Woodstock
      • Whaley
      • Web3Pirates
      • WalletFP
      • XOXNO
      • ZoidPay
    • EoS
      • 0x Racers
      • Alcor
      • Atomic Assets
      • Atomic Market
      • Bank of Staked
      • Bapbet
      • BBS Market
      • BC Games
      • Bet Spider
      • BetHash
      • Candy Popduel
      • CETF
      • Chainzarena
      • CrossWorlds
      • Crypto Dynasty
      • Log out
      • Defi Box
      • Dolphin Swap
      • EOS Games
      • EOS Royale
      • Equilibrium
      • Evodex
      • Gen Pool
      • New Dex
      • Pizza
      • SportBet
      • Vigor
    • Hedera
      • DOVU
      • Hash Axis
      • Hashpack
      • Justpayme
      • Stader
    • IoTex
      • BurnDrop
      • Crypto Farmer
      • Cyclone
      • Hemes
      • IoTex Galaxy
      • IoTex Punks
      • IoTex Shiba
      • IoTube
      • Magic Land
      • Mimo Exchange
      • Mimo Swap
      • Multi Sender
      • Parrot Defi
      • Pixie Soccer
      • Sumotex
      • Swagull Finance
      • Treasureland
      • Unifi Protocol
      • Wow Swap
      • Zoom Swap
    • Polygon
      • 0x Universe
      • Ankr
      • AP Wine
      • Arche Network
      • Art.army
      • Artvatars
      • BattleVerse
      • Biconomy
      • BitQuery
      • Blockchain Game Alliance
      • Blocks United
      • Boring DAO
      • BTU Protocol
      • Cashaa
      • CatJumping
      • Cipher Masters
      • Coin League
      • Commitpool
      • Creaton
      • Cryptopunt
      • Definer
      • Dexkit
      • DSCVR.Finance
      • Emiswap
      • Entropyart AI
      • EthaLend
      • Everest
      • First One
      • Fully Rekt
      • ibetyou
      • IDEX
      • InstaDapp
      • Inverse Finance
      • Kattana
      • Kuku Token
      • Marginswap
      • Math Wallet
      • Meme
      • Metapass
      • Mobius Finance
      • Moonwolf
      • Mywish
      • Neon District
      • NFT Hub
      • NiftyGram
      • Noname DAO
      • Openlake
      • Polydefy
      • ProtonGaming
      • Potato Media
      • Polyquity
      • Qwala
      • Quadrant
      • Risk Harbor
      • Ricochet
      • Realm
      • Raze Network
      • Straming Fast
      • Straightfire
      • Standard Protocol
      • Solo Top
      • Satoshi City
      • Sakura Casino
      • Synergy of Serra
      • Swirge
      • Sushi Swap
      • USD Coin
      • Unreal Finance
      • Unilend
      • Vulcan Verse
      • Vodra
      • Verox
      • WildCards
      • Whale Street
      • Waypoint
      • Yin Finance
    • Ripple
      • 2sync
      • Alphacat
      • Arrington Capital
      • AsiaMTM Group
      • Atomic Wallet
      • B1X
      • Beachhead
      • Beeders
      • Bichip
      • BitPanda
      • Bitso
      • BitStickers
      • Bitvolo
      • BookcoinShop
      • Bronn Travel
      • Bullion79
      • Catalyst Corporate
      • CenterServ
      • Cinnamon
      • Codius
      • CoinJar
      • Coolwallet
      • Creative Click
      • Crypto Coffee
      • Crypto Whale Clothing
      • Cryptojaunt
      • Cuallix (ODL)
    • Solana
      • 01 Decentralized
      • Apricot Finance
      • Audius
      • CropperFinance
      • Dexlab
      • Francium
      • Grape Protocol
      • Holaplex
      • Jet Protocol
      • Lumos Exchange
      • Magic Eden
      • Mango
      • Metaplex
      • Orca
      • Port Finance
      • Raydium
      • Squads
      • Solsea
      • Solend
      • Solanart
      • Solanalysis
      • Serum
      • Saber
      • Tulip Protocol
      • Velas
    • Stellar
      • Anchor MXN
      • Anchor USD
      • Answap
      • ARF
      • Armenotech
      • BitGo
      • BitSo
      • Block Time
      • Blockdemon
      • Circle
      • Clic
      • Click Pesa
      • Community Fund
      • Dinaro
      • Dtransfer
      • Firefly
      • Franklin Templeton
      • Interstellar
      • Kunst21
      • Ledger
      • Ledgerads
      • Lightnet
      • Lockerx
      • Mintx
      • Mobie
      • Moneyclick
      • Moneygram
      • Mozart
      • Mvpworks
      • Nicetrade
      • Nodle
      • Ownbit
      • Pago Biccos
      • Paymnt
      • Payscript
      • Rehive
      • Revelry
      • Ripple Fox
      • SatoshiPay
      • Securrency
      • Settle
      • SHARIYAH REVIEW BUREAU
      • Simba
      • Socuply
      • Solarwallet
      • Stablex
      • Stably
      • Stellar Expert
      • Suitebox
      • Synced
      • Tala
      • Tamil Token
      • Task
      • Vonder Heydt
      • Wyre
      • Zagg network
    • Tezos
      • Archetype
      • Bakebuddy
      • Bazaar
      • Beacon
      • Better Call Dev
      • Byteblock NFT
      • CCP Games
      • Chinstrap
      • Crunchy
      • CTez
      • DNS.xyz
      • Electis
      • Emergents
      • FlameDefi
      • FXHash
      • Gap Threads
      • Gravity
      • HENTO
      • InterPop
      • Juster
      • Kalamint
      • Kiln
      • LigoLang
      • Liquidity Baking
      • Lugh
      • MatterDeFi
      • Mavyrk
      • My Tezos Defi
      • Objkt
      • OneOf
      • PixelPotus
      • Play with BRIO
      • Plenty
      • Quipuswap
      • Rarible
      • Rocket Launchpad
      • Smartlink
      • SmartPy
      • SpicySwap
      • Stakenow
      • Taquito
      • TezBlock
      • TezID
      • Tezos Snapshots
      • Tezotopia
      • Teztnets
      • TZColors
      • TzFlow
      • Ubisoft Quartz
      • USDS
      • USDTZ
      • VerticalCrypto Art
      • WRAP
      • XP.NETWORK
      • Youves
    • Tron
      • 0x Warriors
      • 0xRacers
      • 4Freedom
      • 888starz
      • Alpha Tron
      • Bananacoin
      • BSG
      • Chain Zarena
      • Crycade
      • Cukies
      • Devikins
      • Exon
      • Frag Token
      • GalaxyOnline
      • HodlST
      • Intercrone Swap
      • Just Lend
      • Just Money
      • Kraftly
      • Luminous
      • MrWebfinance
      • Oikos
      • Social Swap
      • Starway
      • Sunswap
      • T2X
      • TBlocksW
      • Tofu Swap
      • Transit Finance
      • Tron Bulk Sender
      • Tron Bull Club
      • Tron Holders
      • Tron Prime
      • TronFarmers
      • TronSweep
      • Trunswap
      • Unifi Protocol
      • Unswap
      • Void Swap
      • Zethyr
      • Zethyr Finance
    • XDC
      • Comtech Gold
      • DATACHAIN
      • Globiance Exchange
      • LedgerMail
      • NOTA
      • Plugin
      • StorX
      • XSwap Protocol (XSP)
  • Zephyrnet
  • AmpliFi PR
  • Plato Support
  • Terms of Use
  • Privacy Policy
  • Cookies Policy
  • DMCA Notice
  • GDPR
Access Amazon Athena in your applications using the WebSocket API
AWS Big Data

Access Amazon Athena in your applications using the WebSocket API

Big DataTime Stamp: March 2, 2023 5:10 PM
Source Node: 1988908
Republished By Plato

Republished By Plato

Followers: 0

Modern applications are built with modular independent components or microservices that rely on an API framework to communicate with services. Many organizations are building data lakes to store and analyze large volumes of structured, semi-structured, and unstructured data. In addition, many teams are moving towards a data mesh architecture, which requires them to expose their data sets as easily consumable data products. To accomplish this on AWS, organizations use Amazon Simple Storage Service (Amazon S3) to provide cheap and reliable object storage to house their datasets. To enable interactive querying and analyzing their data in place using familiar SQL syntax, many teams are turning to Amazon Athena. Athena is an interactive query service that is used by modern applications to query large volumes of data on an S3 data lake using standard SQL.

When working with SQL databases, application developers and business analysts are most familiar with simple permissions management and synchronous query-response protocols—if a user has permissions to submit a query, they do so and receive the results from the server when the query is complete. Directly accessing Athena APIs, for example when integrating with a custom web application, requires an AWS Identity and Access Management (IAM) role for the applications, and requires you to build a custom process to poll for query completion asynchronously. The IAM role needs access to run Athena API calls, as well as S3 permissions to retrieve the Athena output stored on Amazon S3. Polling for Athena query completion when performed at several intervals could result in increased latency from the client perspective.

In this post, we present a solution that can integrate with your front-end application to query data from Amazon S3 using an Athena synchronous API invocation. With this solution, you can add a layer of abstraction to your application on direct Athena API calls and promote the access using the WebSocket API developed with Amazon API Gateway. The query results are returned back to the application as Amazon S3 presigned URLs.

Overview of solution

For illustration purposes, this post builds a COVID-19 data lake with a WebSocket API to handle Athena queries. Your application can invoke the WebSocket API to pull the data from Amazon S3 using an Athena SQL query, and the WebSocket API returns the JSON response with the presigned Amazon S3 URL. The application needs to parse the JSON message to read the presigned URL, download the data to local, and report the data back to the front end.

We use AWS Step Functions to poll the Athena query run. When the query is complete, Step Functions invokes an AWS Lambda function to generate the presigned URL and send the request back to the application.

The application doesn’t require direct access to Athena, just access to invoke the API. When using this solution, you should secure the API following AWS guidelines. For more information, refer to Controlling and managing access to a WebSocket API in API Gateway.

The following diagram summarizes the architecture, key components, and interactions in the solution.

Architecture diagram for the Athena WebSocket API. The user connects to the API through API Gateway. API Gateway uses Lambda and DynamoDB to store session data. SQL queries are routed to Amazon Athena and a Step Function polls for query status and returns the results back to the user.

The application is composed of the WebSocket API in API Gateway, which handles the connectivity between the client and Athena. A client application using the framework can submit the Athena SQL query and get back the presigned URL containing the query results data. The workflow includes the following steps:

  1. The application invokes the WebSocket API connection.
  2. A Lambda function is invoked to initiate the connection. The connection ID is stored in an Amazon DynamoDB
  3. When the client application is connected, it can invoke the runquery action, which invokes the RunQuery Lambda function.
  4. The function first runs the Athena query.
  5. When the query is started, the function checks the status and uses Step Functions to track the query progress.
  6. Step Functions invokes the third Lambda function to read the processed Athena results and get the presigned S3 URL. Failed messages are routed to an Amazon Simple Notification Service (Amazon SNS) topic, which you can subscribe to.
  7. The presigned URL is returned to the client application.
  8. The connection is closed using the OnDisconnect function.

The RunQuery Lambda function runs the Athena query using the start_query_execution request:

def run_query(client, query): """This function executes and sends the query request to Athena.""" response = client.start_query_execution( QueryString=query, QueryExecutionContext={ 'Database': params['Database'] }, ResultConfiguration={ 'OutputLocation': f's3://{params["BucketName"]}/{params["OutputDir"]}/' }, WorkGroup=params["WorkGroup"] ) return response

The Amazon S3 presigned URL is generated by invoking the generate_presigned_url request with the bucket and key information that hosts the Athena results. The code hard codes the presigner expiration to 120 seconds, which is configurable in the function input parameter PreSignerExpireSeconds. See the following code:

def signed_get_url(event): s3 = boto3.client('s3', region_name=params['Region'], config=Config(signature_version='s3v4')) # User provided body with object info bodyData = json.loads(event['body']) try: url = s3.generate_presigned_url( ClientMethod='get_object', Params={ 'Bucket': params['BucketName'], 'Key': bodyData["ObjectName"] }, ExpiresIn=int(params['PreSignerExpireSeconds']) ) body = {'PreSignedUrl': url, 'ExpiresIn': params['PreSignerExpireSeconds']} response = { 'statusCode': 200, 'body': json.dumps(body), 'headers': cors.global_returns["Allow Origin Header"] } logger.info(f"[MESSAGE] Response for PreSignedURL: {response}") except Exception as e: logger.exception(f"[MESSAGE] Unable to generate URL: {str(e)}") response = { 'statusCode': 502, 'body': 'Unable to generate PreSignedUrl', 'headers': cors.global_returns["Allow Origin Header"] } return response

Prerequisites

This post assumes you have the following:

  • Access to an AWS account
  • Permissions to create an AWS CloudFormation stack
  • Permissions to create the following resources:
    • AWS Glue catalog databases and tables
    • API Gateway
    • Lambda function
    • IAM roles
    • Step Functions state machine
    • SNS topic
    • DynamoDB table

Enable the WebSocket API

To enable the WebSocket API of API Gateway, complete the following steps:

  1. Configure the Athena dataset.

To make the data from the AWS COVID-19 data lake available in the Data Catalog in your AWS account, create a CloudFormation stack using the following template. If you’re signed in to your AWS account, the following page fills out most of the stack creation form for you. All you need to do is choose Create stack. For instructions on creating a CloudFormation stack, see Getting started with AWS CloudFormation.

You can also use an existing Athena database to query, in which case you need to update the stack parameters.

  1. Sign in to the Athena console.

If this is the first time you’re using Athena, you must specify a query result location on Amazon S3. For more information about querying and accessing the data from Athena, see A public data lake for analysis of COVID-19 data.

  1. Configure the WebSocket framework using the following page, which deploys the API infrastructure using AWS Serverless Application Model (AWS SAM).
  2. Update the parameters pBucketName with the S3 bucket (in the us-east-2 region) that stores the Athena results and also update the database if you want to query an existing database.
  3. Select the check box to acknowledge creation of IAM roles and choose Deploy.

At a high level, these are the primary resources deployed by the application template:

  • An API Gateway with routes to the connect, disconnect, and query Lambda functions. Note that the API Gateway deployed with this sample doesn’t implement authentication and authorization. We recommend that you implement authentication and authorization before deploying into a production environment. Refer to Controlling and managing access to a WebSocket API in API Gateway to understand how to implement these security controls.
  • A DynamoDB table for tracking client connections.
  • Lambda functions to manage connection states using DynamoDB.
  • A Lambda function to run the query and start the step function. The function includes an associated IAM role and policies with permissions to Step Functions, the AWS Glue Data Catalog, Athena, AWS Key Management Service (AWS KMS), and Amazon S3. Note that the Lambda execution role gives read access to the Data Catalog and S3 bucket that you specify in the deployment parameters. We recommend that you don’t include a catalog that contains sensitive data without first understanding the impacts and implementing additional security controls.
  • A Lambda function with associated permissions to poll for the query results and return the presigned URL to the client.
  • A Step Functions state machine with associated permissions to run the polling Lambda function and send API notifications using Amazon SNS.

Test the setup

To test the WebSocket API, you can use wscat, an open-source command line tool.

  1. Install NPM.
  2. Install wscat:
$ npm install -g wscat

  1. On the console, connect to your published API endpoint by running the following command. The full URI to use can be found on the AWS CloudFormation console by finding the WebSocketURI output in the serverlessrepo-aws-app-athena-websocket-integration stack that was deployed by the AWS SAM application you deployed previously.
$ wscat -c wss://{YOUR-API-ID}.execute-api.{YOUR-REGION}.amazonaws.com/{STAGE}

  1. To test the runquery function, send a JSON message like the following example. This triggers the state machine to run your SQL query using Athena and, using Lambda, return an S3 presigned URL to your client, which you can access to download the query results. Note that the API accepts any valid Athena query. Additional query validation could be added to the internal Lambda function if desired.
$ wscat -c wss://{YOUR-API-ID}.execute-api.{YOUR-REGION}.amazonaws.com/{STAGE}
Connected (press CTRL+C to quit)
> {"action":"runquery", "data":"SELECT * FROM "covid-19".country_codes limit 5"}
< {"pre-signed-url": "https://xxx-s3.amazonaws.com/athena_api_access_results/xxxxx.csv?"}

  1. Copy the value for pre-signed-url and enter it into your browser window to access the results.

The presigned URL provides you temporary credentials to download the query results. For more information, refer to Using presigned URLs. This process can be integrated into a front-end web application to automatically download and display the results of the query.

Clean up

To avoid incurring ongoing charges, delete the resources you provisioned by deleting the CloudFormation stacks CovidLakeStacks and serverlessrepo-AthenaWebSocketIntegration via the AWS CloudFormation console. For detailed instructions, refer to the cleanup sections in the starter kit README files in the GitHub repo.

Conclusion

In this post, we showed how to integrate your application with Athena using the WebSocket API. We have included a GitHub repo for you to understand the code and modify it per your application requirements, to get the full benefits of the solution. We encourage you to further explore the features of the API Gateway WebSocket API to add in security using authorizers, view live invocations using dashboards, and expand the framework for more routes on action request.

Let’s stay in touch via the GitHub repo.


About the Authors

Abhi Sodhani is a Sr. AI/ML Solutions Architect at AWS. He helps customers with a wide range of solutions, including machine leaning, artificial intelligence, data lakes, data warehousing, and data visualization. Outside of work, he is passionate about books, yoga, and travel.

Robin Zimmerman's HeadshotRobin Zimmerman is a Data and ML Engineer with AWS Professional Services. He works with AWS enterprise customers to develop systems to extract value from large volumes of data using AWS data, analytics, and machine learning services. When he’s not working, you’ll probably find him in the mountains—rock climbing, skiing, mountain biking, or out on whatever other adventure he can dream up.

  • SEO Powered Content & PR Distribution. Get Amplified Today.
  • Platoblockchain. Web3 Metaverse Intelligence. Knowledge Amplified. Access Here.
  • Source: https://aws.amazon.com/blogs/big-data/access-amazon-athena-in-your-applications-using-the-websocket-api/

Time Stamp: March 2, 2023

  • 10
  • 100
  • 7
  • a
  • About
  • Accepts
  • access
  • accessing
  • accomplish
  • Account
  • acknowledge
  • Action
  • added
  • addition
  • Additional
  • Adventure
  • AI/ML
  • All
  • Amazon
  • Amazon Athena
  • analysis
  • Analysts
  • analytics
  • analyze
  • analyzing
  • and
  • api
  • APIs
  • Application
  • applications
  • architecture
  • artificial
  • artificial intelligence
  • associated
  • Authentication
  • authorization
  • automatically
  • available
  • avoid
  • AWS
  • AWS CloudFormation
  • AWS Glue
  • AWS Professional Services
  • back
  • before
  • benefits
  • between
  • body
  • Books
  • Box
  • browser
  • build
  • built
  • business
  • Calls
  • case
  • catalog
  • charges
  • cheap
  • check
  • Checks
  • Choose
  • client
  • Climbing
  • closed
  • code
  • Codes
  • communicate
  • complete
  • completion
  • components
  • composed
  • Connect
  • connected
  • connection
  • Connections
  • Connectivity
  • connects
  • Console
  • contains
  • controls
  • could
  • COVID-19
  • create
  • Creating
  • creation
  • Credentials
  • custom
  • Customers
  • data
  • Data Lake
  • data sets
  • data visualization
  • Database
  • databases
  • datasets
  • deployed
  • deploying
  • deployment
  • deploys
  • detailed
  • develop
  • developed
  • developers
  • direct
  • Direct access
  • directly
  • Display
  • Doesn’t
  • Dont
  • download
  • dream
  • easily
  • enable
  • encourage
  • Endpoint
  • engineer
  • Enter
  • Enterprise
  • enterprise customers
  • Environment
  • Ether (ETH)
  • Event
  • example
  • Except
  • exception
  • Executes
  • execution
  • existing
  • Expand
  • explore
  • extract
  • Failed
  • familiar
  • Features
  • Files
  • Find
  • finding
  • First
  • first time
  • following
  • form
  • found
  • Framework
  • from
  • front
  • Front end
  • full
  • function
  • functions
  • further
  • gateway
  • generate
  • generated
  • get
  • gives
  • handle
  • Handles
  • Hard
  • headers
  • helps
  • High
  • hosts
  • House
  • How
  • How To
  • HTML
  • HTTPS
  • IAM
  • Identity
  • Impacts
  • implement
  • implementing
  • in
  • include
  • included
  • includes
  • Including
  • increased
  • independent
  • info
  • information
  • Infrastructure
  • initiate
  • input
  • install
  • instructions
  • integrate
  • integrated
  • Integrating
  • Intelligence
  • interactions
  • interactive
  • internal
  • invokes
  • IT
  • json
  • Key
  • kit
  • lake
  • large
  • Latency
  • layer
  • learning
  • Level
  • LIMIT
  • Line
  • live
  • local
  • location
  • machine
  • machine learning
  • make
  • manage
  • management
  • managing
  • many
  • message
  • messages
  • microservices
  • ML
  • Modern
  • modify
  • modular
  • more
  • most
  • Mountain
  • moving
  • Need
  • needs
  • notification
  • notifications
  • object
  • Object Storage
  • ongoing
  • open source
  • organizations
  • Origin
  • Other
  • outside
  • parameter
  • parameters
  • passionate
  • permissions
  • perspective
  • Place
  • plato
  • Plato Data Intelligence
  • PlatoData
  • policies
  • poll
  • Post
  • present
  • press
  • previously
  • primary
  • probably
  • process
  • Production
  • Products
  • professional
  • Progress
  • promote
  • provide
  • provided
  • provides
  • public
  • published
  • purposes
  • range
  • Read
  • receive
  • recommend
  • region
  • reliable
  • rely
  • report
  • request
  • require
  • Requirements
  • requires
  • Resources
  • response
  • result
  • Results
  • return
  • returns
  • Robin
  • Role
  • roles
  • routes
  • Run
  • running
  • Sam
  • seconds
  • sections
  • secure
  • security
  • sensitive
  • Serverless
  • service
  • Services
  • session
  • Sets
  • several
  • should
  • signed
  • Simple
  • So
  • solution
  • Solutions
  • SQL
  • stack
  • Stacks
  • standard
  • start
  • started
  • State
  • States
  • Status
  • stay
  • Step
  • Steps
  • storage
  • store
  • stored
  • stores
  • structured
  • submit
  • subscribe
  • syntax
  • Systems
  • table
  • teams
  • template
  • temporary
  • test
  • The
  • The State
  • their
  • Third
  • Through
  • time
  • to
  • tool
  • topic
  • touch
  • towards
  • track
  • Tracking
  • travel
  • Turning
  • understand
  • understanding
  • Update
  • URI
  • URL
  • use
  • User
  • validation
  • value
  • via
  • View
  • visualization
  • volumes
  • Warehousing
  • web
  • Web application
  • websocket
  • which
  • wide
  • Wide range
  • without
  • Work
  • workflow
  • Workgroup
  • working
  • works
  • Yoga
  • Your
  • zephyrnet

More from AWS Big Data

Manage users and group memberships on Amazon QuickSight using SCIM events generated in IAM Identity Center with Azure AD

Manage users and group memberships on Amazon QuickSight using SCIM events generated in IAM Identity Center with Azure AD

Source Cluster:
AWS Big Data
Source Node: 2026184
Time Stamp: Mar 22, 2023
Deep dive into the AWS ProServe Hadoop Migration Delivery Kit TCO tool

Deep dive into the AWS ProServe Hadoop Migration Delivery Kit TCO tool

Source Cluster:
AWS Big Data
Source Node: 1941984
Time Stamp: Feb 6, 2023
How to get best price performance from your Amazon Redshift Data Sharing deployment

How to get best price performance from your Amazon Redshift Data Sharing deployment

Source Cluster:
AWS Big Data
Source Node: 1779621
Time Stamp: Dec 20, 2022
Accelerating revenue growth with real-time analytics: Poshmark’s journey

Accelerating revenue growth with real-time analytics: Poshmark’s journey

Source Cluster:
AWS Big Data
Source Node: 2021482
Time Stamp: Mar 20, 2023
Create more partitions and retain data for longer in your MSK Serverless clusters

Create more partitions and retain data for longer in your MSK Serverless clusters

Source Cluster:
AWS Big Data
Source Node: 1929683
Time Stamp: Jan 30, 2023
Enable cross-account sharing with direct IAM principals using AWS Lake Formation Tags

Enable cross-account sharing with direct IAM principals using AWS Lake Formation Tags

Source Cluster:
AWS Big Data
Source Node: 1903132
Time Stamp: Jan 17, 2023
AWS Lake Formation 2022 year in review

AWS Lake Formation 2022 year in review

Source Cluster:
AWS Big Data
Source Node: 1932905
Time Stamp: Jan 31, 2023
Top analytics announcements of AWS re:Invent 2022

Top analytics announcements of AWS re:Invent 2022

Source Cluster:
AWS Big Data
Source Node: 1778249
Time Stamp: Dec 19, 2022
Green Flag uses Amazon QuickSight to democratize data and enable self-serve insights to all employees

Green Flag uses Amazon QuickSight to democratize data and enable self-serve insights to all employees

Source Cluster:
AWS Big Data
Source Node: 1868947
Time Stamp: Jan 5, 2023
Manage your data warehouse cost allocations with Amazon Redshift Serverless tagging

Manage your data warehouse cost allocations with Amazon Redshift Serverless tagging

Source Cluster:
AWS Big Data
Source Node: 2035837
Time Stamp: Mar 27, 2023
Automate schema evolution at scale with Apache Hudi in AWS Glue

Automate schema evolution at scale with Apache Hudi in AWS Glue

Source Cluster:
AWS Big Data
Source Node: 1945413
Time Stamp: Feb 7, 2023
Impact of Infrastructure failures on shard in Amazon OpenSearch Service

Impact of Infrastructure failures on shard in Amazon OpenSearch Service

Source Cluster:
AWS Big Data
Source Node: 1783553
Time Stamp: Dec 22, 2022

About Us

  • Open Intelligence
  • Culture
  • Data Ecosystem
  • W3 Disruption
  • Team

Vertical Search & Ai

  • The Evolution of Search
  • What is Vertical Search
  • What is Vertical Intelligence
  • Ai Data Defragmentation
  • Data As A Service (DaaS)

Platform

  • Platform Features
  • Plato Analytics Reporting
  • PlatoAi NLP Engine
  • Sectors / Verticals
  • How Plato Works

Stay Connected

  • Governance
  • Register
  • Live Chat
  • Connect
  • Social

Account

  • Register
  • Packages
  • Enterprise
  • Listing
  • Partnerships
null
null

Copyright @ 2022 Plato Technologies Inc