Re: [DISCUSS] Heading to graduation

2018-09-10 Thread Zen Lin
FYI, To the ServiceComb trademark transferring, the  donor counsel has sent
the transferring contract to Brand VP, and waiting for replying.

Best Regards,
---
Zen Lin
zenlintechnofr...@gmail.com
Focused on Micro Service and Apache ServiceComb


Zen Lin  于2018年9月11日周二 下午2:40写道:

> Good News, thanks to Willem's hard work.
>
> Best Regards,
> ---
> Zen Lin
> zenlintechnofr...@gmail.com
> Focused on Micro Service and Apache ServiceComb
>
>
> Willem Jiang  于2018年9月10日周一 下午7:54写道:
>
>> Hi,
>>
>> Here are the resolution document which is based on the feedback of
>> moving the whole committer to ServiceComb PMC.
>> Please let me know if you have any question about this document.
>>
>> Establish the Apache ServiceComb Project
>>
>> WHEREAS, the Board of Directors deems it to be in the best interests of
>> the Foundation and consistent with the Foundation's purpose to establish
>> a Project Management Committee charged with the creation and maintenance
>> of open-source software, for distribution at no charge to the public,
>> related to a microservice framework that provides a set of tools and
>> components to make development and deployment of cloud applications
>> easier.
>>
>> NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
>> (PMC), to be known as the "Apache ServiceComb Project", be and hereby is
>> established pursuant to Bylaws of the Foundation; and be it further
>>
>> RESOLVED, that the Apache ServiceComb Project be and hereby is
>> responsible for the creation and maintenance of software related to a
>> microservice framework that provides a set of tools and components to
>> make development and deployment of cloud applications easier; and be it
>> further
>>
>> RESOLVED, that the office of "Vice President, Apache ServiceComb" be and
>> hereby is created, the person holding such office to serve at the
>> direction of the Board of Directors as the chair of the Apache
>> ServiceComb Project, and to have primary responsibility for management
>> of the projects within the scope of responsibility of the Apache
>> ServiceComb Project; and be it further
>>
>> RESOLVED, that the persons listed immediately below be and hereby are
>> appointed to serve as the initial members of the Apache ServiceComb
>> Project:
>>
>>  * Aray Chenchu Sukesh
>>  * Bao Liu
>>  * Eric Lee   
>>  * Jean-Baptiste Onofré   
>>  * Jimin Wu   
>>  * Linzhinan  
>>  * Mohammad Asif Siddiqui 
>>  * Qi Zhang   
>>  * Roman Shaposhnik   
>>  * Timothy Chen   
>>  * Willem Ning Jiang  
>>  * Yang Bo
>>  * Yihua Cui  
>>  * Yin Xiang  
>>  * Zheng Feng 
>>  * zhengyangyong  
>>
>> NOW, THEREFORE, BE IT FURTHER RESOLVED, that Willem Ning Jiang be
>> appointed to the office of Vice President, Apache ServiceComb, to serve
>> in accordance with and subject to the direction of the Board of
>> Directors and the Bylaws of the Foundation until death, resignation,
>> retirement, removal or disqualification, or until a successor is
>> appointed; and be it further
>>
>> RESOLVED, that the initial Apache ServiceComb PMC be and hereby is
>> tasked with the creation of a set of bylaws intended to encourage open
>> development and increased participation in the Apache ServiceComb
>> Project; and be it further
>>
>> RESOLVED, that the Apache ServiceComb Project be and hereby is tasked
>> with the migration and rationalization of the Apache Incubator
>> ServiceComb podling; and be it further
>>
>> RESOLVED, that all responsibilities pertaining to the Apache Incubator
>> ServiceComb podling encumbered upon the Apache Incubator PMC are
>> hereafter discharged.
>>
>>
>> Willem Jiang
>>
>> Twitter: willemjiang
>> Weibo: 姜宁willem
>> On Thu, Sep 6, 2018 at 8:31 AM Willem Jiang 
>> wrote:
>> >
>> > I already send out a mail to the private mailing list.  But it could
>> > be more fair to let the existing committers make their own choice.
>> > I will send out separate a mail to the dev to make sure they are
>> informed.
>> >
>> >
>> > Willem Jiang
>> >
>> > Twitter: willemjiang
>> > Weibo: 姜宁willem
>> >
>> > On Thu, Sep 6, 2018 at 7:03 AM Roman Shaposhnik 
>> wrote:
>> > >
>> > > On Wed, Sep 5, 2018 at 3:47 PM, Willem Jiang 
>> wrote:
>> > > > There are some committer who moves on to the other job and don't
>> spend
>> > > > much time on this project.
>> > > > I'd happy to send a mail for them to ask if they are still want to
>> > > > join us. It could be great if they can still contribute to project.
>> > >
>> > > I typically find it very useful to have an email explaining the
>> > > responsiblilities
>> > > of the PMC membership sent out right before the graduation asking
>> existing
>> > > committers if they'd be interested in those responsibilities.
>> > >
>> > > Thanks,
>> > > Roman.
>>
>


