shenedu
Joined 13 years ago
Joined 13 years ago
http-kit is a very small and focused library, It just do one thing: talk in HTTP. http-kit need to work together with other libraries like Ring[1] and Compojure[2] to do the server side.
Few good things about http-kit: 1. Very fast and scalable, almost as fast as what you can get from the hardware. 2. Focus, do one thing and do it well, thing about Linux/Unix's philosophy. Personally, I prefer this way of doing software.
[1] https://github.com/ring-clojure/ring [2] https://github.com/weavejester/compojure
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, too. Some time is needed to work on it. It will come out in one or two month, I guess.
Socket.IO[2] is more like SignalR compare to http-kit.
[1] jquery.signalR-1.0.1.min.js [2] http://socket.io/
To tell the truth, I, Peter[1], and a few others take more than a month to think and discuss the API, even though there are just few functions to export. We try our best to make it better. In the end, I think, We are quite happy with what we get now: the unified API.
If a very good idea found to do the API, but the API would break, then it's version 3. But version 2 will still be maintained, and any bugs will get fixed. That's the promise.
Is this address your concern?
http://code.activestate.com/recipes/437932-pyline-a-grep-lik...
How about your guy build on top it, I can contribute the whole source code (anyway, it's open source)
The reasons I do so:
1. Rss Reader needs a lot of hardware resources for storing/fetch feeds. A big company have much better resource than I can offer. 2. I can provide some paid support for rssminer's code.
The reasons why it may be helpful for you guys:
1. Rssminer is fully working, you can save a lot of time, faster product 2. The code is very clean. https://github.com/shenfeng/rssminer 3. The code is very fast. In order for it to be fast, I even write an event driven http clent and server: https://github.com/http-kit/http-kit
If interested, drop me an email: [email protected]
I create it because I want to learn how to do one page webapp with Backbone.js, but at the last, I drop backbone, life become much easier.
When writing it, I need an async HTTP Server and Client, so I write one myself, called http-kit[2], it seems that it's more popular than Rssminer.
Rssminer is not feature complete as other ones, It has:
1. Import subscription list from Google Reader 2. Feed reading 3. Keyboard support 4. Fast (the landing page is not very fast, though) 5. Run it yourself, the readme on github has detailed procedure about how to run it locally.
Bug report or pull request are welcome. Let's build a Rss reader we like.
[1] https://github.com/shenfeng/rssminer [2] http://http-kit.org
I hope HN finds it useful too. It's also fully open-source too: https://github.com/shenfeng
Not recommended! The API is very lowlevel.
Maybe you can try to tweak the max allowed open file to a larger value. The default is about 1024, that how you just get 1000(I guess). Jetty is quite good at concurrency, you can double check it.
Why not try Clojure? Your web dev's productivity increase by few times instantly.
I am the author of http-kit, also one of the authors of delicious China: http://meiweisq.com, trying to do some useful thing for our users (like realtime) with it. :)
[1] http://rssminer.net/a#read/281377?p=1&s=newest