Professional Heroku® Programming

Total Page:16

File Type:pdf, Size:1020Kb

Professional Heroku® Programming ffirs.indd i 1/10/2013 1:46:29 PM PROFESSIONAL HEROKU® PROGRAMMING INTRODUCTION . xxv PART I AN OVERVIEW OF HEROKU CHAPTER 1 How Heroku Works . 3 CHAPTER 2 Architectural Considerations . .17 CHAPTER 3 Porting Your Applications to Heroku . 45 PART II CREATING AND MANAGING HEROKU APPLICATIONS CHAPTER 4 Deploying Your Applications to Heroku . 73 CHAPTER 5 Managing Releases with Heroku . 89 CHAPTER 6 Working with Add-Ons . 115 CHAPTER 7 Managing, Monitoring, and Scaling Your Heroku Applications . 133 PART III USING A DATA STORE WITH YOUR HEROKU APPLICATIONS CHAPTER 8 Using Heroku Postgres as a Data Store for Your Heroku Applications . 157 CHAPTER 9 Using Database.com as a Data Store for Your Heroku Applications . .181 CHAPTER 10 Using Third-Party Data Stores for Your Heroku Applications . .207 PART IV PROGRAMMING ON HEROKU’S POLYGLOT PLATFORM CHAPTER 11 Developing with Ruby . .233 CHAPTER 12 Developing with Java . 267 CHAPTER 13 Developing with Other Supported Languages . 301 CHAPTER 14 Understanding Buildpacks . 351 PART V CREATING A NEW GENERATION OF HEROKU APPLICATIONS CHAPTER 15 Building Mobile Applications with Heroku . 383 CHAPTER 16 Building Social Applications with Heroku . 411 APPENDIX Additional Resources . 445 INDEX . 469 ffirs.indd i 1/10/2013 1:46:29 PM ffirs.indd ii 1/10/2013 1:46:30 PM PROFESSIONAL Heroku® Programming ffirs.indd iii 1/10/2013 1:46:30 PM ffirs.indd iv 1/10/2013 1:46:30 PM PROFESSIONAL Heroku® Programming Chris Kemp Brad Gyger John Wiley & Sons, Ltd. ffirs.indd v 1/10/2013 1:46:30 PM © 2013 John Wiley & Sons, Ltd. Registered offi ce John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex, PO19 8SQ, United Kingdom For details of our global editorial offi ces, for customer services and for information about how to apply for permission to reuse the copyright material in this book please see our website at www.wiley.com. The right of the author to be identifi ed as the author of this work has been asserted in accordance with the Copyright, Designs and Patents Act 1988. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, except as permitted by the UK Copyright, Designs and Patents Act 1988, without the prior permission of the publisher. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Designations used by companies to distinguish their products are often claimed as trademarks. All brand names and product names used in this book are trade names, service marks, trademarks or registered trademarks of their respective owners. The publisher is not associated with any product or vendor mentioned in this book. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold on the understanding that the publisher is not engaged in rendering professional services. If professional advice or other expert assistance is required, the services of a competent professional should be sought. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifi cally disclaim all warranties, including without limitation warranties of fi tness for a particular purpose. No warranty may be created or extended by sales or pro- motional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the pub- lisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read. Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affi liates, in the United States and other countries, and may not be used without written permission. Heroku is a registered trademark of Salesforce.com, Inc. All other trademarks are the property of their respective owners. John Wiley & Sons, Ltd. is not associated with any product or vendor mentioned in this book. Heroku product screenshots courtesy of Heroku, Inc. A catalogue record for this book is available from the British Library. 978-1-118-50899-2 (paperback) 978-1-118-50901-2 (ebook) 978-1-118-50902-9 (ebook) 978-1-118-50903-6 (ebook) Set in 9.5 /12 Sabon LT Std Roman, by MPS Limited, Chennai Printed in the United States by Bind-Rite ffirs.indd vi 1/10/2013 1:46:31 PM To my fi ancée, Fiona, whose support and inspiration made writing this book possible; and my parents, Don and Vlasta, who gave me the opportunities throughout my life that made this and all of my achievements possible. —Chris To my wife, Nabila; my son, Cameron; and my parents, Roger and Judy. Without you all this wouldn’t have been possible. —Brad ffirs.indd vii 1/10/2013 1:46:31 PM ffirs.indd viii 1/10/2013 1:46:31 PM ABOUT THE AUTHORS CHRIS KEMP is a cloud architect, innovator, and entrepreneur with experience developing software in a number of languages. The bulk of his development experience is with PHP, Java, and the Salesforce Platform. He started a software development consultancy, Vandelay Enterprises, at the age of 15, developing applications, mostly on the LAMP stack, for customers around the world. Chris then moved to the fast-growing Toronto start-up, I Love Rewards (now Achievers), where he developed rewards and recognition software in PHP and Java, before joining Salesforce.com. Chris currently works out of Salesforce.com’s Toronto offi ce, as a Senior Solution Engineer on the Advanced Technical Solutions team, an international team of trusted pre-sales advisors and architects. He is the worldwide leader of the Heroku Ambassador group, a team of leading Heroku experts in the company. Chris has developed a number of open source projects in Apex and Visualforce, including the wildly popular Cloud Swarm application. He is a named inventor on seven patent applications for innovations developed at Salesforce.com. Chris holds a B.Sc. in Computer Science (Software Engineering specialist, 0T4) from the University of Toronto. BRAD GYGER has extensive experience with various development platforms, including Heroku. Early in his career, he focused on Java application stacks at Sun Microsystems and then Oracle, and later migrated to the cloud, fi rst working at platform provider Engine Yard, and then Heroku. Brad currently leads the Customer Advocacy team at Heroku, where he is tasked with the success of customer applications running on the platform. This requires working knowledge of all supported application architectures, languages, frameworks, and tools within the Heroku universe. He works with customers on a daily basis to ensure that their applications are implemented optimally on the platform. During his career, Brad has worked with thousands of customer applications and made sure each one was as successful as possible. Brad holds a Bachelor of Science degree from Indiana University. He and his family currently reside in the San Francisco Bay Area. ffirs.indd ix 1/10/2013 1:46:31 PM ABOUT THE TECHNICAL EDITOR GREG NOKES has more than 20 years of experience in systems engineering, ranging from designing wide area networks to helping high-traffi c web applications scale successfully. He has successfully lead customer-facing as well as highly technical teams on a variety of projects. He is fl uent in several technologies, including cutting-edge web application servers and deployment tools. Currently, Greg is the Lead Technical Account Manager at Heroku, the premier PaaS provider. In this role, he helps a large and dynamic group of companies learn the best practices for optimizing their applications, as well as assists with technical and architectural advice. Greg enjoys hiking, paintball, and soaking up the surroundings in the beautiful Puget Sound area of the Pacifi c Northwest. ffirs.indd x 1/10/2013 1:46:31 PM CREDITS VP CONSUMER AND TECHNOLOGY PROJECT EDITOR PUBLISHING DIRECTOR John Sleeva Michelle Leete COPY EDITOR ASSOCIATE DIRECTOR—BOOK CONTENT Luann Rouff MANAGEMENT Martin Tribe TECHNICAL EDITOR Greg Nokes ASSOCIATE PUBLISHER Chris Webb PRODUCTION EDITOR Kathleen Wisor ASSISTANT EDITOR Ellie Scott PROOFREADER Nancy Carrasco ASSOCIATE MARKETING DIRECTOR Louise Breinholt INDEXER Jack Lewis MARKETING MANAGER Lorna Mein COVER DESIGNER LeAndra Young SENIOR MARKETING EXECUTIVE Kate Parrett COVER IMAGE © boboling / iStockphoto EDITORIAL MANAGER Jodi Jensen SENIOR PROJECT EDITOR Sara Shlaer ffirs.indd xi 1/10/2013 1:46:31 PM ffirs.indd xii 1/10/2013 1:46:31 PM ACKNOWLEDGMENTS THIS BOOK COULD NOT HAVE BEEN POSSIBLE without the vision and incredible dedication from the uber-smart founders and team at Heroku in developing such an amazing technology and making it better every day. Salesforce.com’s senior leadership team, especially Marc Benioff, must be thanked for bringing Heroku into the Salesforce.com family. The team at Wiley, including Chris Webb, John Sleeva, Luann Rouff, Kate Parrett, Lorna Mein, and Ellie Scott, have done an outstanding job with all the hard work behind the scenes to make this book the best it can be.
Recommended publications
  • Google Is a Strong Performer in Enterprise Public Cloud Platforms Excerpted from the Forrester Wave™: Enterprise Public Cloud Platforms, Q4 2014 by John R
    FOR CIOS DECEMBER 29, 2014 Google Is A Strong Performer In Enterprise Public Cloud Platforms Excerpted From The Forrester Wave™: Enterprise Public Cloud Platforms, Q4 2014 by John R. Rymer and James Staten with Peter Burris, Christopher Mines, and Dominique Whittaker GOOGLE, NOW A FULL-SERVICE PLATFORM, IS RUNNING TO CATCH THE LEADERS Since our last analysis, Google has made significant improvements to its cloud platform — adding an IaaS service, innovated with new big data solutions (based on its homegrown dremel architecture), and added partners. Google is popular among web developers — we estimate that it has between 10,000 and 99,000 customers. But Google Cloud Platform lacks several key certifications, monitoring and security controls, and application services important to CIOs and provided by AWS and Microsoft.1 Google has also been slow to position its cloud platform as the home for applications that want to leverage the broad set of Google services such as Android, AdSense, Search, Maps, and so many other technologies. Look for that to be a key focus in 2015, and for a faster cadence of new features. Forrester Wave™: Enterprise Public Cloud Forrester Wave™: Enterprise Public Cloud Platforms For CIOs, Q4 ‘14 Platforms For Rapid Developers, Q4 ‘14 Risky Strong Risky Strong Bets Contenders Performers Leaders Bets Contenders Performers Leaders Strong Strong Amazon Web Services MIOsoft Microsoft Salesforce Cordys* Mendix MIOsoft Salesforce (Q2 2013) OutSystems OutSystems Google Mendix Acquia Current Rackspace* IBM Current offering (Q2 2013) offering Cordys* (Q2 2013) Engine Yard Acquia CenturyLink Google, with a Forrester score of 2.35, is a Strong Performer in this Dimension Data GoGrid Forrester Wave.
    [Show full text]
  • Cloud Computing: a Taxonomy of Platform and Infrastructure-Level Offerings David Hilley College of Computing Georgia Institute of Technology
    Cloud Computing: A Taxonomy of Platform and Infrastructure-level Offerings David Hilley College of Computing Georgia Institute of Technology April 2009 Cloud Computing: A Taxonomy of Platform and Infrastructure-level Offerings David Hilley 1 Introduction Cloud computing is a buzzword and umbrella term applied to several nascent trends in the turbulent landscape of information technology. Computing in the “cloud” alludes to ubiquitous and inexhaustible on-demand IT resources accessible through the Internet. Practically every new Internet-based service from Gmail [1] to Amazon Web Services [2] to Microsoft Online Services [3] to even Facebook [4] have been labeled “cloud” offerings, either officially or externally. Although cloud computing has garnered significant interest, factors such as unclear terminology, non-existent product “paper launches”, and opportunistic marketing have led to a significant lack of clarity surrounding discussions of cloud computing technology and products. The need for clarity is well-recognized within the industry [5] and by industry observers [6]. Perhaps more importantly, due to the relative infancy of the industry, currently-available product offerings are not standardized. Neither providers nor potential consumers really know what a “good” cloud computing product offering should look like and what classes of products are appropriate. Consequently, products are not easily comparable. The scope of various product offerings differ and overlap in complicated ways – for example, Ama- zon’s EC2 service [7] and Google’s App Engine [8] partially overlap in scope and applicability. EC2 is more flexible but also lower-level, while App Engine subsumes some functionality in Amazon Web Services suite of offerings [2] external to EC2.
    [Show full text]
  • Software Equity Group's 2012 M&A Survey
    The Software Industry Financial Report Software Equity Group, L.L.C. 12220 El Camino Real Suite 320 San Diego, CA 92130 [email protected] (858) 509-2800 Unmatched Expertise. Extraordinary Results Overview Deal Team Software Equity Group is an investment bank and M&A advisory firm serving the software and technology sectors. Founded in 1992, our firm has guided and advised companies on five continents, including Ken Bender privately-held software and technology companies in the United States, Canada, Europe, Asia Pacific, Managing Director Africa and Israel. We have represented public companies listed on the NASDAQ, NYSE, American, (858) 509-2800 ext. 222 Toronto, London and Euronext exchanges. Software Equity Group also advises several of the world's [email protected] leading private equity firms. We are ranked among the top ten investment banks worldwide for application software mergers and acquisitions. R. Allen Cinzori Managing Director Services (858) 509-2800 ext. 226 [email protected] Our value proposition is unique and compelling. We are skilled and accomplished investment bankers with extraordinary software, internet and technology domain expertise. Our industry knowledge and experience span virtually every software product category, technology, market and delivery model. We Dennis Clerke have profound understanding of software company finances, operations and valuation. We monitor and Executive Vice President analyze every publicly disclosed software M&A transaction, as well as the market, economy and (858) 509-2800 ext. 233 technology trends that impact these deals. We offer a full complement of M&A execution to our clients [email protected] worldwide. Our capabilities include:. Brad Weekes Sell-Side Advisory Services – leveraging our extensive industry contacts, skilled professionals and Vice President proven methodology, our practice is focused, primarily on guiding our client s wisely toward the (858) 509-2800 ext.
    [Show full text]
  • Is Paas Becoming Just a Feature of Iaas?
    Is PaaS becoming just a feature of IaaS? Analyst: Jay Lyman 6 Jan, 2014 We've seen consistent M&A involving PaaS vendors over the past few years, driven primarily by polyglot programming and the demand among not only developers, but also IT operations teams – meaning devops customers as well – for multiple languages, frameworks, databases and other pieces. The reason is that today's market demands faster software development and deployment cycles and processes while maintaining quality and uptime, and this means developers, system administrators, productivity teams and business units need the best tools for the job. The challenge comes in supporting all of these pieces, most of which fluctuate in popularity over time and also attract newcomers. Some vendors and customers have touted PaaS as a way to support polyglot programming and we also see significant devops uses on both public and private PaaS. However, as PaaS continues to evolve, the newer trend in consolidation in the space is for larger IaaS providers to be acquiring PaaS vendors. Analysis from ChangeWave, a service of 451 Research, also indicates that while IaaS and PaaS continue to grow in popularity and use, there is greater growth in SaaS. Given we're also seeing more consolidated offerings of IaaS and PaaS by the likes of Amazon, Google, Microsoft, Red Hat and VMware, it is clear that PaaS is facing pressure and potentially being supplanted from below in the IT software stack by IaaS and from above by SaaS. This is not to say PaaS as a set of capabilities and features or as a market will simply vanish, but it does highlight how the definition of PaaS is changing, particularly in the context of IaaS and SaaS.
    [Show full text]
  • Paas - Making the Most of Clouds
    October 2012 ascent Thought leadership from Atos white paper PaaS - Making the most of Clouds Your business technologists. Powering progress Atos believes that a General Purpose PaaS would allow Cloud capabilities to be exploited to their full potential for applications. A General Purpose PaaS would be a comprehensive, open, flexible, and interoperable solution that simplifies the process of developing, deploying, integrating, and managing applications both in public and private Clouds. This whitepaper introduces the concept of the General Purpose PaaS and describes the desired capabilities and building blocks that need to be established, and proposes an architecture for such a platform. It also offers an analysis of market trends and existing solutions, in order to establish a future vision and direction for PaaS, as well as outlining the business potential of such a solution. © Atos, 2012, all rights reserved. The contents of this white paper is owned by Atos. You may not use or reproduce it in any type of media, unless you have been granted prior written consent thereto by a competent person authorized to represent Atos for such purpose. 2 Ascent / PaaS - Making the most of Clouds PaaS - Making the most of Clouds Contents 04 18 Introduction Business Opportunities An explanation of the need for PaaS and a definition of the A consideration of how PaaS could be used and by whom, concept. including the benefits it could bring. 05 19 Trends, market and technology Conclusion An overview of what PaaS providers need to consider in overview the near future. A look at the current PaaS market and forecasts for the future, including changes expected.
    [Show full text]
  • Dynamic Resource Allocation for Overload Avoidance and Green Cloud Computing
    Dynamic Resource Allocation for Overload Avoidance and Green Cloud Computing {tag} {/tag} International Journal of Computer Applications Foundation of Computer Science (FCS), NY, USA Volume 126 - Number 12 Year of Publication: 2015 Authors: Saima Israil, Rajeev Pandey, Uday Chourasia 10.5120/ijca2015906234 {bibtex}2015906234.bib{/bibtex} Abstract Cloud Computing is a flourishing technology because of its scalability, flexibility, availability of resources and other features. Resource multiplexing is done through the virtualization technology in cloud computing. Virtualization technology acts as a backbone for provisioning requirements of the cloud based solutions. At present, load balancing is one of the challenging issues in cloud computing environment. This issue arises due to massive consumer demands variety of services as per their dynamically changing requirements. So it becomes liability of cloud service provide to facilitate all the demanded services to the cloud consumers. However, due to the availability of finite resources, it is very challenging for cloud service providers to facilitate all the demanded services efficiently. From the cloud service provider’s perspective, cloud resources must be allocated in a fair manner. This paper addresses the existing techniques for resource allocation in cloud computing and proposes the dynamic resource allocation technique to mitigate overloads. It also focuses on energy consumption issue of cloud data centres and devised technique for lower energy consumption in order to achieve green cloud computing. 1 / 3 Dynamic Resource Allocation for Overload Avoidance and Green Cloud Computing References 1. Rimal, B.P., Choi, E., Lumb, I., 2009, A Taxonomy and Survey of Cloud Computing Systems, Proceeding of the Fifth International Joint Conference on INC, IMS and IDC, pp.
    [Show full text]
  • Cloud Computing Oct 7 2008
    CS 683 Emerging Technologies Fall Semester, 2008 Doc 10 Cloud Computing Oct 7 2008 Copyright ©, All rights reserved. 2008 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent (http:// www.opencontent.org/openpub/) license defines the copyright on this document. References Amazon Simple Storage Service Getting Started Guide, http://docs.amazonwebservices.com/ AmazonS3/2006-03-01/gsg/ Amazon Simple Storage Service, http://aws.amazon.com/s3/ Twenty-One Experts Define Cloud Computing, http://cloudcomputing.sys-con.com/node/612375/ print Cloud Computing Community Wiki, http://wiki.cloudcommunity.org/wiki/Main_Page Cloud computing, http://en.wikipedia.org/wiki/Cloud_computing Reading Cloud computing, http://en.wikipedia.org/wiki/Cloud_computing Amazon Simple Storage Service Getting Started Guide, http://docs.amazonwebservices.com/ AmazonS3/2006-03-01/gsg/ 2 Cloud Computing 3 Examples Google Apps iTunes Store Bittorent Skype Web mail Facebook Google Maps 4 In the Beginning "computation may someday be organized as a public utility" John McCarthy 1960 5 Wikipedia Definition IT-related capabilities are provided “as a service” Services accesses anywhere via network access IEEE It is a paradigm in which information is permanently stored in servers on the Internet and cached temporarily on clients that include desktops, entertainment centers, table computers, notebooks, wall computers, handhelds, etc. 6 Key Characteristics Capital expenditure minimized for users Device and location independence Performance Reliability
    [Show full text]
  • Introduction to Cloud Computing
    Introduction to Cloud Computing Business & Technology Timothy Chou © 2010 by Active Book Press 2nd Edition All rights reserved. ,6%1 Printed in the United States of America Contents ACKNOWLEDGEMENTS..........................................................................V INTRODUCTION.................................................................................... VIII SEVEN BUSINESS MODELS......................................................................1 MODEL ONE: TRADITIONAL.........................................................................3 MODEL TWO: OPEN SOURCE........................................................................5 MODEL THREE: OUTSOURCING....................................................................7 MODEL FOUR: HYBRID. ...............................................................................9 MODEL FIVE: HYBRID+ .............................................................................14 MODEL SIX: SOFTWARE AS A SERVICE ......................................................15 MODEL SEVEN: INTERNET .........................................................................17 COST OF SOFTWARE...................................................................................18 SUMMARY..................................................................................................22 APPLICATION CLOUD SERVICES .......................................................24 COLLABORATION .......................................................................................25 WEBEX STORY .............................................................................................26
    [Show full text]
  • Public Cloud – Solutions & Service Partners
    Public Cloud – Solutions & A research report comparing provider Service Partners strengths, challenges Germany 2019 and competitive differentiators Quadrant Report November 2019 ISG Provider Lens™ Quadrant Report | November 2019 Section Name About this Report Information Services Group Inc. is solely responsible for the content of this report. ISG Provider Lens™ delivers leading-edge and actionable research studies, reports Unless otherwise cited, all content, including illustrations, research, conclusions, and consulting services focused on technology and service providers’ strengths and assertions and positions contained in this report were developed by, and are the sole weaknesses and how they are positioned relative to their peers in the market. These property of Information Services Group Inc. reports provide influential insights accessed by our large pool of advisors who are The research and analysis presented in this report includes research from the ISG actively advising outsourcing deals as well as large numbers of ISG enterprise clients Provider Lens™ program, ongoing ISG Research programs, interviews with ISG advisors, who are potential outsourcers. briefings with services providers and analysis of publicly available market information from multiple sources. The data collected for this report represents information that For more information about our studies, please email [email protected], ISG believes to be current as of August 2019 for providers who actively participated and call +49 (0) 561-50697537, or visit ISG Provider Lens™ under ISG Provider Lens™. for providers who did not. ISG recognizes that many mergers and acquisitions have taken place since that time, but those changes are not reflected in this report. All revenue references are in U.S.
    [Show full text]
  • New Relic, Inc. (Exact Name of Registrant As Specified in Its Charter) ______Delaware 26-2017431 (State Or Other Jurisdiction of (I.R.S
    UNITED STATES SECURITIES AND EXCHANGE COMMISSION Washington, D.C. 20549 __________________________________________________________________ FORM 10-K __________________________________________________________________ (Mark One) ☒ ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934 For the fiscal year ended March 31, 2020 or ☐ TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934 For the transition period from to Commission File Number: 001-36766 __________________________________________________________________ New Relic, Inc. (Exact name of registrant as specified in its charter) __________________________________________________________________ Delaware 26-2017431 (State or other jurisdiction of (I.R.S. Employer incorporation or organization) Identification No.) 188 Spear Street, Suite 1000 San Francisco, California 94105 (Address of principal executive offices, including zip code) (650) 777-7600 (Registrant’s telephone number, including area code) __________________________________________________________________ Securities registered pursuant to Section 12(b) of the Act: Trading Title of each class Symbol(s) Name of each exchange on which registered Common Stock, par value $0.001 per share NEWR New York Stock Exchange Securities registered pursuant to Section 12(g) of the Act: None __________________________________________________________________ Indicate by check mark if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Yes ☒ No ☐ Indicate by check mark if the registrant is not required to file reports pursuant to Section 13 or 15(d) of the Act. Yes ☐ No ☒ Indicate by check mark whether the registrant: (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject to such filing requirements for the past 90 days.
    [Show full text]
  • Annual Report John Hancock Multifactor Etfs ETF
    Annual report John Hancock Multifactor ETFs ETF April 30, 2021 A message to shareholders Dear shareholder, The global equity markets were propelled to strong gains for the 12 months ended April 30, 2021. The U.S. Federal Reserve and other world central banks maintained their policies of ultra-low short-term interest rates. With little in the way of yield available on safer assets, investors gravitated toward equities in search of more attractive total returns. The approval and subsequent rollout of multiple COVID-19 vaccines also boosted investor sentiment by providing a clearer path for economic conditions to return to normal in 2021. The passing of fiscal stimulus packages in the United States was an additional source of support for the markets. In combination, these developments helped the major stock indexes gradually recapture, and ultimately exceed, the levels at which they stood prior to the global outbreak of the coronavirus in early 2020. Despite the overall good news, there are still obstacles. Some economies may have reopened too early, the pace of vaccinations varies widely from country to country, and many industries will take time to recover from the losses suffered. In these uncertain times, your financial professional can assist with positioning your portfolio so that it’s sufficiently diversified to help meet your long-term objectives and to withstand the inevitable bouts of market volatility along the way. On behalf of everyone at John Hancock Investment Management, I’d like to take this opportunity to welcome new shareholders and thank existing shareholders for the continued trust you’ve placed in us.
    [Show full text]
  • Vanguard Russell 1000 Index Funds Annual Report August 31, 2020
    Annual Report | August 31, 2020 Vanguard Russell 1000 Index Funds Vanguard Russell 1000 Index Fund Vanguard Russell 1000 Value Index Fund Vanguard Russell 1000 Growth Index Fund See the inside front cover for important information about access to your fund’s annual and semiannual shareholder reports. Important information about access to shareholder reports Beginning on January 1, 2021, as permitted by regulations adopted by the Securities and Exchange Commission, paper copies of your fund’s annual and semiannual shareholder reports will no longer be sent to you by mail, unless you specifically request them. Instead, you will be notified by mail each time a report is posted on the website and will be provided with a link to access the report. If you have already elected to receive shareholder reports electronically, you will not be affected by this change and do not need to take any action. You may elect to receive shareholder reports and other communications from the fund electronically by contacting your financial intermediary (such as a broker-dealer or bank) or, if you invest directly with the fund, by calling Vanguard at one of the phone numbers on the back cover of this report or by logging on to vanguard.com. You may elect to receive paper copies of all future shareholder reports free of charge. If you invest through a financial intermediary, you can contact the intermediary to request that you continue to receive paper copies. If you invest directly with the fund, you can call Vanguard at one of the phone numbers on the back cover of this report or log on to vanguard.com.
    [Show full text]