HA issue of service comb TCC workflow

2018-09-10 Thread cherrylzhao
Hi, all

I have faced some HA issue when implementing TCC workflow, this is our design 
document [1].
HA issue is following.

1. Omega finished try logic, but sending participate event failed, how about 
the retry mechanisms should we design?
2. Omega finished try logic, but sending participate event failed, should omega 
invoke cancel method automatically?
3. Omega finished try logic, alpha received participate event and persistence 
success, but sending ACK to omega failed,
should alpha do rollback automatically, when omega received failed 
feedback, also invoke cancel method automatically?
4. When sending TCCEnd event to alpha failed, how about alpha do compensation 
recovery? 
Maybe event scanner is necessary for this scenario to do recovery, but we 
need to do detail design for this.
5. If we introduce event scanner, how to handle  concurrency from TCCEnd 
command?

Please feel free to give some advices.

[1]
https://github.com/apache/incubator-servicecomb-saga/blob/master/docs/design.md#workflow-tcc
 



Best Wishes & Regards

Re: [DISCUSS] Heading to graduation

2018-09-10 Thread Zen Lin
Good News, thanks to Willem's hard work.

Best Regards,
---
Zen Lin
zenlintechnofr...@gmail.com
Focused on Micro Service and Apache ServiceComb


Willem Jiang  于2018年9月10日周一 下午7:54写道:

