From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 34FCF8239C for ; Sun, 11 Feb 2018 16:14:12 +0100 (CET) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=picflo_2@web.de; spf=Pass smtp.mailfrom=picflo_2@web.de; spf=None smtp.helo=postmaster@mout.web.de Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of picflo_2@web.de) identity=pra; client-ip=212.227.17.11; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="picflo_2@web.de"; x-sender="picflo_2@web.de"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of picflo_2@web.de designates 212.227.17.11 as permitted sender) identity=mailfrom; client-ip=212.227.17.11; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="picflo_2@web.de"; x-sender="picflo_2@web.de"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mout.web.de) identity=helo; client-ip=212.227.17.11; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="picflo_2@web.de"; x-sender="postmaster@mout.web.de"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AQNZBwxeWtGWpbKbKYygT1eQ3lGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcu+bR7h7PlgxGXEQZ/co6odzbaO6ua4ASQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9HiTahfL9+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYe?= =?us-ascii?q?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IJbbCZKBwLUSCq6R8C/Q/4JLRmqDIphnzgD?= =?us-ascii?q?DOPzTog8yVexuQW8x7c1duc=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CyAACiXIBahwsR49RdGgEBAQEBAgEBA?= =?us-ascii?q?QEIAQEBAYJagWhmKINlmEaBWyeJFpBaCoU7AiGCGRkHBDQUAQIBAQEBAQEBAQE?= =?us-ascii?q?SAQEBCA0JCCgvgjgkgkcBAQQBI1YFCwUeAgImAgIhNgYTEQqKAQEDDQyvcIInh?= =?us-ascii?q?mkfKw0VV0WCDQEBAQEBAQQBAQEBAQEBIQ0BgQGDbYIVg3SCQ4MhghcBASgDEII?= =?us-ascii?q?9PYJlBYEtAYlamHE1BwKQeocphiqDbgWICIsUgzaJToE8NkeBK3FRgSCBJoJlg?= =?us-ascii?q?hN3ihKCPAEBAQ?= X-IPAS-Result: =?us-ascii?q?A0CyAACiXIBahwsR49RdGgEBAQEBAgEBAQEIAQEBAYJagWh?= =?us-ascii?q?mKINlmEaBWyeJFpBaCoU7AiGCGRkHBDQUAQIBAQEBAQEBAQESAQEBCA0JCCgvg?= =?us-ascii?q?jgkgkcBAQQBI1YFCwUeAgImAgIhNgYTEQqKAQEDDQyvcIInhmkfKw0VV0WCDQE?= =?us-ascii?q?BAQEBAQQBAQEBAQEBIQ0BgQGDbYIVg3SCQ4MhghcBASgDEII9PYJlBYEtAYlam?= =?us-ascii?q?HE1BwKQeocphiqDbgWICIsUgzaJToE8NkeBK3FRgSCBJoJlghN3ihKCPAEBAQ?= X-IronPort-AV: E=Sophos;i="5.46,496,1511823600"; d="scan'208,217";a="254398613" Received: from mout.web.de ([212.227.17.11]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 11 Feb 2018 16:14:11 +0100 Received: from [95.90.196.108] ([95.90.196.108]) by 3c-app-webde-bap62.server.lan (via HTTP); Sun, 11 Feb 2018 16:14:09 +0100 MIME-Version: 1.0 Message-ID: From: picflo_2@web.de To: "Maxime Ransan" Cc: "Kenneth Adam Miller" , =?UTF-8?Q?=22Louis_Roch=C3=A9=22?= , "caml users" Content-Type: text/html; charset=UTF-8 Date: Sun, 11 Feb 2018 16:14:09 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <4236B9F6-0302-4E8E-9DB7-3320A1C28FE8@louisroche.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:V9jNYugn3Q5kpKc4mkXGPIyPCUhhUAdSYU0bDYwzj5r VLyTcWfapvoaV65A2DVXm760L0iTvfMkuRTpyDrgxR9rOEGCLi Qq6na0NHjPbxQ4dCA9FANitXu915ZVy1qbPTUgLzACwTax+hnl XdJIukySbMhzM82NObt8tbsI5tHuy3LxlvsBk1Vyuw8K03BtJc v8sZer9mjoWqDZJyC2k++DuPZ2cstHIVG1chhO03HZwkdB/aJN zs5B5lfQOKBaDeWhJQ8B0z4IbfgxiPuMiMNn93C54Pr4knRwOu zBajxw= X-UI-Out-Filterresults: notjunk:1;V01:K0:TqDeF51gFKs=:5zWGeBSa0z9qnjfjy4sBLu SEC2BbE3uz5MYL8r8Fw2exxRYwZqn1qHZKbsw/8NCFpP16NeRcUDI1PfDt0U26PWZPF5W1Me5 yTY3w6x1frhH/bYGABieh4mY9Hjt6Vx0vZdW2K2x3KP1u/+4/L8C4TV4HIPl0jZew1JBVa1h+ ebYWqk0kHjWSjosjnn+uCGVnJ5RSzArt7laC2DlypOEWxqvhRtFGsO4XYKDUbe/G0lAcDpnqU 1wjkXhMa1fYy/7ML2Ery0FU8WnCS1h0X4WHsoDWxsuUGQmJt8qywt1I7ao/YAO56xpmtm2bf5 eVkK56QYQVoYIZKne7E+uaWNcGCFCdwv7hCvJE/8lh0ApA2X4533dNzTL56NE9OIlwQnLttd8 2YdKjaXIx/BFA+lW4YBAo3iyFOxJW0faZTSmyv5XuRyQSsrle5xLrdAkCyvUkqgQh4nuLuZI4 sdIAIKp7+bdb6bBzG7pq2qjFEWjhyrpGN2jJDv7hFdiGnRnrR8Ic X-Validation-by: picflo_2@web.de Subject: Aw: [Caml-list] Protobuf for ocaml
Sorry for the missunderstanding.
 
I was asking about the general use of unique identifier in message based distributed systems.
 
Gesendet: Sonntag, 11. Februar 2018 um 16:01 Uhr
Von: "Maxime Ransan" <maxime.ransan@gmail.com>
An: picflo_2@web.de
Cc: "Kenneth Adam Miller" <kennethadammiller@gmail.com>, "Louis Roché" <mail@louisroche.net>, "caml users" <caml-list@inria.fr>
Betreff: Re: Re: [Caml-list] Protobuf for ocaml
Both solution focuses purely on data serialization. The protocol part (choice of transport protocol, service discovery, retries, async vs async..) are expected to be done outside on those library.
 
On Sun, Feb 11, 2018 at 9:15 AM <picflo_2@web.de> wrote:
Hi,
 
thanks for all the answers, I will look deeper into ocaml-protoc.
 
As a kind of follow-up question. Do you add some kind of unique identifier to every message to allow resending the message in case some service goes down?
 
Thanks again for the help here I highly appreciate it,
Florian
 
 
Gesendet: Sonntag, 11. Februar 2018 um 03:15 Uhr
Von: "Maxime Ransan" <maxime.ransan@gmail.com>
An: "Kenneth Adam Miller" <kennethadammiller@gmail.com>
Cc: "Louis Roché" <mail@louisroche.net>, picflo_2@web.de, "caml users" <caml-list@inria.fr>
Betreff: Re: [Caml-list] Protobuf for ocaml
The difference between ppx_deriving_protobuf and ocaml-protoc is that the former generates a protobuf schema from an OCaml type while the later generates the OCaml type from a protobuf schema. They are both using the same runtime library for the binary encoding.
 
Although I have written ocaml-protoc as a personal project, it has been used successfully in a professional context to interface with apache mesos.
 
 
On Sat, Feb 10, 2018 at 8:10 PM Kenneth Adam Miller <kennethadammiller@gmail.com> wrote:
The space complexity is ridiculous (at least X^2, possibly 2^n), it isn't as convenient as any of the others in allowing you to derive your own specs, it's horribly written code that uses ref and doesn't conform to OCaml conventions, it caused a lot of crashing on our end, only works for a particular compile target until I went to update it, the Makefile is an awful unmaintainable and unreadable mess, the language it defines is unnecessary and it's hard to get anything to change.

We (me and some team mates) had this forced on us for the features we required, which was to be able to get data in and out of ocaml to other languages, and wanted to use it for a large project. It ended up causing a lot of unnecessary and unwanted slow down in development, both for our cases and for CMU's BAP. They had the same problems, and everyone that has touched it had to do unwanted work trying to get it to reliably do what it advertises. 
 
On Sat, Feb 10, 2018 at 7:43 PM, Louis Roché <mail@louisroche.net> wrote:
Can you give more details please ?
 

> On 11 Feb 2018, at 04:56, Kenneth Adam Miller <kennethadammiller@gmail.com> wrote:
>
> **Dont use piqi!** It's really terrible code.