Skip to content

Commit

Permalink
imported proxy server from original repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-vlcek committed Oct 22, 2010
1 parent 13c5ccd commit 36fe614
Show file tree
Hide file tree
Showing 5 changed files with 564 additions and 0 deletions.
Empty file removed README
Empty file.
10 changes: 10 additions & 0 deletions README.textile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
h1. Node gadgets for Elastic Search

h2. Proxy server

Basically, the "proxy":.proxy server can do the following for you:
* It can restrict access to Elastic Search REST API (defaults to _safe_ operations only).
* You can provide handlers to modify HTTP client request (e.g. you can ensure that @size@ is not too big) and Elastic Search response (e.g. you can remove sensitive data).
* It can round-robin client requests among active HTTP enabled nodes (it periodically refreshes list of active nodes), thus, it can provide a single URL for clients to communicate with Elastic Search cluster.

You can find simple example in "proxy-example.js":http://github.com/lukas-vlcek/node.es/proxy/proxy-example.js
Loading

0 comments on commit 36fe614

Please sign in to comment.