> Hi,
>
> Here are the resolution document which is based on the feedback of
> moving the whole committer to ServiceComb PMC.
> Please let me know if you have any question about this document.
>
> Establish the Apache ServiceComb Project
>
> WHEREAS, the Board of Directors deems it to be in the best interests of
> the Foundation and consistent with the Foundation's purpose to establish
> a Project Management Committee charged with the creation and maintenance
> of open-source software, for distribution at no charge to the public,
> related to a microservice framework that provides a set of tools and
> components to make development and deployment of cloud applications
> easier.
>
> NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
> (PMC), to be known as the "Apache ServiceComb Project", be and hereby is
> established pursuant to Bylaws of the Foundation; and be it further
>
> RESOLVED, that the Apache ServiceComb Project be and hereby is
> responsible for the creation and maintenance of software related to a
> microservice framework that provides a set of tools and components to
> make development and deployment of cloud applications easier; and be it
> further
>
> RESOLVED, that the office of "Vice President, Apache ServiceComb" be and
> hereby is created, the person holding such office to serve at the
> direction of the Board of Directors as the chair of the Apache
> ServiceComb Project, and to have primary responsibility for management
> of the projects within the scope of responsibility of the Apache
> ServiceComb Project; and be it further
>
> RESOLVED, that the persons listed immediately below be and hereby are
> appointed to serve as the initial members of the Apache ServiceComb
> Project:
>
>  * Aray Chenchu Sukesh
>  * Bao Liu
>  * Eric Lee   
>  * Jean-Baptiste Onofré   
>  * Jimin Wu   
>  * Linzhinan  
>  * Mohammad Asif Siddiqui 
>  * Qi Zhang   
>  * Roman Shaposhnik   
>  * Timothy Chen   
>  * Willem Ning Jiang  
>  * Yang Bo
>  * Yihua Cui  
>  * Yin Xiang  
>  * Zheng Feng 
>  * zhengyangyong  
>
> NOW, THEREFORE, BE IT FURTHER RESOLVED, that Willem Ning Jiang be
> appointed to the office of Vice President, Apache ServiceComb, to serve
> in accordance with and subject to the direction of the Board of
> Directors and the Bylaws of the Foundation until death, resignation,
> retirement, removal or disqualification, or until a successor is
> appointed; and be it further
>
> RESOLVED, that the initial Apache ServiceComb PMC be and hereby is
> tasked with the creation of a set of bylaws intended to encourage open
> development and increased participation in the Apache ServiceComb
> Project; and be it further
>
> RESOLVED, that the Apache ServiceComb Project be and hereby is tasked
> with the migration and rationalization of the Apache Incubator
> ServiceComb podling; and be it further
>
> RESOLVED, that all responsibilities pertaining to the Apache Incubator
> ServiceComb podling encumbered upon the Apache Incubator PMC are
> hereafter discharged.
>
>
> Willem Jiang
>
> Twitter: willemjiang
> Weibo: 姜宁willem
> On Thu, Sep 6, 2018 at 8:31 AM Willem Jiang 
> wrote:
> >
> > I already send out a mail to the private mailing list.  But it could
> > be more fair to let the existing committers make their own choice.
> > I will send out separate a mail to the dev to make sure they are
> informed.
> >
> >
> > Willem Jiang
> >
> > Twitter: willemjiang
> > Weibo: 姜宁willem
> >
> > On Thu, Sep 6, 2018 at 7:03 AM Roman Shaposhnik 
> wrote:
> > >
> > > On Wed, Sep 5, 2018 at 3:47 PM, Willem Jiang 
> wrote:
> > > > There are some committer who moves on to the other job and don't
> spend
> > > > much time on this project.
> > > > I'd happy to send a mail for them to ask if they are still want to
> > > > join us. It could be great if they can still contribute to project.
> > >
> > > I typically find it very useful to have an email explaining the
> > > responsiblilities
> > > of the PMC membership sent out right before the graduation asking
> existing
> > > committers if they'd be interested in those responsibilities.
> > >
> > > Thanks,
> > > Roman.
>


Re: [DISCUSS] Q & A of website issue

2018-09-10 Thread yhs0092
OK, I will send a PR later.


Yours sincerely


Yao Haishi
yhs0...@163.com


On 9/9/2018 16:38,Willem Jiang wrote:
Hi Haishi,

Please feel free to send a PR to keep the FAQ updated.

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Fri, Sep 7, 2018 at 2:25 PM yhs0092  wrote:

Hi, maybe some questions in our website
https://docs.servicecomb.io/java-chassis/en_US/question-and-answer/question_answer.html
should be updated.


For example, there is a question

Q: 框架中引入了vertx会有什么好处?

A: 
启用vertx的标准工作模式更强大,不过对业务人员要求就有些高了,目前还没开放业务接口出来。vertx标准的reactive工作模式,要求业务代码中不能有任何的block
 wait,sleep,大循环,总之不能有阻塞,做到这一点,就可以用更少的CPU,提供更多的服务。

I guess this answer is talking about reactive mode, and we have provided this 
feature.

And there is an answer says that JavaChassis does not support generic param,

Q: ServiceComb不支持泛型

A: 明确不支持,需要修改接口,接口修改后需要修改版本号,以免consumer还是使用旧的版本。

but we have supported generic param and response type. See 
https://docs.servicecomb.io/java-chassis/en_US/build-provider/interface-constraints.html


Yours sincerely


Yao Haishi
yhs0...@163.com


On 9/5/2018 17:24,Zen Lin wrote:
To my opinion, if we have faqs,  we should make sure there is a search
entry that can search questions directly by keyword.
Usually, opensource projects use google search embeded into the website,
but I am not sure if  the google search can search out them.

If we can not reach that, I suggest we just list them within the user
guide, thus when users use user guide, they can also get the corresponding
faqs.


Best Regards,
---
Zen Lin
zenlintechnofr...@gmail.com
Focused on Micro Service and Apache ServiceComb


