コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Hawkin Dynamics の事例: 製品のレベルアップを 1 か月ではなく 2 週間で達成
はじめに
Hawkin Dynamics は、スポーツチームがアスリートのパフォーマンスを改善するのに役立つ研究グレードの生体力学データを提供しています。インターネットに接続されたフォース プレートで収集されたアスリートのデータがクラウドで分析され、その結果をモバイルアプリやウェブアプリからリアルタイムで見ることができます。同社の顧客には、NHL、NCAA、EPLといった著名なスポーツ団体があります。
課題
アスリートの動きを測定してリアルタイムの分析を提供することは複雑です。たとえば、単純な垂直ジャンプの場合、Hawkin Dynamics のフォース プレートは 10,000 を超えるデータポイントを数秒間で収集し、そのデータをクラウドで分析して結果を即座にコーチに提供します。
分析情報を提供する同社のバックエンドは元々、Firebase Realtime Database と Amazon Web Services(AWS)を基に、Android と Node.js を使用して構築されていました。このバックエンドの構築時には、コンポーネントをつなぎ合わせてウェブアプリ用のデータレイヤーを構築する作業に数か月かかりました。同社の最終的なビジョンは本格的なアナリティクス サービスをコーチに提供することですが、その開発には数か月または数年の期間を要します。
解決方法
Cloud Firestore を使用することで、Hawkin Dynamics は、データを集中的に計算して転送するためのバックエンドを最適化することができました。Firebase Realtime Database から Cloud Firestore への移行は、たった 1 名の開発者で数日しかかかりませんでした。必要な作業は、以前のウェブ データレイヤーを削除し(Cloud Firestore ではこのレイヤーは必要ないため)、既存の Node 関数を Cloud Functions に置き換えることだけでした。
Cloud Firestore に移行する前、チームは新しい機能の構築に集中するためにバックエンド担当の開発者を 1 名雇用することを計画していました。しかし、Cloud Firestore を使い始めてみると、そのような新規雇用は(差し当たって)必要でないことがわかり、その結果雇用コストが 50% 以上削減されました。また、新しいウェブアプリと Android アプリのリリースも 2 週間以内に行うことができました。これら 2 つの新しいアプリには、当初数か月後に提供する予定であった機能も数多く含まれていました。Firebase により、同社は製品ビジョンの実現に向けて大きく飛躍しました。
結果
2 週間で製品を新たなレベルに引き上げた
開発コストが 50% 低下
メンテナンスするコードの行数が 2,500 行減少
「Firebase Realtime Database を使用することで、市場で最も優れたフォースプレート テスト ソフトウェアを構築したと実感しました。Cloud Firestore のおかげで、大幅に改善されたシステムをわずか 2 週間で構築することができ、初日に提供できるとは思ってもいなかった機能を組み込むこともできました。」
- Hawkin Dynamics 社 CTO、Chris Wales 氏
[null,null,[],[],[],null,["# Hawkin Dynamics Case Study\n\n[*arrow_back*\nExplore other case studies](/case-studies) \n[View more solutions](/solutions) \n\n##### Hawkin Dynamics levels up their product in 2 weeks instead of months\n\n*** ** * ** ***\n\n##### Introduction\n\nHawkin Dynamics offers research-grade biomechanical data to help\nsports teams improve their athletes' performances. Their\nInternet-connected force plates collect athletes' data, which is\nthen analyzed and made accessible in mobile and web apps in real\ntime. The company serves customers in the NHL, NCAA, EPL and\nother leagues.\n\n*** ** * ** ***\n\n##### Challenge\n\nMeasuring an athlete's motions and providing real-time analytics\nis complex. For example, with a simple vertical jump, Hawkin\nDynamics' force plates must capture 10,000+ data points within\nseconds, then analyze that data in the cloud and deliver the\nanalytics instantly to coaches.\n\nThey originally built their back end using Firebase Realtime\nDatabase and Amazon Web Services (AWS), with Android and Node.js\nto deliver their analytics. This required months of effort:\nstitching components together and building a data layer for their\nweb app. Ultimately, they envision providing a full-blown\nanalytics service to coaches, which will require months or\nyears of development. \n\n*** ** * ** ***\n\n##### Solution\n\nUsing Cloud Firestore, Hawkin Dynamics was able to optimize\ntheir back end for intensive data calculations and\ntransmission. Using only one developer, the team migrated\nfrom Firebase Realtime Database to Cloud Firestore in a few\ndays, simply by removing their legacy web data layer (which\nthey no longer needed because of Cloud Firestore) and\nreplacing their existing Node functions with Cloud Functions. \nBefore Cloud Firestore, the team planned to hire a back-end\ndeveloper so they could focus on building new features. After\nusing Cloud Firestore, however, they no longer needed that new\nhire (for now), reducing their hiring costs by over 50%. They\nalso were able to release new web and Android apps within two\nweeks. The two new apps included many features they had\noriginally planned to ship months later. With Firebase, the\nteam made a huge leap toward realizing their vision of their\nproduct.\n\n*** ** * ** ***\n\nResults\n\n2 weeks to elevate product to a new level\n\n50% lower development costs\n\n2500 fewer lines of code to maintain \n\n\"With Firebase Realtime Database, we felt we had built the best force-plate testing software on the market. Thanks to Cloud Firestore, in only two weeks, we built a system that's significantly better and includes features we never thought possible to ship on Day 1.\"\n\n\n- Chris Wales, CTO, Hawkin Dynamics \nTry Firebase today\n\n\nIntegrating it into your app is easy.\n[Get started](https://console.firebase.google.com/) \n\n#### All Firebase products\n\n##### Build\n\n- [App Check](/products/app-check)\n- [App Hosting](/products/app-hosting)\n- [Authentication](/products/auth)\n- [Cloud Functions](/products/functions)\n- [Cloud Storage](/products/storage)\n- [Data Connect](/products/data-connect)\n- [Extensions](/products/extensions)\n- [Firestore](/products/firestore)\n- [Firebase ML](/products/ml)\n- [Genkit](https://genkit.dev/)\n- [Hosting](/products/hosting)\n- [Realtime Database](/products/realtime-database)\n- [Firebase AI Logic client SDKs](/products/firebase-ai-logic)\n\n[Generative AI](/products/generative-ai) \n\n##### Run\n\n- [A/B Testing](/products/ab-testing)\n- [App Distribution](/products/app-distribution)\n- [Cloud Messaging](/products/cloud-messaging)\n- [Crashlytics](/products/crashlytics)\n- [Google Analytics](/products/analytics)\n- [In-App Messaging](/products/in-app-messaging)\n- [Performance Monitoring](/products/performance)\n- [Remote Config](/products/remote-config)\n- [Test Lab](/products/test-lab)"]]