Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-11 Thread Swapnil Patil
Hi All, Last week I worked on following tasks. 1. I have completed the documentation. Please find it at [1]. Please let me know if you have any suggestions. 2. Investigated how to implement in flight request count. I have started writing code for the same. 3. Investigated how to add a REST method

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-10 Thread Swapnil Patil
Thanks Imesh! I will start implementing this. Thanks and Regards, Swapnil On Mon, Aug 10, 2015 at 3:47 AM, Imesh Gunaratne wrote: > +1 A good suggestion, will take that approach. > > On Sun, Aug 9, 2015 at 11:31 PM, Swapnil Patil > wrote: > >> Hi Imesh, >> >> There is a way to find the number

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-09 Thread Imesh Gunaratne
+1 A good suggestion, will take that approach. On Sun, Aug 9, 2015 at 11:31 PM, Swapnil Patil wrote: > Hi Imesh, > > There is a way to find the number of requests that have been received by > load balancer but still not sent to the registered instances. But there is > no direct way to find out t

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-09 Thread Swapnil Patil
Hi Imesh, There is a way to find the number of requests that have been received by load balancer but still not sent to the registered instances. But there is no direct way to find out the number of request that are sent to registered instances but response is not yet received. But I think we can

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-09 Thread Imesh Gunaratne
Hi Swapnil, Great! Nice to hear that. Is there a way to find the total number of requests being processed (requests in flight) within a given time window? If so we need to find this for each cluster. Thanks On Sat, Aug 8, 2015 at 4:13 PM, Swapnil Patil wrote: > Sorry, forgot to mention that it

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-08 Thread Swapnil Patil
Sorry, forgot to mention that it is mentioned that 'max' is preferred for SurgeQueueLength. We should decide which to use - max or average. Thanks and Regards, Swapnil On Sat, Aug 8, 2015 at 10:36 AM, Swapnil Patil wrote: > Hi Imesh, > > I was able to write a sample code to retrieve the total n

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-08 Thread Swapnil Patil
Hi Imesh, I was able to write a sample code to retrieve the total number of requests handled by load balancer. I have checked in the code to my github repository of AWS API client [1]. As per [2], 'SurgeQueueLength' means "The total number of requests that are pending submission to a registered i

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-04 Thread Swapnil Patil
Hi Imesh, Thanks for the reference. I will go through it and check how we can use it in our extension and get back. Thanks and Regards, Swapnil On Aug 4, 2015 9:17 AM, "Imesh Gunaratne" wrote: > Great! Thanks for the update Swapnil! Regarding finding request count, > please have a look at [1] a

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-03 Thread Imesh Gunaratne
Great! Thanks for the update Swapnil! Regarding finding request count, please have a look at [1] and [2]. According to [1] there is a way to find the request count via cloud watch. [1] http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-cloudwatch-metrics.html [2] http://docs

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-08-03 Thread Swapnil Patil
Hi All, Last week I worked on following things. 1. Adding logic for creating security group for load balancers in particular region. Adding inbound rules to these security groups based on the port mappings of a member of the cluster. 2. Making code changes suggested in the code review

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-26 Thread Swapnil Patil
Hi All, Last week I worked on following things. 1. Tested the extension for scale up and scale down. 2. Tested the extension for changing the port mappings of a cartridge. 3. We had a hangout session for a demo and discussion of issues. 4. Made code changes for using prefix and sequence number fo

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-21 Thread Swapnil Patil
Hi Imesh, Sure. We will have a demo. Thanks and Regards, Swapnil On Tue, Jul 21, 2015 at 3:35 PM, Imesh Gunaratne wrote: > Hi Swapnil, > > Great! Will have it at 2 PM IST. It would be great if you could demo what > you have completed so far at this meeting. > > Thanks > > On Tue, Jul 21, 2015

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-21 Thread Imesh Gunaratne
Hi Swapnil, Great! Will have it at 2 PM IST. It would be great if you could demo what you have completed so far at this meeting. Thanks On Tue, Jul 21, 2015 at 5:40 PM, Swapnil Patil wrote: > Hi Imesh, > > Apologies for the delay. > > Any time tomorrow would be fine for me. > > Regards, > Swap

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-21 Thread Swapnil Patil
Hi Imesh, Apologies for the delay. Any time tomorrow would be fine for me. Regards, Swapnil On Jul 21, 2015 9:54 AM, "Imesh Gunaratne" wrote: > Hi Swapnil, > > Thanks for the update. Shall we have a Google Hangout this week? Please > let us know your availability. > > Thanks > > On Mon, Jul 20

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-20 Thread Imesh Gunaratne
Hi Swapnil, Thanks for the update. Shall we have a Google Hangout this week? Please let us know your availability. Thanks On Mon, Jul 20, 2015 at 11:47 AM, Swapnil Patil wrote: > Hi All, > > In last week I worked on following tasks. > > 1. Tested and modified extension to make sure it works pr

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-19 Thread Swapnil Patil
Hi All, In last week I worked on following tasks. 1. Tested and modified extension to make sure it works properly when a simple application is deployed and undeployed. 2. I made changes to automatically find out aws region in which the load balancer should be created. This is also useful while se

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-16 Thread Swapnil Patil
Hi Akila, I updated the issue with latest status and github repo. But I am not able to find a way to assign this to myself. Could you please let me know how to do it? Thanks and Regards, Swapnil On Thu, Jul 16, 2015 at 3:53 PM, Swapnil Patil wrote: > Hi Akila, > > Sure. Will do. > > Thanks an

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-16 Thread Swapnil Patil
Hi Akila, Sure. Will do. Thanks and Regards, Swapnil On Thu, Jul 16, 2015 at 2:02 PM, Akila Ravihansa Perera wrote: > Hi Swapnil, > > Could you update the JIRA with latest status of the project at [1]. Please > put relevant docs links, GitHub repos and assign this task to yourself. > > [1] htt

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-07-16 Thread Akila Ravihansa Perera
Hi Swapnil, Could you update the JIRA with latest status of the project at [1]. Please put relevant docs links, GitHub repos and assign this task to yourself. [1] https://issues.apache.org/jira/browse/STRATOS-500 Thanks. On Mon, Jun 29, 2015 at 4:48 PM, Swapnil Patil wrote: > Hi Udara, > > Ok

