I’m looking for a cloud implementation of an HTM server that works through a RESTful API. I 'd like for the wrapping of the programming language to make each cell as little in size as possible while it’s being stored in RAM. Generally, what else should I take into consideration? I know this question is too broad but any kind of directional cue will do.
Would your API be a wrapper around the NuPIC core, or your own custom HTM implementation?
My own preference (highly subjective) is NodeJS for lightweight RESTful APIs. However for more memory intensive ones I stay away from the less strictly typed languages like NodeJS (probably also applies to PHP, though I don’t use it much myself) – I typically use Go for those. Both NodeJS and Go simplify concurrency, which is another reason I prefer them.
Cool, I moved the topic to HTM Hackers since it isn’t specifically a NuPIC question.
Take a look at the restify framework for NodeJS if you don’t already have a preference with something more generic like Express, etc. IMO, it really speeds up RESTful API development in NodeJS. A simple example of one I wrote is image2sdr if you want to use it for reference (it demonstrates how I typically set up my basic folder structure when I start a restify project)