Thanks both for your answers.

@Bob, I didn't know the existance of http-kit; seems promising. There is 
also a post 600k concurrent HTTP connections, with Clojure & 
http-kit<http://http-kit.org/600k-concurrent-connection-http-kit.html>, 
very interesting.

I also want to add to my own original question, that aleph is capable of 
doing synchronous and asynchronous requests with the same server and port. 
All you have to do is to use different endpoints, even though it's possible 
to have the same one as well.

On Tuesday, February 12, 2013 1:22:13 AM UTC+2, Bob Hutchison wrote:
>
>
> On 2013-02-11, at 6:12 PM, Ryan T. <areka...@gmail.com <javascript:>> 
> wrote:
>
> Unless someone has to suggest something better, it seems that the best way 
> to achieve what i want is to use aleph<https://github.com/ztellman/aleph/> 
> which 
> allows you to initialize it with a wrapped ring handler. 
>
>
> You might have a look at http://http-kit.org/ 
>
> Cheers,
> Bob
>
>
> If you have more details on the issue or alternatives I would love to hear 
> about them.
>
> On Tuesday, February 12, 2013 12:54:53 AM UTC+2, Ryan T. wrote:
>>
>> Hello,
>>
>> I am trying to figure out how to setup my clojure project in order to be 
>> able to serve both normal http requests which will return json and also 
>> handle requests over websockets. Is it possible to do both and listen on 
>> same port? or do i need two separate projects? or.... ?
>>
>> I did find 
>> this<http://blog.jayfields.com/2011/02/clojure-web-socket-introduction.html> 
>> but 
>> from what I read Webbit is not the best solution for what I need. I was 
>> hoping to be able to build my clojure project and use jetty in development 
>> and tomcat on production.
>>
>> Thank you for your time
>>
>
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com <javascript:>
> Note that posts from new members are moderated - please be patient with 
> your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojure+u...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to