tag:blogger.com,1999:blog-7100397.post6472826592877425370..comments2022-10-01T10:49:59.431-07:00Comments on Mark Watson's artificial intelligence and Lisp hacking blog: My two new projects: both web portals written in ClojureMark Watson, author and consultanthttp://www.blogger.com/profile/05514730816583918651noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7100397.post-72556995898604879292012-01-10T21:33:07.157-07:002012-01-10T21:33:07.157-07:00Hello VernonO, if I drop the GWT code, I was not g...Hello VernonO, if I drop the GWT code, I was not going to use a rich client approach - I may use Dojo.Mark Watson, author and consultanthttps://www.blogger.com/profile/05514730816583918651noreply@blogger.comtag:blogger.com,1999:blog-7100397.post-73115497543052418912012-01-10T21:13:15.854-07:002012-01-10T21:13:15.854-07:00Hi Mark,
I am curious about your strategy on your ...Hi Mark,<br />I am curious about your strategy on your third mentioned project. Since you stated the prototype uses GWT, are you planning for a similar javascript-heavy frontend if you use Clojure for the backend ? In other words, will you use a javascript library, or will you resort to a more "Web 1.0" style ? <br />Thanks,VernonOhttps://www.blogger.com/profile/00501969997374258002noreply@blogger.comtag:blogger.com,1999:blog-7100397.post-76895568697794923742012-01-10T08:38:29.090-07:002012-01-10T08:38:29.090-07:00Hello Dmitry, I host the photo site on a small EC2...Hello Dmitry, I host the photo site on a small EC2 instance (with a lot of other stuff) and the web service on Heroku (two dynos). In your lein project.clj file you can set JVM options for maximum memory limit which I recommend for Heroku (something like -Xmx280m).<br /><br />Using EC2 micro instances is also a possibility but Amazon throttles the amount of CPU time you get if you use too much at once. I have a customer's Clojure + Noir web app (very light use) running on one of their micro instances - works OK if I use the "nice" utility to run at a lower priority, like: "nice lein run prod" ("prod" for production). Running at a lower priority may sound counter intuitive but I stay under Amazon's CPU allotment and they don't seem to throttle me.Mark Watson, author and consultanthttps://www.blogger.com/profile/05514730816583918651noreply@blogger.comtag:blogger.com,1999:blog-7100397.post-26590720858997822522012-01-10T03:05:51.210-07:002012-01-10T03:05:51.210-07:00This is cool! I also like Clojure very much. The o...This is cool! I also like Clojure very much. The only thing which still bothers me is hosting. Looks like the only option today is Heroku or otherwise you have to buy VPS. How did you host your portals and how much memory do they consume?Dmitryhttps://www.blogger.com/profile/17434341697941378483noreply@blogger.com