AWS Load Balancing Support for Stratos - Weekly Update

2015-07-04 Thread Swapnil Patil
Hi All, I am sending this week's update a little early as I will be out of station for next three days. This week I was able to make necessary code changes to create aws load balancer and attach any newly created instances to it. I used AWS sdk itself as of now because I thought first I should s

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-29 Thread Swapnil Patil
Hi Udara, Okay. I will go through it and see if we can use it instead of aws sdk. Thanks for the link. Will send update on this soon. Regards, Swapnil On Jun 29, 2015 3:37 PM, "Udara Liyanage" wrote: > Hi Swapnil, > > As you have mentioned during the call, you are using aws Java SDK to talk >

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-29 Thread Udara Liyanage
Hi Swapnil, As you have mentioned during the call, you are using aws Java SDK to talk to AWS IaaS. However it is better to use JClouds if possible. JClouds is the library which we use to talk to IaaS layer. It is better if you can use it rather than adding another dependency. Please review the Jcl

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-28 Thread Swapnil Patil
Hi Imesh, Ok. 2 PM today is fine for me. Thanks and Regards, Swapnil On Jun 29, 2015 11:31 AM, "Imesh Gunaratne" wrote: > Hi Swapnil, > > Shall we have a Hangout today to go through the current progress? I have > sent you a meeting request to have this today at 2:00 PM IST. Let me know > your a

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-28 Thread Imesh Gunaratne
Hi Swapnil, Shall we have a Hangout today to go through the current progress? I have sent you a meeting request to have this today at 2:00 PM IST. Let me know your availability. Thanks On Mon, Jun 29, 2015 at 11:14 AM, Swapnil Patil wrote: > Hi All, > > Last week I worked on testing load balan

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-28 Thread Swapnil Patil
Hi All, Last week I worked on testing load balancer extension with ec2 cartridges. Till now I was able to spawn ec2 cartridge and have Stratos receive these events successfully. I tested aws extension on this. While deploying a new application, configure method of extension was called. But there

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-23 Thread Swapnil Patil
Hi Imesh, Thanks for the feedback. Okay. I had tried it earlier but couldn't start Stratos. I guess may be it was low memory error or may be the zip I was using was defective. I will try again on single EC2 instance with correct zip. And if I get memory issues I will try manual configuration with

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-23 Thread Imesh Gunaratne
Thanks for the update Swapnil! On Mon, Jun 22, 2015 at 12:46 PM, Swapnil Patil wrote: > Hi, > > 3. To test the other part (creating AWS load balancers). I need to create > cartridges in EC2. For that I need to find a way to access my local machine > from ec2 instance. I searched for a way to do

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-22 Thread Swapnil Patil
Hi, Last week I worked on following tasks. 1. Getting AWS extension up and running and ready to receive topology events and configure AWS load balancer accordingly. For that I made few more changes to create a zip file, adding proper dependencies like http-client, adding a config file to to store

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-15 Thread Swapnil Patil
Hi Imesh, Sure. I will be happy to have another meeting. Thanks and Regards, Swapnil On Mon, Jun 15, 2015 at 5:22 PM, Imesh Gunaratne wrote: > Hi Swapnil, > > Great work! It's nice to see that you have responded to all the items we > discussed in the last meeting. We will have another meeting

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-15 Thread Imesh Gunaratne
Hi Swapnil, Great work! It's nice to see that you have responded to all the items we discussed in the last meeting. We will have another meeting this week. Thanks On Mon, Jun 15, 2015 at 11:45 AM, Swapnil Patil wrote: > Hi All, > > Last week I did following things > > 1. Added general extensio

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-14 Thread Swapnil Patil
Hi All, Last week I did following things 1. Added general extension structure at [1]. So now aws-extension is ready to run in debug mode and see topology changes. 2. Reformatted code to follow coding conventions. 3. Added proper comments using IDE features. 4. Added client to test AWS ELB API. Gi

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-11 Thread Swapnil Patil
Hi Imesh, I did not get any request. Thanks, Swapnil On Thu, Jun 11, 2015 at 10:58 AM, Imesh Gunaratne wrote: > Hi Swapnil, > > I have sent you a Google Hangout invite. Let me know if you can join. > > Thanks > > On Tue, Jun 9, 2015 at 6:47 PM, Swapnil Patil > wrote: > >> Thank you! >> >> Reg

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-11 Thread Imesh Gunaratne
Hi Swapnil, I have sent you a Google Hangout invite. Let me know if you can join. Thanks On Tue, Jun 9, 2015 at 6:47 PM, Swapnil Patil wrote: > Thank you! > > Regards, > Swapnil > > On Tue, Jun 9, 2015 at 11:36 AM, Imesh Gunaratne wrote: > >> Yes no problem, will make it on this Thursday at 4

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-09 Thread Swapnil Patil
Thank you! Regards, Swapnil On Tue, Jun 9, 2015 at 11:36 AM, Imesh Gunaratne wrote: > Yes no problem, will make it on this Thursday at 4:30 PM IST. > > Thanks > > On Tue, Jun 9, 2015 at 2:52 PM, Swapnil Patil > wrote: > >> Hi Imesh, >> >> It will be difficult for me to arrange it today or tomo

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-09 Thread Imesh Gunaratne
Yes no problem, will make it on this Thursday at 4:30 PM IST. Thanks On Tue, Jun 9, 2015 at 2:52 PM, Swapnil Patil wrote: > Hi Imesh, > > It will be difficult for me to arrange it today or tomorrow. (I have > mentioned same in the update). Is it ok if we have it on Thursday? > > Thanks and Rega

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-09 Thread Swapnil Patil
Hi Imesh, It will be difficult for me to arrange it today or tomorrow. (I have mentioned same in the update). Is it ok if we have it on Thursday? Thanks and Regards, Swapnil On Tue, Jun 9, 2015 at 8:23 AM, Imesh Gunaratne wrote: > Thanks for the update Swapnil. Can you please propose a time fo

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-09 Thread Imesh Gunaratne
Thanks for the update Swapnil. Can you please propose a time for Google Hangout to discuss what you have done so far? May be around 4:30 PM IST today if you are available. Thanks On Mon, Jun 8, 2015 at 10:03 AM, Swapnil Patil wrote: > Hi, > > This week I worked on > >1. Completing configure

