Live data from Hacker News

Viewing profile — shenedu

shenedu

HN member
Joined
Mon, Jan 28, 2013, 5:53 AM UTC
HN karma
64
Public activity
26 items

About shenedu

No profile information was provided.

Recent public activity

  1. comment
    Comment #5460990

    Quite helpful posts. Try to keep track of them using a RSS reader[1] [1] http://rssminer.net/a#read/281377?p=1&s=newest

  2. comment
    Comment #5460953

    pedestal is quite a large project, try to offer a complete solution for building web application in Clojure, from server side to client side, to tooling. http-kit is a very small a…

  3. comment
    Comment #5460898

    Thanks for the kind words. For the server, https is not planed, since It's better be done by Nginx or something alike [1]. For the client, https is planed. We have use case for it,…

  4. comment
    Comment #5459851

    I am afraid http-kit is much feature less than SignalR. SignalR provides client side javascript[1], and hubs. http-kit provide non of these. http-kit just provide a way to get a Ch…

  5. comment
    Comment #5459791

    Yes, it's 2.0.0, that's a promise of the API. No API breaks after 2.0.0 get released (It's already released today). To tell the truth, I, Peter[1], and a few others take more than …

  6. comment
    Comment #5393262

    Good job! Thanks for doing this. Will use it in my next project.

  7. comment
    Comment #5379747

    You may find this useful, also in python: http://code.activestate.com/recipes/437932-pyline-a-grep-lik...

  8. comment
    Comment #5379044

    Hi, I am the author of open source rss reader Rssminer, live demo: http://rssminer.net/demo How about your guy build on top it, I can contribute the whole source code (anyway, it's…

  9. comment
    Comment #5374758

    Hi, Rssminer is a personal weekend project, it's open source [1] I create it because I want to learn how to do one page webapp with Backbone.js, but at the last, I drop backbone, l…

  10. comment
    Comment #5374467

    Of course rssminer[1], since I write it. It's open source, you can contribute too: https://github.com/shenfeng/rssminer 1. http://rssminer.net/demo

  11. story
  12. comment
    Comment #5372984

    NewsBlur is pretty good. I've used it for a while. I also write my own feed reader: Rssminer. It's not as full-fledged as NewsBlur, but is a much lighter alternative. It's support …

  13. story
  14. comment
    Comment #5132019

    Hey, http-kit can be used to from java directly: https://github.com/http-kit/http-kit/blob/master/test/java/o... Not recommended! The API is very lowlevel. Maybe you can try to twe…

  15. comment
    Comment #5127996

    Yes. something like long polling do require server capable of maintaining many connections. http-kit provide `async-response` for this kind of usage: see http://http-kit.org for mo…

  16. comment
    Comment #5127920

    Yes, JVM is strong. Clojure inherit it.

  17. comment
    Comment #5127891

    http-kit needs a few kilobytes of memory (buffer for parsing HTTP request, maintain state, etc) for a connection. The thread model used by http-kit: a dedicated thread(server-loop)…

  18. comment
    Comment #5127756

    author here: Java part: 1. Java NIO's performance is amazing: event driven r/w bytes 2. maintain state machine when parsing HTTP from bytes buffer need many local variables, I get …

  19. comment
    Comment #5127587

    Linux's epoll or FreeBSD's Kqueue is ridiculous scalable. Both http-kit and netty take advantage of it. http-kit is all about HTTP, netty is a general framework.

  20. comment
    Comment #5127479

    Author here. The server is open source, on github: https://github.com/http-kit/http-kit Test test code is also on github: https://github.com/http-kit/scale-clojure-web-app Suggesti…

  21. comment
  22. comment
    Comment #5127456

    yes, SQL is blocking, JVM also have threads. The http-kit is asynchronous(epoll on linux), the API for programmers is sync, which is more familiar.

  23. comment
    Comment #5127440

    Author here. > Add an endpoint with a poorly optimized SQL query: 20 concurrent connections. Agreed. http-kit use threadpool to compute the response, try to minimize this a little.…

  24. comment
    Comment #5127408

    author here. Yes, Clojure can use more than 1.4G of heap, and can use threads. http-kit is multithreaded (one just for IO, others for computing response). A strength of Clojure?

  25. comment
    Comment #5127395

    author here. > Notice that in his tests 97% of these connections don't do anything, just idle. He maxes out at 18764 req/sec. Yes, just testing how many concurrent connection can b…