podqast
Machine Learning GuideOCDevelAll episodes

MLA 013 Tech Stack for Customer-Facing Machine Learning Products

48 min
Next episodeMLA 014 Deploying ML in 2026: APIs vs Self-Hosting33 min
Get its new episodes on Latest. No account

Primary technology recommendations for building a customer-facing machine learning product include React and React Native for the front end, serverless platforms like AWS Amplify or GCP Firebase for authentication and basic server/database needs, and Postgres as the relational database of choice. Serverless approaches are encouraged for scalability and security, with traditional server frameworks and containerization recommended only for advanced custom backend requirements. When serverless options are inadequate, use Node.js with Express or FastAPI in Docker containers, and consider adding Redis for in-memory sessions and RabbitMQ or SQS for job queues, though many of these functions can be handled by Postgres. The machine learning server itself, including deployment strategies, will be discussed separately.
Links • Notes and resources at ocdevel.com/mlg/mla-13

Client Applications • React is recommended as the primary web front-end framework due to its compositional structure, best practice enforcement, and strong community support.

Server (Backend) Options • The episode encourages starting with serverless frameworks, such as AWS Amplify or GCP Firebase, for rapid scaling, built-in authentication, and security. • Amplify allows seamless integration with React and handles authentication, user management, and database access directly from the client.

Database and Supporting Infrastructure • Postgres is recommended as the primary relational database, owing to its advanced features, community momentum, and versatility. • Postgres can serve multiple infrastructure functions beyond storage, including job queue management and pub/sub (publish-subscribe) messaging via specific database features.

Cloud Hosting and Server Management • Serverless deployment abstracts away infrastructure operations, improving scalability and reducing ongoing server management and security burdens. • Serverless functions scale automatically and only incur charges during execution.

More from Machine Learning Guide