#rpc

2025-10-29

От REST к gRPC и GraphQL: современный подход к API

В статье сравним REST, gRPC и GraphQL с точки зрения производительности, гибкости и архитектуры микросервисов. Покажем, как объединить GraphQL и gRPC для фронтенда и бэкенда, чтобы получить мощный API без лишнего трафика и задержек.

habr.com/ru/articles/961000/

#gRPC #graphql #RPC #rest #gRPCWeb #микросервис #API

2025-10-15

Je kiffe mon nouveau taff !! #php #golang #rpc #aambiance #karafun
(Oui je kiff d'appuyer sur un bouton et ça sort un ticket sur une imprimante à travers le réseau)

Un écran de mac où le docker est visible. Il y a un navigateur d'ouvert avec le message "Bien reçu ! Nous arrivons."Une imprimante comme dans les bars pour les commandes. Un ticket est sorti et correspond à la demande dans l'image précédente "call waiter"
2025-10-11

Давайте поговорим про Web-API

Предупреждение: не сомневаюсь, что наверняка кто-то, прочитав данную статью, возжелает закидать меня тапками, но это его право, я не претендую на истину. Я начал писать эту статью около двух месяцев назад. Писал по мере возможности и уже почти закончил, как буквально на днях было обсуждение именно этой темы с коллегами. По результатам услышанных там вопросов я добавил еще пару абзацев, чтобы постараться ответить на данные вопросы в комплексе. В наше время каждый слышал про Web-API и у многих это ассоциируется с REST. Однако этот многострадальный REST всегда какой-то не такой, с ним все время что-то не так. Разработчики часто спорят и упрекают друг друга, что твой REST недостаточно REST-овый. Это стало чем-то в роде культа или даже религии. Я не планирую рассказывать о том, как правильно готовить REST, но весь материал именно вокруг этого многострадального RESTа.

habr.com/ru/articles/955574/

#rpc #api #rest

Çağan Mert İŞLEKislekcaganmert.me@bsky.brid.gy
2025-10-07

1. #TheProtocols #RPC No more building #API, #SDK, libraries... Just focus on your app, then let TheProtocols handle the connection over RPC.

大字報 (dazibao)dazibao@social.tmprs.net
2025-09-29

Le scandale des copies chinoises

De l’art séculaire de la copie artistique en Chine, et de ses raisons : « dont toutes sont honorables, sauf une ». Billet à lire sur le blog Le cri du goéland le soir au-dessus des jonques.

« On ne copie pas que les Иike et les Adibas, en Chine. Il exista par le passé moult vrais-faux, des copies qu’on fourgua en prétendant qu’il s’agissait d’œuvres originales. Cela dit, on réalise aussi, parfois, des peintures que l’on tente de faire passer pour des œuvres anciennes. Et ça, c’est beaucoup plus marrant. »

« Le plus grand faussaire en la matière s’appelait Zhang Daqian 张大千 (1899-1983). Il fut également le plus grand peintre chinois du 20e siècle ; en 2011 il piqua à Picasso le titre de barbouilleur le plus cher au monde. Ce gars-là, véritable génie, était également un très grand collectionneur qui vendit à des musées du monde entier des peintures anciennes sauf que pas toujours, faut voir… »

« Le Metropolitan Museum of Art de New York se demande actuellement si ce chef-d’œuvre absolu intituléLa Rive et soi-disant de la main de Dong Yuan 董源 (934-962, dynastie Tang), ne serait pas un faux, entièrement réalisé par Zhang Daqian. »

https://alain-korkos.fr

Image : 董源 (934-962, dynastie Tang)… ou Zhang Daqian !

#Chine #RPC #art #copie #ZhangDaqian @AlainKorkos

Karsten Schmidttoxi@mastodon.thi.ng
2025-09-26

#ReleaseFriday — New version 3.1.0 of the recently talked about thi.ng/args package, a declarative & functional CLI argument parser & app framework. I updated the arg specifications to be fully self-describing & serializable (with minor exceptions), and streamlined the API for factory functions to define the specs.

Why is this useful? For example, now I can (already have!) implemented a CLI as separate short-lived client/process which only acts as RPC frontend/proxy for the actual CLI commands defined & executed in a long running app server, which is heavily based on a plugin architecture. Each plugin can contribute any number of CLI commands, each with its own set of args/options... When the CLI client app is launched, it first retrieves a list of these registered commands and all their options from the server, then uses the thi.ng/args CLI framework to select the right command, validate its options or display formatted usage info. If all is ok, the command is then triggered via an HTTP request to the app server, executes there and the command's log messages are send back as response...

#ThingUmbrella #CLI #RPC #TypeScript #JavaScript #OpenSource #SoftwareArchitecture

Block diagram giving a highlevel overview of a software architecture consisting of: app server, router, CLI and a number of plugins. These app component interact with each other via registrations and delegations. A separate box "CLI RPC" relates to a separate client app which only interacts with the app server and is used as remote frontend for invoking commands inside the (much longer running) main app.
Alejandro Baezzeab@fosstodon.org
2025-09-26

There's now two #Javascript based #RPC implementations. #CapnWeb and #tRPC. We live in a weird world. 😅

blog.cloudflare.com/capnweb-ja

trpc.io/

N-gated Hacker Newsngate
2025-09-22

🚀🎩 Behold, the miraculous Cap'n Web! An system so revolutionary, it was only invented a decade ago! Apparently, the world desperately needed yet another method to talk to itself—thank goodness for Cap'n Web's “brotherly” embrace. 🌐🙄
blog.cloudflare.com/capnweb-ja

GripNewsGripNews
2025-09-22

🌗 Cap'n Web:瀏覽器與網頁伺服器的新一代 RPC 系統
➤ 以物件導向能力模型簡化分散式應用開發
blog.cloudflare.com/capnweb-ja
Kenton Varda 推出了 Cap'n Web,一個專為現代網頁堆疊設計的全新遠端程序呼叫 (RPC) 協定與實作。它以純 TypeScript 編寫,繼承了 Cap'n Proto 的物件導向能力模型,但捨棄了複雜的 Schema 定義,改採易於理解的 JSON 序列化,大幅降低了開發的複雜度與樣板程式碼。Cap'n Web 支援 HTTP、WebSocket 和 postMessage() 等多種傳輸方式,能在各種 JavaScript 環境中運行,且壓縮後體積不到 10 kB。其核心特色在於支援雙向通訊、函數與物件傳遞、承諾管道(Promise Pipelining)以及基於能力的安全性模型,讓開發者能以更直覺、類似 JavaScript 原生 API 的方
技術

WhisprNewsWhisprNews
2025-09-10

🚧 experimenta retrasos en la finalidad debido a un fallo en el nodo, impactando los servicios de y la sincronización de validadores, pero el equipo trabaja en la solución.

2025-09-08

Часть вторая. Как я пытался засунуть gRPC в браузер — продолжение

Предыдущая часть Картина мира: почему браузер — главный блокер для «настоящего» gRPC Если коротко, gRPC живёт поверх HTTP/2 и активно полагается на стримы. А в браузере до сих пор нет низкоуровневого API, который позволил бы JavaScript управлять HTTP/2‑стримами на том уровне, который нужен gRPC. Даже unary‑вызов в gRPC — это частный случай стрима: открыли поток, отдали запрос, забрали ответ, закрылись. Пока браузеры не дадут этот «рычаг», все WEB‑решения — это компромиссы разной степени изящности. Чем это оборачивается на практике: Нативные bidi‑стримы из браузера недоступны Приходится конвертировать транспорт: HTTP/1.1 или WebSocket → что‑то «похоже на gRPC» → gRPC/HTTP2 на бэкенде Добавляются прокси, адаптеры и слой совместимости, где теряется часть достоинств «чистого» gRPC

habr.com/ru/articles/944894/

#go #grpc #grpcgateway #grpcstreaming #grpcсервисы #golang #protobuf #easyp #buf #rpc

2025-09-06

Desfile Militar dos Estados Unidos organizado por Donald Trump em 14 de Junho de 2025 em Washington D. C. no aniversário de 79 anos do atual Presidente dos Estados Unidos da América VS Desfile Militar da China organizado pelo PCCh em 3 de Setembro de 2025 em Beijing no aniversário de 80 anos da resistência e vitória do povo chinês contra a agressão japonesa​​​.

https://inv.nadeko.net/watch?v=S2S4-DH4VFo

#China #RPC #Beijing #EUA #USA #US #Washington #PCCh #DonaldTrump #Donald_Trump #XiJinping #Xi_Jinping

2025-09-04

Arrow Flight + ADBC: как гонять десятки ГБ/с между сервисами без REST

Привет, Хабр! Когда делаешь сервисы на C++ и вокруг летает много данных, в какой-то момент понимаешь простую вещь: REST хорош для управления сущностями, но плохо подходит для потока колонок в десятки гигабайт в секунду. Переносить фреймы по сто миллионов строк через JSON и спотыкаться об сериализацию — не наш путь. В статье рассмотрим как собрать транспорт данных на Apache Arrow Flight и где встраивается ADBC, чтобы между сервисами гонять таблицы почти на скорости сети и не городить зоопарк драйверов.

habr.com/ru/companies/otus/art

#rest #потоковая_передача_данных #сжатие_данных #высоконагруженные_системы #RPC #производительность_сети #сериализация_данных #архитектура_хранения #масштабирование_сервисов

Do you download lots of files from the @internetarchive ? If so, you might find my #Firefox #extension handy. It can filter the links on collection pages and copy them to the clipboard, or even send them to an #aria2 download manager via #RPC. It pairs very nicely with #AriaNG running on a #NAS.

You can take a look at the #opensource #code and find the (self hosted) link to the installation file here: git.jordanwages.com/wagesj45/a

Screenshot of an Internet Archive page showing the file directory for Artifici1984. The page lists multiple file formats such as .srt, .vtt, .txt, .gif, .mp4, .mpeg, .ogv, and others. On the right-hand side, a browser extension panel titled Archive.org Link Grabber is open. The panel shows filters for Type/Ext, Name, Size, and Date, with regex and case sensitivity options. Below, it displays “56 matches” and a preview of filtered results such as Artifici1984.asr.srt and Artifici1984.asr.vtt. At the bottom of the panel is a section titled aria2 RPC.Screenshot of the AriaNg web interface showing a completed download. The task is named 1130.mp4, with a size of 768.35 MB. Task status is marked Completed with 100% progress. The download URL is https://archive.org/download/ipoy143season3/1130.mp4, and the file is saved in /aria2/data/ipoy143season3. The left sidebar shows categories: Downloading, Waiting, and Finished/Stopped (712), with Aria2 Status marked Connected.
kriware :verified:kriware@infosec.exchange
2025-08-23

Impacket Developer Guide. Part 1. RPC Deep Dive

Introduces Remote Procedure Call basics, interfaces, IDL, stubs, and marshalling with C++ examples.

cicada-8.medium.com/impacket-d

#RPC #Impacket

Revolution Party of Canadarevolutionpartycanada
2025-08-20

Check out the great grassroots organizing tools and resources available from our partner, Democratic Socialists of Canada (DSC)!

RSVP here:
democraticsocialists.ca/mat_01

Who Let The Dogs Out 🐾ashed@mastodon.ml
2025-08-16

#red_team #RPC

А что если зарегистрировать свой интерфейс раньше, чем легитимный RPC-сервер? Таким вопросом задался исследователь из SafeBreach и нашёл CVE-2025-49760 (github.com/SafeBreach-Labs/RPC). Логика работы эксплойта заключается в том, чтобы обогнать регистрацию легитимного интерфейса службы Storage Service, а затем дождаться обращения другой службы — Delivery Optimization Service. Вторая служба дёрнет RPC-метод SvcGetStorageDeviceInfo() (github.com/SafeBreach-Labs/RPC), а в ответе мы вернём UNC-путь! И служба Delivery Optimization Service пройдёт по этому пути, оставив учётные данные компьютера.

Презентация с DEF CON 33: (media.defcon.org/DEF%20CON%203)

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst