shinypb / openkeyval

OpenKeyval.org is a completely open key-value data store, exposed as a drop-dead simple web service. The goal is to make this a very easy way to persist data in web applications.
http://openkeyval.org
Other
136 stars 35 forks source link

Better Performance #21

Closed xeoncross closed 12 years ago

xeoncross commented 12 years ago

If you removed PHP from the picture and used Nginx to pass requests directly to membase (membase is like memcached but it saves to disk) then you would see a large increase in performance. PHP just isn't needed unless you work out some auth/API key scheme and have to check requests.

Even then, you can by-pass PHP for the GET requests and just use it for the SET requests.

shinypb commented 12 years ago

We discussed a few possibilities when we put the first version together, many of which were roughly along the lines of what you describe. Ultimately, we went with the stupid/simple PHP strategy because we wanted it to be insanely easy for anyone to start running their own OKV service if they wanted to. PHP is utterly commoditized, and the memcache support isn't an absolute requirement.

It's easy to imagine improving the service, though — it's just a matter of time, inspiration, and compelling use cases. :)