Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
Hi Kasun, Currently I am working on coming up with a formula for generating the hash value. Once it completed I will share it here. Thanks, Pirinthapan. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Fri, Mar 4, 2016 at 2:14 PM, Kasun De Silva wrote: > Hi Imesh, > > FYI, following is a service created by AppCloud for an application in > tenant aaa.com, > > Application name apple > Version 1.0.0 > > NAMESPACE NAME CLUSTER_IP > EXTERNAL_IPPORT(S) SELECTOR > AGE > aaa-comapple-1-0-0-8080192.168.4.104 > 80/TCPapp=apple,version=1.0.0 > 22h > > > > On Fri, Mar 4, 2016 at 2:01 PM, Kasun De Silva wrote: > >> Hi Imesh, >> >> Yes, we already add labels such as appname and version as of now to >> kubernetes entities for the purpose of tracking. Further more we plan to >> add service port also in service labels to differentiate http and https >> services from our side. >> >> @Pirin: Do we have a formula to generate 24 character hash based on app >> name and version? If so please share it. IMO we should consider port as >> well while generating the hash. >> >> On Fri, Mar 4, 2016 at 11:49 AM, Imesh Gunaratne wrote: >> >>> >>> >>> On Fri, Mar 4, 2016 at 11:38 AM, Pirinthapan Mahendran < >>> pirintha...@wso2.com> wrote: >>> Hi Imesh and Lakmal, Thanks for the replies. Since the generated hash value is sufficient, we are going with that solution. >>> >>> +1 It might be better to add labels to the services including their >>> metadata (ex: application-id, version, etc). >>> >>> Thanks >>> Thanks, Pirinthapan. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Fri, Mar 4, 2016 at 11:13 AM, Lakmal Warusawithana wrote: > > > On Fri, Mar 4, 2016 at 9:33 AM, Lakmal Warusawithana > wrote: > >> >> >> On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran < >> pirintha...@wso2.com> wrote: >> >>> Hi all, >>> >>> In AppCloud, when deploying application in Kubernetes we are using >>> the following pattern as the service name. >>> >>> *--* >>> >>> We are using the above pattern because a particular Application can >>> be identified by Application Name and Version within a tenant. >>> >>> But Kubernetes limits the number of characters of this service name >>> to 24. According to our current implementation, the version can have >>> maximum of 13 character. So if we consider these limitations, the >>> Application Name can have only 6 characters. So we are trying to come up >>> with a solution to increase the length of the application name. >>> >>> Initially we thought about using UUID as primary key and replacing >>> *'>> Name>-' *with the UUID. But according to the standared, >>> UUID has 36 characters. So we cannot use UUID. >>> >>> Currently we have the follwoing two options to solve this issue. >>> >>> 1. Using auto generated id of mysql database, which is generated >>> during adding application, instead of *'>> Name>-'*. But its not the recommonded way to use the auto >>> generated id outside to database. >>> >>> 2. Defining our own hash function to generate a 24 character string >>> instead of *'**--'*. >>> >>> >> Do we need port listed in service name? If not we can get 10 >> characters. For readable and traceable purpose better to have app name >> and >> version. Why do we need 13 character version here, can't we reduce it? >> > > As we discussed, since app name, version and port are in the service > labels, we can use generated hash value for service names > > > >> >> >>> Could you please share your opinion on the above options? >>> >>> Thanks & Regards, >>> Mahendran Pirinthapan >>> Software Engineer | WSO2 Inc. >>> Mobile +94772378732. >>> >> >> >> >> -- >> Lakmal Warusawithana >> Director - Cloud Architecture; WSO2 Inc. >> Mobile : +94714289692 >> Blog : http://lakmalsview.blogspot.com/ >> >> > > > -- > Lakmal Warusawithana > Director - Cloud Architecture; WSO2 Inc. > Mobile : +94714289692 > Blog : http://lakmalsview.blogspot.com/ > > >>> >>> >>> -- >>> *Imesh Gunaratne* >>> Senior Technical Lead >>> WSO2 Inc: http://wso2.com >>> T: +94 11 214 5345 M: +94 77 374 2057 >>> W: http://imesh.io >>> Lean . Enterprise . Middleware >>> >>> >>> ___ >>> Architecture mailing list >>> Architecture@wso2.org >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >>> >> >> >> -- >> *Kasun de Silva* >> Software Engineer | *WSO2 Inc.*; http://wso2.com >> lean.enterprise.middleware >> >> email : kas...@wso
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
Hi Imesh, FYI, following is a service created by AppCloud for an application in tenant aaa.com, Application name apple Version 1.0.0 NAMESPACE NAME CLUSTER_IP EXTERNAL_IPPORT(S) SELECTOR AGE aaa-comapple-1-0-0-8080192.168.4.104 80/TCPapp=apple,version=1.0.0 22h On Fri, Mar 4, 2016 at 2:01 PM, Kasun De Silva wrote: > Hi Imesh, > > Yes, we already add labels such as appname and version as of now to > kubernetes entities for the purpose of tracking. Further more we plan to > add service port also in service labels to differentiate http and https > services from our side. > > @Pirin: Do we have a formula to generate 24 character hash based on app > name and version? If so please share it. IMO we should consider port as > well while generating the hash. > > On Fri, Mar 4, 2016 at 11:49 AM, Imesh Gunaratne wrote: > >> >> >> On Fri, Mar 4, 2016 at 11:38 AM, Pirinthapan Mahendran < >> pirintha...@wso2.com> wrote: >> >>> Hi Imesh and Lakmal, >>> >>> Thanks for the replies. Since the generated hash value is sufficient, we >>> are going with that solution. >>> >> >> +1 It might be better to add labels to the services including their >> metadata (ex: application-id, version, etc). >> >> Thanks >> >>> >>> Thanks, >>> Pirinthapan. >>> >>> >>> >>> Mahendran Pirinthapan >>> Software Engineer | WSO2 Inc. >>> Mobile +94772378732. >>> >>> On Fri, Mar 4, 2016 at 11:13 AM, Lakmal Warusawithana >>> wrote: >>> On Fri, Mar 4, 2016 at 9:33 AM, Lakmal Warusawithana wrote: > > > On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran < > pirintha...@wso2.com> wrote: > >> Hi all, >> >> In AppCloud, when deploying application in Kubernetes we are using >> the following pattern as the service name. >> >> *--* >> >> We are using the above pattern because a particular Application can >> be identified by Application Name and Version within a tenant. >> >> But Kubernetes limits the number of characters of this service name >> to 24. According to our current implementation, the version can have >> maximum of 13 character. So if we consider these limitations, the >> Application Name can have only 6 characters. So we are trying to come up >> with a solution to increase the length of the application name. >> >> Initially we thought about using UUID as primary key and replacing >> *'> Name>-' *with the UUID. But according to the standared, >> UUID has 36 characters. So we cannot use UUID. >> >> Currently we have the follwoing two options to solve this issue. >> >> 1. Using auto generated id of mysql database, which is generated >> during adding application, instead of *'> Name>-'*. But its not the recommonded way to use the auto >> generated id outside to database. >> >> 2. Defining our own hash function to generate a 24 character string >> instead of *'**--'*. >> >> > Do we need port listed in service name? If not we can get 10 > characters. For readable and traceable purpose better to have app name > and > version. Why do we need 13 character version here, can't we reduce it? > As we discussed, since app name, version and port are in the service labels, we can use generated hash value for service names > > >> Could you please share your opinion on the above options? >> >> Thanks & Regards, >> Mahendran Pirinthapan >> Software Engineer | WSO2 Inc. >> Mobile +94772378732. >> > > > > -- > Lakmal Warusawithana > Director - Cloud Architecture; WSO2 Inc. > Mobile : +94714289692 > Blog : http://lakmalsview.blogspot.com/ > > -- Lakmal Warusawithana Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/ >>> >> >> >> -- >> *Imesh Gunaratne* >> Senior Technical Lead >> WSO2 Inc: http://wso2.com >> T: +94 11 214 5345 M: +94 77 374 2057 >> W: http://imesh.io >> Lean . Enterprise . Middleware >> >> >> ___ >> Architecture mailing list >> Architecture@wso2.org >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > *Kasun de Silva* > Software Engineer | *WSO2 Inc.*; http://wso2.com > lean.enterprise.middleware > > email : kas...@wso2.com > mobile : +94 77 794 4260 > > -- *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
Hi Imesh, Yes, we already add labels such as appname and version as of now to kubernetes entities for the purpose of tracking. Further more we plan to add service port also in service labels to differentiate http and https services from our side. @Pirin: Do we have a formula to generate 24 character hash based on app name and version? If so please share it. IMO we should consider port as well while generating the hash. On Fri, Mar 4, 2016 at 11:49 AM, Imesh Gunaratne wrote: > > > On Fri, Mar 4, 2016 at 11:38 AM, Pirinthapan Mahendran < > pirintha...@wso2.com> wrote: > >> Hi Imesh and Lakmal, >> >> Thanks for the replies. Since the generated hash value is sufficient, we >> are going with that solution. >> > > +1 It might be better to add labels to the services including their > metadata (ex: application-id, version, etc). > > Thanks > >> >> Thanks, >> Pirinthapan. >> >> >> >> Mahendran Pirinthapan >> Software Engineer | WSO2 Inc. >> Mobile +94772378732. >> >> On Fri, Mar 4, 2016 at 11:13 AM, Lakmal Warusawithana >> wrote: >> >>> >>> >>> On Fri, Mar 4, 2016 at 9:33 AM, Lakmal Warusawithana >>> wrote: >>> On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran < pirintha...@wso2.com> wrote: > Hi all, > > In AppCloud, when deploying application in Kubernetes we are using the > following pattern as the service name. > > *--* > > We are using the above pattern because a particular Application can be > identified by Application Name and Version within a tenant. > > But Kubernetes limits the number of characters of this service name to > 24. According to our current implementation, the version can have maximum > of 13 character. So if we consider these limitations, the Application Name > can have only 6 characters. So we are trying to come up with a solution to > increase the length of the application name. > > Initially we thought about using UUID as primary key and replacing > *' Name>-' *with the UUID. But according to the standared, UUID > has 36 characters. So we cannot use UUID. > > Currently we have the follwoing two options to solve this issue. > > 1. Using auto generated id of mysql database, which is generated > during adding application, instead of *'-'*. > But its not the recommonded way to use the auto generated id outside to > database. > > 2. Defining our own hash function to generate a 24 character string > instead of *'**--'*. > > Do we need port listed in service name? If not we can get 10 characters. For readable and traceable purpose better to have app name and version. Why do we need 13 character version here, can't we reduce it? >>> >>> As we discussed, since app name, version and port are in the service >>> labels, we can use generated hash value for service names >>> >>> >>> > Could you please share your opinion on the above options? > > Thanks & Regards, > Mahendran Pirinthapan > Software Engineer | WSO2 Inc. > Mobile +94772378732. > -- Lakmal Warusawithana Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/ >>> >>> >>> -- >>> Lakmal Warusawithana >>> Director - Cloud Architecture; WSO2 Inc. >>> Mobile : +94714289692 >>> Blog : http://lakmalsview.blogspot.com/ >>> >>> >> > > > -- > *Imesh Gunaratne* > Senior Technical Lead > WSO2 Inc: http://wso2.com > T: +94 11 214 5345 M: +94 77 374 2057 > W: http://imesh.io > Lean . Enterprise . Middleware > > > ___ > Architecture mailing list > Architecture@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
On Fri, Mar 4, 2016 at 11:38 AM, Pirinthapan Mahendran wrote: > Hi Imesh and Lakmal, > > Thanks for the replies. Since the generated hash value is sufficient, we > are going with that solution. > +1 It might be better to add labels to the services including their metadata (ex: application-id, version, etc). Thanks > > Thanks, > Pirinthapan. > > > > Mahendran Pirinthapan > Software Engineer | WSO2 Inc. > Mobile +94772378732. > > On Fri, Mar 4, 2016 at 11:13 AM, Lakmal Warusawithana > wrote: > >> >> >> On Fri, Mar 4, 2016 at 9:33 AM, Lakmal Warusawithana >> wrote: >> >>> >>> >>> On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran < >>> pirintha...@wso2.com> wrote: >>> Hi all, In AppCloud, when deploying application in Kubernetes we are using the following pattern as the service name. *--* We are using the above pattern because a particular Application can be identified by Application Name and Version within a tenant. But Kubernetes limits the number of characters of this service name to 24. According to our current implementation, the version can have maximum of 13 character. So if we consider these limitations, the Application Name can have only 6 characters. So we are trying to come up with a solution to increase the length of the application name. Initially we thought about using UUID as primary key and replacing *'>>> Name>-' *with the UUID. But according to the standared, UUID has 36 characters. So we cannot use UUID. Currently we have the follwoing two options to solve this issue. 1. Using auto generated id of mysql database, which is generated during adding application, instead of *'-'*. But its not the recommonded way to use the auto generated id outside to database. 2. Defining our own hash function to generate a 24 character string instead of *'**--'*. >>> Do we need port listed in service name? If not we can get 10 >>> characters. For readable and traceable purpose better to have app name and >>> version. Why do we need 13 character version here, can't we reduce it? >>> >> >> As we discussed, since app name, version and port are in the service >> labels, we can use generated hash value for service names >> >> >> >>> >>> Could you please share your opinion on the above options? Thanks & Regards, Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. >>> >>> >>> >>> -- >>> Lakmal Warusawithana >>> Director - Cloud Architecture; WSO2 Inc. >>> Mobile : +94714289692 >>> Blog : http://lakmalsview.blogspot.com/ >>> >>> >> >> >> -- >> Lakmal Warusawithana >> Director - Cloud Architecture; WSO2 Inc. >> Mobile : +94714289692 >> Blog : http://lakmalsview.blogspot.com/ >> >> > -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.io Lean . Enterprise . Middleware ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
Hi Imesh and Lakmal, Thanks for the replies. Since the generated hash value is sufficient, we are going with that solution. Thanks, Pirinthapan. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Fri, Mar 4, 2016 at 11:13 AM, Lakmal Warusawithana wrote: > > > On Fri, Mar 4, 2016 at 9:33 AM, Lakmal Warusawithana > wrote: > >> >> >> On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran < >> pirintha...@wso2.com> wrote: >> >>> Hi all, >>> >>> In AppCloud, when deploying application in Kubernetes we are using the >>> following pattern as the service name. >>> >>> *--* >>> >>> We are using the above pattern because a particular Application can be >>> identified by Application Name and Version within a tenant. >>> >>> But Kubernetes limits the number of characters of this service name to >>> 24. According to our current implementation, the version can have maximum >>> of 13 character. So if we consider these limitations, the Application Name >>> can have only 6 characters. So we are trying to come up with a solution to >>> increase the length of the application name. >>> >>> Initially we thought about using UUID as primary key and replacing >>> *'>> Name>-' *with the UUID. But according to the standared, UUID >>> has 36 characters. So we cannot use UUID. >>> >>> Currently we have the follwoing two options to solve this issue. >>> >>> 1. Using auto generated id of mysql database, which is generated during >>> adding application, instead of *'-'*. But >>> its not the recommonded way to use the auto generated id outside to >>> database. >>> >>> 2. Defining our own hash function to generate a 24 character string >>> instead of *'**--'*. >>> >>> >> Do we need port listed in service name? If not we can get 10 characters. >> For readable and traceable purpose better to have app name and version. Why >> do we need 13 character version here, can't we reduce it? >> > > As we discussed, since app name, version and port are in the service > labels, we can use generated hash value for service names > > > >> >> >>> Could you please share your opinion on the above options? >>> >>> Thanks & Regards, >>> Mahendran Pirinthapan >>> Software Engineer | WSO2 Inc. >>> Mobile +94772378732. >>> >> >> >> >> -- >> Lakmal Warusawithana >> Director - Cloud Architecture; WSO2 Inc. >> Mobile : +94714289692 >> Blog : http://lakmalsview.blogspot.com/ >> >> > > > -- > Lakmal Warusawithana > Director - Cloud Architecture; WSO2 Inc. > Mobile : +94714289692 > Blog : http://lakmalsview.blogspot.com/ > > ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
On Fri, Mar 4, 2016 at 9:33 AM, Lakmal Warusawithana wrote: > > > On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran < > pirintha...@wso2.com> wrote: > >> Hi all, >> >> In AppCloud, when deploying application in Kubernetes we are using the >> following pattern as the service name. >> >> *--* >> >> We are using the above pattern because a particular Application can be >> identified by Application Name and Version within a tenant. >> >> But Kubernetes limits the number of characters of this service name to >> 24. According to our current implementation, the version can have maximum >> of 13 character. So if we consider these limitations, the Application Name >> can have only 6 characters. So we are trying to come up with a solution to >> increase the length of the application name. >> >> Initially we thought about using UUID as primary key and replacing >> *'> Name>-' *with the UUID. But according to the standared, UUID >> has 36 characters. So we cannot use UUID. >> >> Currently we have the follwoing two options to solve this issue. >> >> 1. Using auto generated id of mysql database, which is generated during >> adding application, instead of *'-'*. But its >> not the recommonded way to use the auto generated id outside to database. >> >> 2. Defining our own hash function to generate a 24 character string >> instead of *'**--'*. >> >> > Do we need port listed in service name? If not we can get 10 characters. > For readable and traceable purpose better to have app name and version. Why > do we need 13 character version here, can't we reduce it? > As we discussed, since app name, version and port are in the service labels, we can use generated hash value for service names > > >> Could you please share your opinion on the above options? >> >> Thanks & Regards, >> Mahendran Pirinthapan >> Software Engineer | WSO2 Inc. >> Mobile +94772378732. >> > > > > -- > Lakmal Warusawithana > Director - Cloud Architecture; WSO2 Inc. > Mobile : +94714289692 > Blog : http://lakmalsview.blogspot.com/ > > -- Lakmal Warusawithana Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/ ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran wrote: > Hi all, > > In AppCloud, when deploying application in Kubernetes we are using the > following pattern as the service name. > > *--* > > We are using the above pattern because a particular Application can be > identified by Application Name and Version within a tenant. > > But Kubernetes limits the number of characters of this service name to 24. > According to our current implementation, the version can have maximum of 13 > character. So if we consider these limitations, the Application Name can > have only 6 characters. So we are trying to come up with a solution to > increase the length of the application name. > > Initially we thought about using UUID as primary key and replacing > *' Name>-' *with the UUID. But according to the standared, UUID has > 36 characters. So we cannot use UUID. > > Currently we have the follwoing two options to solve this issue. > > 1. Using auto generated id of mysql database, which is generated during > adding application, instead of *'-'*. But its > not the recommonded way to use the auto generated id outside to database. > > 2. Defining our own hash function to generate a 24 character string > instead of *'**--'*. > > Do we need port listed in service name? If not we can get 10 characters. For readable and traceable purpose better to have app name and version. Why do we need 13 character version here, can't we reduce it? > Could you please share your opinion on the above options? > > Thanks & Regards, > Mahendran Pirinthapan > Software Engineer | WSO2 Inc. > Mobile +94772378732. > -- Lakmal Warusawithana Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/ ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
Re: [Architecture] [AppCloud] Defining the Service Name in Kubernetes
Hi Pirinthapan, We had the same problem in Stratos when creating K8S services. The way we resolved that is using a sequence number and a prefix [1]: *"service-"* [1] https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaases/kubernetes/KubernetesIaas.java#L683 Thanks On Thu, Mar 3, 2016 at 9:42 PM, Pirinthapan Mahendran wrote: > Hi all, > > In AppCloud, when deploying application in Kubernetes we are using the > following pattern as the service name. > > *--* > > We are using the above pattern because a particular Application can be > identified by Application Name and Version within a tenant. > > But Kubernetes limits the number of characters of this service name to 24. > According to our current implementation, the version can have maximum of 13 > character. So if we consider these limitations, the Application Name can > have only 6 characters. So we are trying to come up with a solution to > increase the length of the application name. > > Initially we thought about using UUID as primary key and replacing > *' Name>-' *with the UUID. But according to the standared, UUID has > 36 characters. So we cannot use UUID. > > Currently we have the follwoing two options to solve this issue. > > 1. Using auto generated id of mysql database, which is generated during > adding application, instead of *'-'*. But its > not the recommonded way to use the auto generated id outside to database. > > 2. Defining our own hash function to generate a 24 character string > instead of *'**--'*. > > Could you please share your opinion on the above options? > > Thanks & Regards, > Mahendran Pirinthapan > Software Engineer | WSO2 Inc. > Mobile +94772378732. > -- *Imesh Gunaratne* Senior Technical Lead WSO2 Inc: http://wso2.com T: +94 11 214 5345 M: +94 77 374 2057 W: http://imesh.io Lean . Enterprise . Middleware ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
[Architecture] [AppCloud] Defining the Service Name in Kubernetes
Hi all, In AppCloud, when deploying application in Kubernetes we are using the following pattern as the service name. *--* We are using the above pattern because a particular Application can be identified by Application Name and Version within a tenant. But Kubernetes limits the number of characters of this service name to 24. According to our current implementation, the version can have maximum of 13 character. So if we consider these limitations, the Application Name can have only 6 characters. So we are trying to come up with a solution to increase the length of the application name. Initially we thought about using UUID as primary key and replacing *'-' *with the UUID. But according to the standared, UUID has 36 characters. So we cannot use UUID. Currently we have the follwoing two options to solve this issue. 1. Using auto generated id of mysql database, which is generated during adding application, instead of *'-'*. But its not the recommonded way to use the auto generated id outside to database. 2. Defining our own hash function to generate a 24 character string instead of *'**--'*. Could you please share your opinion on the above options? Thanks & Regards, Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture