#connectrpc — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #connectrpc, aggregated by home.social.
-
ConnectRPC против gRPC: практическое сравнение
Привет, Хабр! Меня зовут Артём Трофимов, я работаю backend-разработчиком в компании «Юзтех». Последние 5 лет я занимаюсь разработкой backend-сервисов на Golang, и мне регулярно приходится работать с микросервисами, общающимися по gRPC. Статья будет полезна backend-разработчикам, которые выбирают RPC-фреймворк для нового проекта, а также тем, кто уже работает с gRPC. Для многих gRPC стал стандартом межсервисного взаимодействия: быстрый, строго типизированный, с кодогенерацией. Про его неудобства тоже все знают: сложность отладки, танцы с прокси, отдельная инфраструктура для браузерных клиентов. Всё это принято считать платой за производительность. Но в последние годы у gRPC появился конкурент, который утверждает, что платить больше необязательно. Речь, конечно, про ConnectRPC. Это проект компании Buf, уже принятый в CNCF (Cloud Native Computing Foundation). Я решил разобраться, что он предлагает, собрать на нём тестовый сервис и сравнить с классическим gRPC. Спойлер: местами разница впечатляет, но обо всём по порядку. Почему gRPC стал стандартом gRPC представляет собой RPC-фреймворк (Remote Procedure Call, удалённый вызов процедур), созданный Google и переданный в CNCF в 2017 году. Его популярность держится на нескольких китах:
-
🪧 It's Time for ConnectRPC to Adopt HTTP QUERY:
https://kmcd.dev/posts/connectrpc-http-query/
#Connectrpc #Http #Networking #Api #Protobuf #Golang -
🪧 It's Time for ConnectRPC to Adopt HTTP QUERY:
https://kmcd.dev/posts/connectrpc-http-query/
#Connectrpc #Http #Networking #Api #Protobuf #Golang -
🪧 gRPC-Web Should Have Fixed gRPC: gRPC-Web should have been the pressure that made gRPC simpler, more inspectable, and better suited for the web.
https://kmcd.dev/posts/grpc-web-should-have-fixed-grpc/
#Grpc #Grpc-web #Protobuf #Connectrpc -
🪧 gRPC-Web Should Have Fixed gRPC: gRPC-Web should have been the pressure that made gRPC simpler, more inspectable, and better suited for the web.
https://kmcd.dev/posts/grpc-web-should-have-fixed-grpc/
#Grpc #Grpc-web #Protobuf #Connectrpc -
🪧 Proxy, Record, and Mock gRPC APIs with FauxRPC: Stop writing mock stubs by hand. How FauxRPC uses smart proxying, reflection, and CEL to automate your API testing.
https://kmcd.dev/posts/fauxrpc-proxy/
#Fauxrpc #Connectrpc #Grpc #Protobuf #Api #Rpc #Go #Golang #Http3 -
🪧 Proxy, Record, and Mock gRPC APIs with FauxRPC: Stop writing mock stubs by hand. How FauxRPC uses smart proxying, reflection, and CEL to automate your API testing.
https://kmcd.dev/posts/fauxrpc-proxy/
#Fauxrpc #Connectrpc #Grpc #Protobuf #Api #Rpc #Go #Golang #Http3 -
🪧 Introducing ProtoDocs: A protobuf-first documentation browser for APIs that deserve better than ugly generated docs.
https://kmcd.dev/posts/introducing-protodocs/
#Protobuf #Grpc #Connectrpc #Documentation #Go #Rpc -
🪧 Introducing ProtoDocs: A protobuf-first documentation browser for APIs that deserve better than ugly generated docs.
https://kmcd.dev/posts/introducing-protodocs/
#Protobuf #Grpc #Connectrpc #Documentation #Go #Rpc -
Как я реализовал Connect RPC на Java с помощью AI-агентов
В статье я делюсь практиками работы с Claude Code и Codex, которые помогли мне реализовать сложную техническую задачу в условиях ограниченного времени, бюджета и железа.
-
🪧 ConnectRPC: Where is it now?: Reflecting on two years of ConnectRPC: How it evolved from a gRPC alternative to a complete API ecosystem.
https://kmcd.dev/posts/connectrpc-where-is-it-now/
#Connectrpc #Grpc #Protobuf #Api #Rpc #Go #Golang #Http3 #Openapi -
🪧 ConnectRPC: Where is it now?: Reflecting on two years of ConnectRPC: How it evolved from a gRPC alternative to a complete API ecosystem.
https://kmcd.dev/posts/connectrpc-where-is-it-now/
#Connectrpc #Grpc #Protobuf #Api #Rpc #Go #Golang #Http3 #Openapi -
Охота на CVE в Cursor IDE: полный технический разбор безопасности AI-редактора
Cursor — AI-powered IDE на базе VS Code, которая обрабатывает миллионы строк кода разработчиков через свои серверы. Когда я задумался о безопасности этого продукта, возник вопрос: насколько надёжна серверная модель авторизации, которая стоит между бесплатным пользователем и Claude 4 Opus?
https://habr.com/ru/articles/1028196/
#cursor_ide #security_research #prototype_pollution #protobuf #grpc #connectrpc #cve #reverse_engineering #ai_security #bug_bounty
-
Zero-copy protobuf and ConnectRPC for Rust
https://medium.com/@iainmcgin/zero-copy-protobuf-and-connectrpc-for-rust-69bda8ac0f02
#HackerNews #ZeroCopy #Protobuf #ConnectRPC #Rust #Programming #RustLang #TechNews
-
🪧 Unknown Fields in Protobuf: How Protobuf unknown fields enable seamless schema evolution and robust middleware.
https://kmcd.dev/posts/protobuf-unknown-fields/
#Protobuf #Grpc #Api #Microservices #Datapipelines #Connectrpc #Go #Typescript #Architecture -
I wanted to share this lovely blog post about using ConnectRPC in Go and on the web with Typescript. It's a very well formatted and simple way to get started!
-
🪧 Self-Documenting Connect Services: gRPC can be pretty, too.
https://kmcd.dev/posts/self-documenting-connect-services/
#grpc #connectrpc #openapi #protobuf #protoc #rpc #go #golang -
🪧 Self-Documenting Connect Services: gRPC can be pretty, too.
https://kmcd.dev/posts/self-documenting-connect-services/
#grpc #connectrpc #openapi #protobuf #protoc #rpc #go #golang -
🪧 gRPC Over HTTP/3: Followup: Let's cover some recent updates!
https://kmcd.dev/posts/grpc-over-http3-followup/
#grpc #connectrpc #rpc #http3 #go #golang #quic-go #buf -
🪧 gRPC Over HTTP/3: Followup: Let's cover some recent updates!
https://kmcd.dev/posts/grpc-over-http3-followup/
#grpc #connectrpc #rpc #http3 #go #golang #quic-go #buf -
🪧 gRPC Over HTTP/3: Turbocharging gRPC with HTTP/3
https://kmcd.dev/posts/grpc-over-http3/
#grpc #protobuf #api #rpc #webdev #http2 #http3 #connectrpc -
🪧 gRPC Over HTTP/3: Turbocharging gRPC with HTTP/3
https://kmcd.dev/posts/grpc-over-http3/
#grpc #protobuf #api #rpc #webdev #http2 #http3 #connectrpc -
🪧 Unit Testing ConnectRPC Servers: Learn how to test your ConnectRPC services.
https://kmcd.dev/posts/connectrpc-unittests/
#connectrpc #golang #unittest #grpc #testing #backend #tutorial -
🪧 Unit Testing ConnectRPC Servers: Learn how to test your ConnectRPC services.
https://kmcd.dev/posts/connectrpc-unittests/
#connectrpc #golang #unittest #grpc #testing #backend #tutorial -
Protobuf is the contract that holds your gRPC microservices together. Wouldn't it be nice if you could detect when there is a mismatch of protobuf versions? Don't let version discrepancies break your gRPC services in subtle ways! Although clear versioning is important, it's not always easy to tell if all parts of your system are up-to-date. I made something that helps with this (if you happen to use ConnectRPC). I made an interceptor that detects when a ConnectRPC client or server is receiving responses or requests that include unknown fields.
You can read more about it here: https://sudorandom.dev/posts/unknownconnect-go/
And the project page is here: https://github.com/sudorandom/unknownconnect-go/
-
If you're using ConnectRPC (https://connectrpc.com) and wanted automated OpenAPI documentation for your gRPC service then you're in luck. I'm announcing protoc-gen-connect-openapi, which is a protoc plugin that generates OpenAPI files for your Connect RPC services. If you run this then you can generate redocly, elements or many other tools to generate documentation. You can also try using OpenAPI-Generator to generate clients for languages that ConnectRPC doesn't yet support.
https://sudorandom.dev/posts/introducing-protoc-gen-connect-openapi/
https://github.com/sudorandom/protoc-gen-connect-openapi