You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/03/12 11:16:00 UTC

[jira] [Commented] (CAMEL-16337) camel-core - pooled exchanges - Can we optimize exchangeId

    [ https://issues.apache.org/jira/browse/CAMEL-16337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300235#comment-17300235 ] 

Claus Ibsen commented on CAMEL-16337:
-------------------------------------

The default uuid is generated as 32 char String. With first 16 as uuid, and last 16 as inc counter.
We can make a alternative short default that is 16 char (50% size) String, with 5 char upper, 1 sep, and 10 counter (16 values per digit)

> camel-core - pooled exchanges - Can we optimize exchangeId
> ----------------------------------------------------------
>
>                 Key: CAMEL-16337
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16337
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.9.0
>
>
> To not forget about this idea.
> We can recycle parts from old exchangeId, as we can break it into 2 parts, upper part that is uuid for lifetime of context, and lower part that is uuid per exchange.
> So we can keep upper part as constant, and swap out the lower part.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)