AWS Load Balancing Support for Stratos - Weekly Update

2015-06-07 Thread Swapnil Patil
Hi, This week I worked on 1. Completing configure() method of AWSLoadBalancer. It is almost complete, few bits are remaining. 2. Trying to setup Stratos locally/EC2. Unfortunately, I couldn't complete it because of few issues as discussed on a mail thread. Will try to complete in c

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-07 Thread Swapnil Patil
Hi Imesh, Oh yes. I will update all the comments accordingly. Thanks and Regards, Swapnil On Sun, Jun 7, 2015 at 8:24 PM, Imesh Gunaratne wrote: > Hi Swapnil, > > Now it looks much better, I guess you are not using IDE features to auto > generate the method comment text: > > /* > * Returns al

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-07 Thread Imesh Gunaratne
Hi Swapnil, Now it looks much better, I guess you are not using IDE features to auto generate the method comment text: /* * Returns all the listeners attached to the load balancer. * Useful while deciding if all the listeners are necessary or some should be removed. */ public List getAttachedL

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-05 Thread Swapnil Patil
Hi Imesh, I have already added comments. Sorry, forgot to let you know. Please let me know if those are sufficient or I should write in more detail. GitHub URL: https://github.com/swaprp15/stratos/tree/master/extensions/load-balancer/aws-extension/src/main/java/org/apache/stratos/aws/extension

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-05 Thread Imesh Gunaratne
Thanks Swapnil, please let me know once you are done. On Wed, Jun 3, 2015 at 9:13 PM, Swapnil Patil wrote: > Hi Imesh, > > Sure, I will add comments for each method. > > registerInstancesToLoadBalancer() method will be helpful to attach any new > instances, spawned within a cluster, to the load

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-03 Thread Swapnil Patil
Hi Imesh, Sure, I will add comments for each method. registerInstancesToLoadBalancer() method will be helpful to attach any new instances, spawned within a cluster, to the load balancer associated with that cluster. Thanks and Regards, Swapnil On Wed, Jun 3, 2015 at 12:35 PM, Imesh Gunaratne w

