[cf-abacus] Usage Sampler proposal
Hi all, Abacus team is ready to start the next big chunk of work. We want to remove the time-based metrics we now use to integrate with Cloud Foundry's app & service events and replace them with sampling. Why? Time-based metrics are complex, costly in terms of CPU and storage space. Clients have to renew time-based usage, which requires persistence on their side. We see tham as unreliable and error-prone. How? We are proposing a new Sampler component that will expose REST API for continuous events. More info can be found in this document: Your feedback is highly appreciated. Hristo Iliev |
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Lingesh Mouleeshwaran
Hello All, https://github.com/cloudfoundry/java-buildpack/pull/633 created for the same. Regards Lingesh M On Tue, Sep 18, 2018 at 8:06 AM, Daniel Mikusa <dmikusa@...> wrote:
|
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Daniel Mikusa
On Mon, Sep 17, 2018 at 4:55 PM, <sajjadgholami2006@...> wrote: I see what you mean Dan, I know that it doesn't need the whole repo to be forked and it's just tomcat configuration; but that still needs another 'public' repo to host the tomcat customized configuration. It doesn't have to be public. It can be on a company's internal network. It just needs to be accessible from the platform where the buildpack is running. That's why it's convenient to use the Staticfile buildpack and host the config on the platform itself. Look at it from a corporation's view, they don't want to trust more repositories than the formal open source repos having a support of a community and it's secure since the community has it under control, instead of my own public repo that I can mess it up anytime. I wouldn't expect anyone to trust a random repo from the internet. They'd want to host their own Tomcat config on a server they control, like an app they push to their platform using the Staticfile buildpack. Anyway, I probably do not fully understand your use case and that's OK. I just wanted to suggest this other option in case it might work for you. Dan That's my whole point, it can be a parameter exposed in the formal code base which everyone has trust on. |
|||||
|
|||||
Apps/microservices that have long request processing times.
Jonathan Stockley
Hi, According to https://docs.cloudfoundry.org/devguide/deploy-apps/prepare-to-deploy.html#moving-apps an app instance has only 10 seconds to finish processing a request before being killed off. I have an app that does document rendition generation and it can take upwards of 10 minutes for long documents. Is the 10 seconds grace period configurable?
Thanks, Jo |
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
sajjadgholami2006@...
I see what you mean Dan, I know that it doesn't need the whole repo to be forked and it's just tomcat configuration; but that still needs another 'public' repo to host the tomcat customized configuration. Look at it from a corporation's view, they don't want to trust more repositories than the formal open source repos having a support of a community and it's secure since the community has it under control, instead of my own public repo that I can mess it up anytime. That's my whole point, it can be a parameter exposed in the formal code base which everyone has trust on.
|
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Daniel Mikusa
On Mon, Sep 17, 2018 at 1:28 PM, <sajjadgholami2006@...> wrote:
Not sure what you mean. It doesn't require that you fork the buildpack. You just need to host your Tomcat config somewhere. That's cause the buildpack will need to download it, since it's not part of the JBP. The easiest way is to push your config w/the Staticfile buildpack. Then you can use `cf set-env` and tell the JBP to use your external config bundle from your Staticfile app. You could post the config elsewhere too, like S3 or any other HTTP server. Dan |
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
sajjadgholami2006@...
Thanks Lingesh, We can argue that this is kind of needed for CF services, due to the nature of using JWT token in header; if you want to put something convincing in the pull-request comment ;) |
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Lingesh Mouleeshwaran
Alright Thanks, Sajjid, Let me create a pull request for the same. Need to wait for the community concerns as well On Mon, Sep 17, 2018 at 10:58 PM, <sajjadgholami2006@...> wrote:
|
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Thanks Lingesh for sharing your repo; right I actually did try it on my own repo as well, but we want it to be formally accepted and be in the original build-pack to use.
Daniel, you're right; but again this needs another repo to be setup, we want to only trust the one formal original CF repo that has the community watching it instead of moving to unreliable sources or to create and maintain our own repo besides this that's why I'm suggesting to make the change in original repo :) |
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Daniel Mikusa
Have you tried the support that's already in the Java buildpack for customizing Tomcat configuration? This lets you configure all aspects of Tomcat's config, not just the header size. Dan On Sat, Sep 15, 2018 at 7:08 AM, Lingesh Mouleeshwaran <lingeshmouleeshwaran@...> wrote:
|
|||||
|
|||||
Re: Set maxHttpHeaderSize in tomcat server as a parameter
Lingesh Mouleeshwaran
Hello Sajjad, your expected changes are available in my git repo. https://github.com/hmlingesh/java-buildpack/commit/5ae18c3fdd873837bcb9427b5659ef52239b30a1 Please have a look I will make a pull request for the same. Note: by default, Apache community give 8kb as default header size, also I prefer to keep 64 kb as default. Regards Lingesh M On Fri, Sep 14, 2018 at 6:02 AM, <sajjadgholami2006@...> wrote: Hi there, |
|||||
|
|||||
Re: Cloud Foundry Community Awards
A friendly reminder, y'all -- the deadline is tomorrow; so please nominate ASAP! Nominate your peers for a Stealth-Ops or Helping Hands award or an end user story for the Coolest User Story award!
|
|||||
|
|||||
Set maxHttpHeaderSize in tomcat server as a parameter
sajjadgholami2006@...
Hi there,
We have a service that gets http requests with big header size, so I was wondering if we can just expose a parameter to set the maximum http header size in tomcat/conf/server.xml to be set by a new option in tomcat.yml file (e.g. "maxHttpHeaderSize" under "tomcat"). I can create a pull-request for this. I'll appreciate your input ;) Best, Sajjad |
|||||
|
|||||
Re: REMINDER: CAB call for September is Wednesday 09/19 @ 8a PST or 11a EST
Michael Maximilien
Thank you Ashish. Adding your talk. Zoom next week. Best, Max On Wed, Sep 12, 2018 at 11:55 PM Jain, Ashish <ashish.jain09@...> wrote:
--
dr.max
Sent from my iPhone
http://maximilien.org |
|||||
|
|||||
Re: REMINDER: CAB call for September is Wednesday 09/19 @ 8a PST or 11a EST
Jain, Ashish <ashish.jain09@...>
Hi Dr. Max, We would like to present “Service Fabrik 2.0 – Architecture, Design followed by a demo”. Presenter would be @Chattopadhyay, Subhankar. We would need a slot of 20-30 minutes. Best regards, Ashish
From: <cf-dev@...> on behalf of Michael Maximilien <maxim@...>
Hi, all,
Quick reminder for the CAB call next Wednesday and announcing one talk:
1. “Updates on CF Container Runtime (aka Kubo)” by Urvashi Reddy of Pivotal 2. TBD - if you have a talk please email me ASAP
Full agenda and Zoom details in [0]. Zoom soon. Best,
------ dr.max ibm ☁ silicon valley, ca
|
|||||
|
|||||
REMINDER: CAB call for September is Wednesday 09/19 @ 8a PST or 11a EST
Michael Maximilien
Hi, all, Quick reminder for the CAB call next Wednesday and announcing one talk:
1. “Updates on CF Container Runtime (aka Kubo)” by Urvashi Reddy of Pivotal 2. TBD - if you have a talk please email me ASAP
Full agenda and Zoom details in [0]. Zoom soon. Best,
------ dr.max ibm ☁ silicon valley, ca
[1] https://github.com/cloudfoundry-incubator/kubo-release |
|||||
|
|||||
CF CLI v6.39.0 Released Today
Abby Chau
Hey everyone, Highlights include: Refactors (rewrites):
Buildpacks association with stacks feature
Services-related features
Enhancements and bug fixes
Contributors: An Yu, Sebastian Vidrio, Anande Gaitonde, Thomas Viehman, Alex Zhao, Abby Chau, Spencer Hawley, Renee Chu, Nick Guerette, Ryan Tang, William Murphy Special Guests: Buildpacks team (for help with the buildpack-stack association feature), SAPI London team (for pull requests and the async operation work), SAP and UAA Team (for help with the `cf auth` `--origin` work) Feedback Please contact us on the #cli channel on Cloud Foundry Slack. Alternatively, respond directly to this email. Best, Abby and the CLI team |
|||||
|
|||||
Re: Help required
Liming Liu <andliu@...>
Sorry, minor change, it’s v6.38.0 not v6.28.0.
From: Andy Liu <andliu@...>
Hi Umesh, I did a test the cfdev plugin on the windows 10 pro on windows azure with Standard D4s v3, it works.
Details steps:
the app start up correctly.
BTW, I also tested the windows server 2016, it does not work for now, that’s due to the hyper-v detection logic does not cover the windows server 2016. @Scott Sisil PR to add the support for the windows server 2016 sent : https://github.com/cloudfoundry-incubator/cfdev/pull/44
Thanks, Andy
From: Andy Liu <andliu@...>
Hi Umesh,
And also I have another way to do the cf development, deploy the cloud foundry on one box: https://github.com/virtualcloudfoundry/cf-azure-deployment/tree/master/cf-lite here’s the sample scripts to do the deployment: terraform apply -var prefix="cf-blabla" -var subscription_id="<your subsciption id>" -var client_id="<your client id>" -var client_secret="<your client secret>" -var tenant_id="<your tenant id>" -var ssh_user_username="cfcf" -var ssh_public_key_filename="./ssh_key.pub" -var auto_deploy_bosh="enabled" -var auto_deploy_cf="enabled" -var location="eastasia"
after run this, you would get one dev box, and one box, and one cf box. You can login into the dev box to do the cf push and so on. (using cfcf and the ssh_key.priv to connect to it)
it’s not an official release, but normally I use it for cf feature development. Feel free to shoot me one email if you have problem using it.
Thanks, Andy
From: Andy Liu <andliu@...>
Hi Umesh, Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now. And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18
So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊 I also will try it later. Will post the result on this thread.
Thanks Andy
From: <cf-dev@...> on behalf of Umesh Moudgil <umoudgil08@...>
Dear Scott,
Thanks a lot for prompt reply !!! I tried running the commands however I didn't get the plugin from CF community.
[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
I have below Azure VM with 16GB RAM.
I believe, it will not work till you make some tweaking in PFC Dev as per specific platform. Please let me know if you have any other troubleshooting steps to follow. Umesh Kumar
On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <ssisil@...> wrote:
|
|||||
|
|||||
Re: Help required
Liming Liu <andliu@...>
Hi Umesh, I did a test the cfdev plugin on the windows 10 pro on windows azure with Standard D4s v3, it works.
Details steps:
the app start up correctly.
BTW, I also tested the windows server 2016, it does not work for now, that’s due to the hyper-v detection logic does not cover the windows server 2016. @Scott Sisil PR to add the support for the windows server 2016 sent : https://github.com/cloudfoundry-incubator/cfdev/pull/44
Thanks, Andy
From: Andy Liu <andliu@...>
Hi Umesh,
And also I have another way to do the cf development, deploy the cloud foundry on one box: https://github.com/virtualcloudfoundry/cf-azure-deployment/tree/master/cf-lite here’s the sample scripts to do the deployment: terraform apply -var prefix="cf-blabla" -var subscription_id="<your subsciption id>" -var client_id="<your client id>" -var client_secret="<your client secret>" -var tenant_id="<your tenant id>" -var ssh_user_username="cfcf" -var ssh_public_key_filename="./ssh_key.pub" -var auto_deploy_bosh="enabled" -var auto_deploy_cf="enabled" -var location="eastasia"
after run this, you would get one dev box, and one box, and one cf box. You can login into the dev box to do the cf push and so on. (using cfcf and the ssh_key.priv to connect to it)
it’s not an official release, but normally I use it for cf feature development. Feel free to shoot me one email if you have problem using it.
Thanks, Andy
From: Andy Liu <andliu@...>
Hi Umesh, Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now. And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18
So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊 I also will try it later. Will post the result on this thread.
Thanks Andy
From: <cf-dev@...> on behalf of Umesh Moudgil <umoudgil08@...>
Dear Scott,
Thanks a lot for prompt reply !!! I tried running the commands however I didn't get the plugin from CF community.
[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
I have below Azure VM with 16GB RAM.
I believe, it will not work till you make some tweaking in PFC Dev as per specific platform. Please let me know if you have any other troubleshooting steps to follow. Umesh Kumar
On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <ssisil@...> wrote:
|
|||||
|
|||||
Re: Help required
Liming Liu <andliu@...>
Hi Umesh,
And also I have another way to do the cf development, deploy the cloud foundry on one box: https://github.com/virtualcloudfoundry/cf-azure-deployment/tree/master/cf-lite here’s the sample scripts to do the deployment: terraform apply -var prefix="cf-blabla" -var subscription_id="<your subsciption id>" -var client_id="<your client id>" -var client_secret="<your client secret>" -var tenant_id="<your tenant id>" -var ssh_user_username="cfcf" -var ssh_public_key_filename="./ssh_key.pub" -var auto_deploy_bosh="enabled" -var auto_deploy_cf="enabled" -var location="eastasia"
after run this, you would get one dev box, and one box, and one cf box. You can login into the dev box to do the cf push and so on. (using cfcf and the ssh_key.priv to connect to it)
it’s not an official release, but normally I use it for cf feature development. Feel free to shoot me one email if you have problem using it.
Thanks, Andy
From: Andy Liu <andliu@...>
Hi Umesh, Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now. And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18
So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊 I also will try it later. Will post the result on this thread.
Thanks Andy
From: <cf-dev@...> on behalf of Umesh Moudgil <umoudgil08@...>
Dear Scott,
Thanks a lot for prompt reply !!! I tried running the commands however I didn't get the plugin from CF community.
[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
I have below Azure VM with 16GB RAM.
I believe, it will not work till you make some tweaking in PFC Dev as per specific platform. Please let me know if you have any other troubleshooting steps to follow. Umesh Kumar
On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <ssisil@...> wrote:
|
|||||
|