[cfaussie] Determine Server

2011-12-19 Thread Dale Fraser
Hi, I'm setting up cloud servers via a load balancer I want to test the rotation of servers through the round robin allocation of requests over the multiple app servers. Im just trying something simple by dumping HTTP_HOST But that dumps the host of the balancer and not the

[cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Dale Fraser
So RackSpace and Amazon dont support sticky sessions on https, im guessing because the data is encrypted and they cant see it. I was toying with the idea of doing something like this, which would effectivally do the same thing Lets say I have 4 endpoints ap00 (balancer) ap01

[cfaussie] Image functions with transparent png images

2011-12-19 Thread Steve Onnis
I am having this issue which i am sure people have had in the past so i am hoping for some advice as to how to get around it. I am uploading a transparent png image file with the following process :- 1. Upload file 2. Read file 3. Store file in memory as binary 4.

RE: [cfaussie] Determine Server

2011-12-19 Thread Steve Onnis
You want to get the local ip address of the server? From: Dale Fraser [mailto:d...@fraser.id.au] Sent: Monday, 19 December 2011 10:40 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Determine Server Hi, I'm setting up cloud servers via a load balancer I want to test the

Re: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Phil Haeusler
Dale The other way to tackle this would be to run your own dedicated load-balancer on your ap00 instance. Your SSL certs would live on ap00 which could then handle the SSL connections and manage the sticky sessions to your actual application servers. This would remove the need for CF to

Re: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Paul Kukiel
I'd be surprised if you can't install a SSL cirt on the load balancer. This article seams to indicate it is possible at Amazon: http://awsdocs.s3.amazonaws.com/ElasticLoadBalancing/latest/elb-dg.pdf Paul. On Mon, Dec 19, 2011 at 11:13 PM, Dale Fraser d...@fraser.id.au wrote: So RackSpace and

RE: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Dale Fraser
Any recommendations, I was also looking for a third party SSL load balancer service if anyone knows of such a thing. Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com http://learncf.com http://flexcf.com From: cfaussie@googlegroups.com

Re: [cfaussie] Determine Server

2011-12-19 Thread christophe albrech
Hi Dale, If you run into trouble with stuff like that, I know we have implemented something similar here for some of our bigger clients, like dpt of defence or ato. In our case the session itself was spread across multiple app servers and a single DB server (I wasn't involved with that project,

[cfaussie] Re: Session Sharing on Cloud Cluster

2011-12-19 Thread Paul Haddon
You're really thinking of trusting a 3rd party with the SSL certificates of your sites? I'd second Phil's recommendation of rolling your own balancer setup. Terminate the SSL on STunnel (http://http://www.stunnel.org/) then forward that through HAProxy (http://haproxy.1wt.eu/) Both are very

RE: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Dale Fraser
Yes, I found that afterwards with Amazon, most don't support it. I'd be happy with IP based server allocation. Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com http://learncf.com http://flexcf.com From: cfaussie@googlegroups.com

Re: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Kym Kovan
Hi Dale, what's the code like? One option is to not use the session scope and go to client vars. No issue then... :-) -- Yours, Kym Kovan mbcomms.net.au -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to

RE: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Dale Fraser
Yeah, I considered that too, I'll have to search the code base and see how widely we use them Thanks Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com http://learncf.com http://flexcf.com -Original Message- From: cfaussie@googlegroups.com

Re: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Kym Kovan
On 20/12/2011 11:10, Dale Fraser wrote: Yeah, I considered that too, I'll have to search the code base and see how widely we use them or do the client session trick. Copy to client scope to session in OnRequestStart and back in OnRequestEnd, serialized as needed... -- Yours, Kym Kovan

RE: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Dale Fraser
That could work, Thanks Regards Dale Fraser http://dale.fraser.id.au http://cfmldocs.com http://learncf.com http://flexcf.com -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Kym Kovan Sent: Tuesday, 20 December 2011 11:30 AM To:

Re: [cfaussie] Session Sharing on Cloud Cluster

2011-12-19 Thread Mark Mandel
What about turning on JSessionIDs, and use a distributed cache to store session information in. CF sets up the unique IDs for you, and you just use that value to store data in your distributed cache. Then it doesn't matter what server you are on. Amazon has ElastiCache - should be easy enough

RE: [cfaussie] Image functions with transparent png images

2011-12-19 Thread Steve Onnis
Thought i would push this one back out into the ether to see if anyone had any ideas... From: Steve Onnis [mailto:st...@cfcentral.com.au] Sent: Tuesday, 20 December 2011 3:46 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Image functions with transparent png images I am having this

Re: [cfaussie] Image functions with transparent png images

2011-12-19 Thread Zac Spitzer
have you tried writing the file out to the filesystem first with a .png extension? personally I hate the dependence on filenames for setting file types with the image support in CF, it's really annoying z On Tue, Dec 20, 2011 at 1:53 PM, Steve Onnis st...@cfcentral.com.au wrote: Thought i

RE: [cfaussie] Image functions with transparent png images

2011-12-19 Thread Steve Onnis
Yeah i have and once i write it, the transparency is fine, even the tmp file cf creates when it uses the cfimageservlet works fine. I don’t want to write it though. There are other processes that i need to run before i fully commit it to the file system which is why i am wanting to do this

Re: [cfaussie] Image functions with transparent png images

2011-12-19 Thread Andrew Scott
Steve, My guess would be that the cfcontent is using the internal image handling, which does seem kinda strange, but as we all know the internal image handling in CF will not handle aRGB images. It looks like your best option would be the write to browser. -- Regards, Andrew Scott WebSite: