使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Hawkin Dynamics 在短短 2 周而非数个月的时间里提升其产品
简介
Hawkin Dynamics 提供研究级生物力学数据,
来帮助运动队提高运动员表现。他们
通过连网的测力板收集运动员数据,
然后执行分析,并通过移动应用和 Web 应用支持
用户实时访问分析结果。该公司为 NHL、NCAA、EPL 和
其他联赛的客户提供服务。
挑战
测量运动员的动作
并提供实时分析十分复杂。以简单的垂直跳跃动作为例,
Hawkin Dynamics 的测力板必须
在短短几秒内捕获 1 万多个数据点,然后在云端分析这些数据,
再将分析结果立即提供给教练。
他们最初使用 Firebase Realtime Database
和 Amazon Web Services (AWS) 构建后端,
并使用 Android 和 Node.js 来传送分析数据。这需要数个月的工作量:
将组件拼合起来,并为其 Web 应用
构建一个数据层。他们最终的构想是为教练提供
全面的分析服务,这将需要数月
乃至数年的开发工作。
解决方案
通过 Cloud Firestore,Hawkin Dynamics 得以实现
后端优化,从而更好地处理密集的数据计算和
数据传输。该团队仅安排一名开发者,
在短短几天内就从 Firebase Realtime Database 迁移到了 Cloud Firestore,
而且迁移过程也非常容易,他们仅需移除旧的 Web 数据层(采用 Cloud Firestore 后
不再需要使用该数据层),
并用 Cloud Functions 函数取代其原有 Node 函数。
在采用 Cloud Firestore 之前,该团队曾计划聘用一位后端开发者,
这样团队自身便可以专注于构建新功能。但在采用 Cloud Firestore 之后,
就目前来说,他们不再需要聘用新员工,
这将其招聘成本降低了超过 50%。他们
还做到了在两周内发布
新的网页应用和 Android 应用。这两款新应用均包含
大量原本计划要在几个月后才能发布的功能。在 Firebase 的帮助下,
该团队朝着产品愿景的实现
迈出了一大步。
成果
2 周将产品提升到新水准
开发成本降低 50%
需要维护的代码减少了 2500 行
"在 Firebase Realtime Database 的帮助下,我们构建了一款测力板测试软件,在我们看来,这是市面上同类软件中最好的。在短短两周时间里,我们就构建出一款有显著提升的系统,并且包含了我们从未想到能够在第 1 天就提供的诸多功能,这一切都要归功于 Cloud Firestore。"
- Hawkin Dynamics 首席技术官 Chris Wales
[null,null,[],[],[],null,["[*arrow_back*\nExplore other case studies](/case-studies) \n[View more solutions](/solutions) \n\nHawkin Dynamics levels up their product in 2 weeks instead of months\n\n*** ** * ** ***\n\nIntroduction Hawkin 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\nChallenge Measuring 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\nSolution \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\nAll Firebase products \n\nBuild\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\nRun\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)"]]