Тёмный

gRPC vs REST - KEY differences and performance TEST 

Jelvix | TECH IN 5 MINUTES
Подписаться 55 тыс.
Просмотров 26 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@Jelvix
@Jelvix 10 месяцев назад
What do you prefer to use more - gRPC or REST? Tell us your opinion on these two... 🤯
@JaneMoir
@JaneMoir 10 месяцев назад
I've been curious about gRPC and REST differences for a while now. This vid was super informative and helped me so much... Thanks! ☺
@davidhunter3605
@davidhunter3605 5 месяцев назад
Wow totally meaningless performance tests. What did you measure exactly? How did you measure it? Basically you might as well have produced random numbers as you don't say what you tested.
@Jelvix
@Jelvix Месяц назад
Hi! Thank you for your feedback! We are creating the short videos so we can’t explain everything. But we will discuss your comment for our future videos! Thank you!
@jiminnovator1556
@jiminnovator1556 10 месяцев назад
Absolutely loved this comparison! Thanks for shedding light on this topic!
@monicasmith6007
@monicasmith6007 10 месяцев назад
This was eye-opening! Which one, gRPC or REST, would you suggest for IoT applications and why?
@jefersonnl
@jefersonnl 8 дней назад
I don't know about you, but I often choose for an IoT project the simplest and cheapest hardware able to do the job, that is a good philosophy. Keep it simple, no overkills. Sometimes that can be an ATMega board hooked to an ESP-01, a STM32 MCU with built in board connectivity, or even an ESP32 board. I will always use the cheapest and simplest board I can get await with. More than that is overkill, like a Raspberry Pi for instance. Other coding language working on a higher level than C is also overkill, unless libraries that you *MUST* make use of demand so. That being said, REST is the king here, due to its minimalistic and simplistic approaches to communication. It also supports several forms of authentication, and you can fiddle around with the best one for your scenario, that is (due to the nature of IoT constrictions and restrictions)usually the simplest and less resource intensive one that wouldn't of course compromise security. Its also difficult to imagine how things like gRPC and GraphQL would have a smaller implementation footprint than REST in such restricted devices.
@keplerk
@keplerk 5 месяцев назад
A question would be, how costly it's to keep and maintain grpc compared to a simple rest api.
@Jelvix
@Jelvix 5 месяцев назад
Thank you for this question! We'll take it into account in our upcoming videos
@jefersonnl
@jefersonnl 8 дней назад
Very good one. Another good question: GRPC vs AMQP RPC, costs of implementation(specially if you already have AMQP in use for other stuff in your infrastructure), and performance.
@jeremypatrick7853
@jeremypatrick7853 5 месяцев назад
Perhaps a combination of the two? REST for minimal data that needs to be transported, and any large sets of data using gRPC, isn't that supposed to be the beauty of microservices?
@Jelvix
@Jelvix 27 дней назад
Great point! A combination of REST and gRPC can indeed be a powerful approach. REST works well for simpler, lightweight data transfers and broader compatibility, while gRPC shines with performance when dealing with larger datasets or requiring high efficiency in communication between microservices. Leveraging both plays to their strengths and aligns perfectly with the flexibility and scalability that microservices architecture offers!
@amirbaha2ri
@amirbaha2ri 5 месяцев назад
Consider I just need a simple CRUD and a few actions for my own business and there is no importance how hard is implementing each one of REST or gRPC. Can I choose gRPC just for getting experienced in it, and I can hope will not face any problem that wouldn't happen with REST?
@Jelvix
@Jelvix 27 дней назад
If you're looking to get hands-on experience with gRPC, it's definitely a great choice for learning, even for a simple CRUD application! However, keep in mind that gRPC has a steeper learning curve and might require more setup, especially around things like HTTP/2, protocol buffers, and client libraries. That said, for a small-scale project, you shouldn’t run into any significant problems that wouldn’t happen with REST - just be aware that REST might be more straightforward for basic CRUD operations due to its wide adoption and simplicity. If you're comfortable with the extra setup, go for gRPC and enjoy the learning
@fcnealvillangca7943
@fcnealvillangca7943 7 месяцев назад
as new to industry I take Rest API because it's stable. we tried GraphQL but it didn't fix the problem infact it only introduce extra work to the backend. I will just adjust to graphql , grpc, trpc etc etc incase the Job requires to. But what can you suggest
@RayParker
@RayParker 5 месяцев назад
I found GQL a God send in the Rails world - if you know how to use it. I’ve reduced server loads up to 70% v REST + Rails classic MVC.
@RayParker
@RayParker 5 месяцев назад
Oh, and back end work quickly declines as the API matures.
@GauriSpirit
@GauriSpirit 8 месяцев назад
Nice explanation
@KaiGan-mk1mh
@KaiGan-mk1mh Месяц назад
REST can use protobuf to comminicate right?
@Jelvix
@Jelvix Месяц назад
Yes, REST can use Protocol Buffers (protobuf) for communication, although it's not very common
@BoyangLyu
@BoyangLyu 13 дней назад
The gRPC is only a little bit faster than REST
@Jelvix
@Jelvix 10 дней назад
Hi! Thank you for sharing your opinion!
@EveEudora-g6l
@EveEudora-g6l 25 дней назад
Skiles Corners
@Jelvix
@Jelvix 24 дня назад
Excuse me?
@OOD2021
@OOD2021 14 дней назад
that performance 'test' was very underwhelming...
@Jelvix
@Jelvix 13 дней назад
Hi! Did you like it?
@ElsieDixon-o2e
@ElsieDixon-o2e Месяц назад
Jones Robert Harris Frank Allen Richard
@Jelvix
@Jelvix Месяц назад
🤔🤔🤔
Далее
GRAPHQL vs REST | Should GraphQL replace REST?
6:47
LOLLIPOP-SCHUTZ-GADGET 🍭 DAS BRAUCHST DU!
00:28
Просмотров 12 млн
Women’s Free Kicks + Men’s 😳🚀
00:20
Просмотров 7 млн
When RESTful architecture isn't enough...
21:02
Просмотров 279 тыс.
What is OpenTelemetry?
12:55
Просмотров 8 тыс.
REST API Interview Questions (Beginner Level)
7:07
Просмотров 184 тыс.
Where should you use gRPC? And where NOT to use it!
10:57
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 84 тыс.
The Right Way To Build REST APIs
10:07
Просмотров 105 тыс.
LOLLIPOP-SCHUTZ-GADGET 🍭 DAS BRAUCHST DU!
00:28
Просмотров 12 млн