A
A
AI Wiki
Gradient Platform
Docs
Get Started Free
Contact Sales
Search…
Artificial Intelligence Wiki
Topics
Accuracy and Loss
Activation Function
AI Chips for Training and Inference
Artifacts
Artificial General Intelligence (AGI)
AUC (Area under the ROC Curve)
Automated Machine Learning (AutoML)
CI/CD for Machine Learning
Comparison of ML Frameworks
Confusion Matrix
Containers
Convergence
Convolutional Neural Network (CNN)
Datasets and Machine Learning
Data Science vs Machine Learning vs Deep Learning
Distributed Training (TensorFlow, MPI, & Horovod)
Generative Adversarial Network (GAN)
Epochs, Batch Size, & Iterations
ETL
Features, Feature Engineering, & Feature Stores
Gradient Boosting
Gradient Descent
Hyperparameter Optimization
Interpretability
Jupyter Notebooks
Kubernetes
Linear Regression
Logistic Regression
Long Short-Term Memory (LSTM)
Machine Learning Operations (MLOps)
Managing Machine Learning Models
ML Showcase
Metrics in Machine Learning
Machine Learning Models Explained
Model Deployment (Inference)
Model Drift & Decay
Model Training
MNIST
Overfitting vs Underfitting
Random Forest
Recurrent Neural Network (RNN)
Reproducibility in Machine Learning
REST and gRPC
Serverless ML: FaaS and Lambda
Synthetic Data
Structured vs Unstructured Data
Supervised, Unsupervised, & Reinforcement Learning
TensorBoard
Tensor Processing Unit (TPU)
Transfer Learning
Weights and Biases
Powered By
GitBook
REST and gRPC
Most model-serving frameworks are based on REST. TensorFlow Serving and TensorRT offer gRPC endpoints which are fussier but more performant.
Benefits of REST
Stateless -
No client context is stored on the server between requests
Self-contained -
All information that is needed to service a request is packaged with the request itself
Flexible -
REST is programming language agnostic, has universal browser and language support, and supports a large number of filetypes
Benefits of gRPC
Bi-directional
-
gRCP supports two-way communication
Simplicity -
No headers, methods, or body, and better status codes
Performant -
Binary data via protocol buffers for serializing structure data, performs better under high loads
​
Topics - Previous
Reproducibility in Machine Learning
Next - Topics
Serverless ML: FaaS and Lambda
Last modified
2yr ago
Copy link
Outline
Benefits of REST
Benefits of gRPC