DeanLee <82529...@qq.com> 于2018年9月5日周三 下午4:21写道:

Hi all,
I want to translate Q & A of the website for English as blew, but
here is a problem.
http://servicecomb.incubator.apache.org/cn/faqs/
For now, we have two pages of Q&A(another one in UserGuide).
Should we merge it together or keep it split as before

https://docs.servicecomb.io/java-chassis/en_US/question-and-answer/question_answer.html


Best Regards,
Dean


Re: [DISCUSS] Heading to graduation

2018-09-10 Thread Willem Jiang
Hi,

Here are the resolution document which is based on the feedback of
moving the whole committer to ServiceComb PMC.
Please let me know if you have any question about this document.

Establish the Apache ServiceComb Project

WHEREAS, the Board of Directors deems it to be in the best interests of
the Foundation and consistent with the Foundation's purpose to establish
a Project Management Committee charged with the creation and maintenance
of open-source software, for distribution at no charge to the public,
related to a microservice framework that provides a set of tools and
components to make development and deployment of cloud applications
easier.

NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
(PMC), to be known as the "Apache ServiceComb Project", be and hereby is
established pursuant to Bylaws of the Foundation; and be it further

RESOLVED, that the Apache ServiceComb Project be and hereby is
responsible for the creation and maintenance of software related to a
microservice framework that provides a set of tools and components to
make development and deployment of cloud applications easier; and be it
further

RESOLVED, that the office of "Vice President, Apache ServiceComb" be and
hereby is created, the person holding such office to serve at the
direction of the Board of Directors as the chair of the Apache
ServiceComb Project, and to have primary responsibility for management
of the projects within the scope of responsibility of the Apache
ServiceComb Project; and be it further

RESOLVED, that the persons listed immediately below be and hereby are
appointed to serve as the initial members of the Apache ServiceComb
Project:

 * Aray Chenchu Sukesh
 * Bao Liu
 * Eric Lee   
 * Jean-Baptiste Onofré   
 * Jimin Wu   
 * Linzhinan  
 * Mohammad Asif Siddiqui 
 * Qi Zhang   
 * Roman Shaposhnik   
 * Timothy Chen   
 * Willem Ning Jiang  
 * Yang Bo
 * Yihua Cui  
 * Yin Xiang  
 * Zheng Feng 
 * zhengyangyong  

NOW, THEREFORE, BE IT FURTHER RESOLVED, that Willem Ning Jiang be
appointed to the office of Vice President, Apache ServiceComb, to serve
in accordance with and subject to the direction of the Board of
Directors and the Bylaws of the Foundation until death, resignation,
retirement, removal or disqualification, or until a successor is
appointed; and be it further

RESOLVED, that the initial Apache ServiceComb PMC be and hereby is
tasked with the creation of a set of bylaws intended to encourage open
development and increased participation in the Apache ServiceComb
Project; and be it further

RESOLVED, that the Apache ServiceComb Project be and hereby is tasked
with the migration and rationalization of the Apache Incubator
ServiceComb podling; and be it further

RESOLVED, that all responsibilities pertaining to the Apache Incubator
ServiceComb podling encumbered upon the Apache Incubator PMC are
hereafter discharged.


Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem
On Thu, Sep 6, 2018 at 8:31 AM Willem Jiang  wrote:
>
> I already send out a mail to the private mailing list.  But it could
> be more fair to let the existing committers make their own choice.
> I will send out separate a mail to the dev to make sure they are informed.
>
>
> Willem Jiang
>
> Twitter: willemjiang
> Weibo: 姜宁willem
>
> On Thu, Sep 6, 2018 at 7:03 AM Roman Shaposhnik  wrote:
> >
> > On Wed, Sep 5, 2018 at 3:47 PM, Willem Jiang  wrote:
> > > There are some committer who moves on to the other job and don't spend
> > > much time on this project.
> > > I'd happy to send a mail for them to ask if they are still want to
> > > join us. It could be great if they can still contribute to project.
> >
> > I typically find it very useful to have an email explaining the
> > responsiblilities
> > of the PMC membership sent out right before the graduation asking existing
> > committers if they'd be interested in those responsibilities.
> >
> > Thanks,
> > Roman.


