4 ms·
Hey, it's me, avogadr.io guy. The first thing to give out seemed to be the molecule rendering server Sourire (running locally) which is a Clojure webserver wrap
by lambdacasserole 9y ago
Hey, it's me, avogadr.io guy. The first thing to give out seemed to be the molecule rendering server Sourire (running locally) which is a Clojure webserver wrapper around a cheminformatics toolkit (see GitHub for more info). The molecule rendering server process was crashing for some reason under the load (physical memory, disk space, jury's still out I'm honestly not sure at this point) so the site itself was being served but any requests to Sourire were failing (hence the lack of a molecule in the UI during the hug of death). More RAM/disk space seems to have sorted it out for now and it's holding steady. I guess it comes down to a question of how many molecule renders are possible concurrently on the hardware (including any temp file/cache/RAM cleanup time).
- jameskegel 9y agoGreat work :) Je souris aussi
- scrollaway 9y agoI'm sure you've thought about moving the renderer clientside in JS - what's blocking it? Have you played with ClojureScript before?
- lambdacasserole 9y agoIt's certainly crossed my mind, and it'd be great to implement something like that, but the Clojure is just a wrapper around a large and complicated cheminformatics toolkit. Porting the actual rendering library (Java/C++?) would probably be a substantial undertaking.
- chii 9y agoIf it's pure java, it's possible to compile using GWT to JavaScript for use on the client side. If it's C++, then emscripten might be a possible choice. If it's a mixture, then that's a much harder problem...
- gilleain 9y agoIt's probably a hard one: https://github.com/cryos/avogadro/ https://github.com/cryos/avogadro/ Mostly C++, then the clojure wrappers in java? There do exist pure javascript molecule drawers, though.