Home » Community » Newbie corner » Skylark and HTTPS
Skylark and HTTPS [message #40229] |
Sun, 07 July 2013 16:42  |
|
Hello,
How would be possible to use Skylark over HTTPS? AFAIK there is no direct support in Skylark, should i use Apache or Nginx to get there (as proxy)? Would that imply some speed penalty, excepting that using https imply that?
Also another problem i'm facing with Skylark: one request take 3 to 10 ms to complete and the next one take 300ms. Do you know why this behavior?
Thanks,
Andrei
|
|
|
Re: Skylark and HTTPS [message #40235 is a reply to message #40229] |
Tue, 09 July 2013 08:24   |
|
andreincx wrote on Sun, 07 July 2013 16:42 | Hello,
How would be possible to use Skylark over HTTPS? AFAIK there is no direct support in Skylark, should i use Apache or Nginx to get there (as proxy)? Would that imply some speed penalty, excepting that using https imply that?
Also another problem i'm facing with Skylark: one request take 3 to 10 ms to complete and the next one take 300ms. Do you know why this behavior?
Thanks,
Andrei
|
Hi Andrei,
I've been using nginx as a proxy for HTTP and didn't notice any speed penalty. Actually, when you use some advanced features of nginx (serving static files, compression, caching...) you can even get great speed improvements.
Regarding the other problem, it's hard to say without seeing the code. Did you configured enough workers (threads/prefork)?
Best regards,
Honza
|
|
|
Re: Skylark and HTTPS [message #40236 is a reply to message #40235] |
Tue, 09 July 2013 08:29   |
|
Hi Honza,
Thanks for information.
The problem with response time is with any example of Skylark. Try please to see Network tab from developer tools.
Thanks,
Andrei
|
|
|
|
Re: Skylark and HTTPS [message #40248 is a reply to message #40229] |
Wed, 10 July 2013 18:59   |
|
Hm, weird... I tried with several of the examples, in both debug and release mode and I can't replicate the problem. I get stable 20-50 ms (I have slow computer ), for all the requests. I'm on Linux, perhaps it might be platform dependent issue?
Honza
|
|
|
Re: Skylark and HTTPS [message #40253 is a reply to message #40248] |
Thu, 11 July 2013 19:46   |
|
Hello Honza,
Thanks for your support. I found that this happens only when i access it by hostname (localhost), when i use local or external ip it works properly.
Andrei
|
|
|
Re: Skylark and HTTPS [message #40255 is a reply to message #40253] |
Fri, 12 July 2013 09:47  |
|
andreincx wrote on Thu, 11 July 2013 19:46 | Hello Honza,
Thanks for your support. I found that this happens only when i access it by hostname (localhost), when i use local or external ip it works properly.
Andrei
|
That is an interesting observation. I tried all the examples only with localhost and it worked. It seems as if the problematic part was resolving the hostname.
Honza
|
|
|
Goto Forum:
Current Time: Thu May 01 07:18:04 CEST 2025
Total time taken to generate the page: 0.00883 seconds
|