Re: AWS Load Balancing Support for Stratos - Weekly Update

2015-06-03 Thread Imesh Gunaratne
Hi Swapnil, Great work! Will it be possible for you to add method comments to AWSHelper class and explain the functionality you have implemented? I did not get the purpose of the registerInstancesToLoadBalancer() method. Thanks On Sun, May 31, 2015 at 8:02 PM, Swapnil Patil wrote: > Hi, > > Th

AWS Load Balancing Support for Stratos - Weekly Update

2015-05-31 Thread Swapnil Patil
Hi, This week I started coding. I am committing code changes at Github repository [1]. Currently I am writing code for configure method of AWSLoadBalancer. In that I have added logic to create AWS load balancer and registering and de-registering instances to it. I will try to finish the configure

Re: [GSoC] AWS Load Balancing Support for Stratos - Weekly Update

2015-05-24 Thread Imesh Gunaratne
Hi Swapnil, Thanks for the update! The class diagram looks good now. Yes please commit to your remote repository frequently, so that we can review and provide feedback as you progress. Thanks On Sun, May 24, 2015 at 8:59 PM, Swapnil Patil wrote: > Hi, > >- I have updated the class diagram

[GSoC] AWS Load Balancing Support for Stratos - Weekly Update

2015-05-24 Thread Swapnil Patil
Hi, - I have updated the class diagram as suggested. Please find it attached. I have removed getActiveInstanceCount method and added getClusterInstanceId method in AWSStatisticsReader class - I have forked the Stratos repo and will be using the same for doing code changes. Please fi