[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-253986-105":53,"doc-detail-253986-en":126},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","twitter-analytics-web-service-recitation-07-2","Twitter Analytics Web Service - Recitation 07-2","","Team project briefing for a Twitter data analytics assignment using approximately 1TB of Twitter data. The work focuses on building a high-performance web service that supports tweet analysis, including exploration of web frameworks and optimization of storage/database systems. The plan is organized into three phases with increasing scope, covering different combinations of MySQL and HBase and later managed cloud services, alongside an implementation task involving blockchain verification and updates. It also provides foundational blockchain concepts and a Q1 example covering block and transaction validity plus proof-of-work and RSA-signed transfers and reward rules.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/twitter-analytics-web-service-recitation-07-2/253986/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/twitter-analytics-web-service-recitation-07-2/253986.png","ImageObject",442,249,{"name":88,"@type":89},"eBook King","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-11-01","2026-09-13",true,{"@type":98,"interactionType":99,"userInteractionCount":25},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What is the main deliverable of the team project?","Question",{"text":108,"@type":109},"Build a performant web service to analyze tweets from around 1TB of Twitter data, with attention to framework and database/storage performance.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"How does the project scope change across phases?",{"text":113,"@type":109},"Phase 1 uses Q1 and Q2 with MySQL and HBase; Phase 2 expands to Q1 plus Q2 & Q3 with MySQL and HBase; Phase 3 includes Q1 and Q2 & Q3 implemented using managed cloud services.",{"name":115,"@type":106,"acceptedAnswer":116},"What does Q1 require regarding blockchain processing?",{"text":117,"@type":109},"Validate blocks and transactions for correctness, find a proof-of-work hash meeting the target requirement, then add the completed transaction and the new block into the blockchain.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},253986,1791477549,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":25,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":135,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":141},962088006270,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","TEAM PROJECT Twitter Data Analytics  \nTeam Project  \nTwitter Analytics Web Service  \n• Given ~1TB of Twitter data  \n• Build a performant web service to analyze tweets  \n• Explore web frameworks  \n• Explore and optimize database systems  \nWeb-tier  \nStorage-tier  \nTeam Project  \n● Phase 1:  \n○ Q1  \n○ Q2 (MySQL AND HBase)  \nInput your team account ID and GitHub username on TPZ  \n● Phase 2  \n○ Q1  \n○ Q2 & Q3 (MySQL AND HBase)  \n● Phase 3  \n○ Q1 , Q2, & Q3 (Managed Cloud Services)  \nQuery 1-CloudCoin  \nSubmission Budget: 0.70/h  \n● Query 1 does not require a database (storage tier)  \n● Implement a web service that verifies and updates blockchains.  \n● You must explore different web frameworks  \n○ Get at least 2 different web frameworks working  \n○ Select the framework with the better performance  \n○ Provide evidence of your experimentations  \n○ Read the report template first!!!  \nWhat is a blockchain, though?  \n• Data structure that supports digital currency.  \n• Designed to be untamperable.  \n• Distributed. Shared among all user nodes.  \n– Decentralized  \n– Fault Tolerant.  \n• Consists of chained blocks.  \n• Each block consists of transactions.  \nQ1 Example  \n• Q1 input:  \nQ1 Example  \n• Q1 input:  \n– Several blocks, each with numerous transactions  \n– A new transaction to be processed by you  \n• Q1 output:  \n– Check each block and transaction for validity  \n– If valid, find a POW that satisfy the hash requirement.  \n– Add the completed transaction and new block into the blockchain.  \n(You could verify your understanding using our reference server)  \nQ1 Example  \n• Block:  \n– Created by “miners”.  \n– Has a list of transactions.  \n– Block hash encapsulates all transaction info and block Metadata, as well as the hash of the previous block, plus a PoW chosen by the miner.  \n– Miner finds a PoW (Proof of Work) through brute forcing, to make the block hash lexicographically smaller than the hash target.  \n– Block hash formula:  \nQ1 Example  \n• Transfer Transaction:  \n– Signature is computed with hash value using RSA. sig=RSA(hash, key)  \n– Hash value computed using all info in the blue box.  \n– Transaction hash formula:  \nQ1 Example  \n• Reward Transaction:  \n– Special type of transaction.  \n– Created by miner.  \n– Is the last transaction in the block’s transaction list.  \n– Reward amount determined by block id, 500000000 for the first two blocks, halved for any two following blocks.","cbCais6ihi86RJYv","https://ap.wps.com/l/cbCais6ihi86RJYv","pdf",1467123,22,"English","# Team Project\n## Phase 1\n## Phase 2\n## Phase 3\n# Blockchain Background\n## What is a blockchain?\n# Q1 Example","[{\"question\":\"What is the main deliverable of the team project?\",\"answer\":\"Build a performant web service to analyze tweets from around 1TB of Twitter data, with attention to framework and database/storage performance.\"},{\"question\":\"How does the project scope change across phases?\",\"answer\":\"Phase 1 uses Q1 and Q2 with MySQL and HBase; Phase 2 expands to Q1 plus Q2 \\u0026 Q3 with MySQL and HBase; Phase 3 includes Q1 and Q2 \\u0026 Q3 implemented using managed cloud services.\"},{\"question\":\"What does Q1 require regarding blockchain processing?\",\"answer\":\"Validate blocks and transactions for correctness, find a proof-of-work hash meeting the target requirement, then add the completed transaction and the new block into the blockchain.\"}]","Twitter Analytics Web Service - Recitation 07-2 | PDF",1789272658,8]