Re: Invitation of the ServiceComb PMC

2018-09-10 Thread Willem Jiang
It's great that we got all the committer's reply (Yes).
I will send out the resolved document which is based on this feedback.

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Mon, Sep 10, 2018 at 1:35 PM Timothy Chen  wrote:
>
>
>
> On 2018/09/06 01:00:35, Willem Jiang  wrote:
> > Hi Committers
> >
> > As the discussion of  "Heading to graduation" [1], we want to setup
> > the PMC as part of ServiceComb graduation resolution. So we'd like to
> > confirm whether you want to remain as a Project Management Committees
> > (PMC) member of Apache ServiceComb project?
> >
> > I just quote some roles description of PMC from How it works of Apache[2].
> > If you just heard about PMC, please spend some time to read about the
> > role of PMC and understand the responsibilities, and let me know if
> > you have any question about it.
> >
> > " The role of the PMC from a Foundation perspective is oversight. The
> > main role of the PMC is not code and not coding - but to ensure that
> > all legal issues are addressed, that procedure is followed, and that
> > each and every release is the product of the community as a whole.
> > That is key to our litigation protection mechanisms.
> >
> > Secondly the role of the PMC is to further the long term development
> > and health of the community as a whole, and to ensure that balanced
> > and wide scale peer review and collaboration does happen. Within the
> > ASF we worry about any community which centers around a few
> > individuals who are working virtually uncontested. We believe that
> > this is detrimental to quality, stability, and robustness of both code
> > and long term social structures."
> >
> > If you'd like to be the member of ServiceComb PMC, it's welcome and
> > please *respond** 'Yes'* in this thread, or *respond 'No'* if you are
> > not interested in any more.
> >
> > This thread will be available for at least 72 hours, after that, we
> > will send individual confirm emails.
> >
> > [1]https://lists.apache.org/thread.html/3753af01adc9f0db65949565851f66816e1932dde028b99ee7a7c14e@%3Cdev.servicecomb.apache.org%3E
> > [2]http://www.apache.org/foundation/how-it-works.html#pmc
> >
> >
> > Willem Jiang
> >
> > Twitter: willemjiang
> > Weibo: 姜宁willem
> >
>
> Yes.
>
> Tim


Re: ServiceComb Saga TCC demo with JPA

2018-09-10 Thread Willem Jiang
Yes, it should work, but I need to know how to write the code :)

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Mon, Sep 10, 2018 at 2:01 PM 赵俊  wrote:
>
> It seems that adding a version field in product entity will work.
>
> > On 10 Sep 2018, at 11:43 AM, Willem Jiang  wrote:
> >
> > Hi,
> >
> > I submitted a PR[1] to show how to use TCC with JPA.  There are some
> > missing points with my limited knowledge of JPA. So I just send out
> > this email to ask help from community.
> >
> > In the inventory service[2], we need to update the product in stock
> > number[3].  As the reserver method could be invoked in multiple
> > threads at the same time and JPA doesn't provide the isolation across
> > these thread[4]. We may need to add optimis lock or use version to
> > keep track for the change.  But I didn't manage to get workable code
> > by applying the optimic lock or using the version file to prevent the
> > lost updates[5].
> >
> > So I'm asking help from the expert of JPA for an example of this case.
> >
> > [1]https://github.com/apache/incubator-servicecomb-saga/pull/290
> > [2]https://github.com/apache/incubator-servicecomb-saga/tree/SCB-820/saga-demo/tcc-spring-demo/inventory
> > [3]https://github.com/apache/incubator-servicecomb-saga/blob/SCB-820/saga-demo/tcc-spring-demo/inventory/src/main/java/org/apache/servicecomb/saga/demo/pack/inventory/InventoryService.java#L44
> > [4]https://vladmihalcea.com/a-beginners-guide-to-database-locking-and-the-lost-update-phenomena/
> > [5]https://vladmihalcea.com/preventing-lost-updates-in-long-conversations/
> >
> >
> > Willem Jiang
> >
> > Twitter: willemjiang
> > Weibo: 姜宁willem
>