Thank you, Giovanni! > For me, choosing a 1-tier architecture
Actually, we still need kinda reverse proxy in front, mostly to have gzipped answers (and, optionally, prepend Cache-control headers). Without js rewrites I had to use Apache or node to avoid web server recompilation on rules change. Now I can use nginx since rule list is stable and I need to compile nginx only once don‘t bothering about internal routing rules. > by choosing extreme ease of > development(in-browser development, same javascript language for frontend > and backend) I still don‘t think couchapps are easy in common sense, mostly because technologies are limiting and concepts are off mainstream. However, I admit now that couchapp concept is less limiting than I thought a year ago ) ermouth 2016-09-05 11:28 GMT+03:00 Giovanni Lenzi <[email protected]>: > Great job ermouth, you are always on the front line on pushing couchapp > borders! > > JS rewrites seems to really enable them to any kind of use. Performance may > be a limit if you are really interested to squeeze each available cpu > cycle, ok.... but, from a business perspective, how does it cost to reach > and mantain this speed? May be an interesting question for your article > too. > > For me, choosing a 1-tier architecture(couchdb with js rewrites and default > vhost) over the usual 3-tier(web-app-db) is mostly a matter of costs. > Choosing couchdb means keeping costs low by choosing extreme ease of > development(in-browser development, same javascript language for frontend > and backend) ease of maintenance and reduced set of skills(one server only > to learn, configure and mantain with no licenses). > > Would I mind spending some more bucks on hardware (which keeps constantly > improving and getting cheaper) to reach the same performance level of a > more complicated and thus expensive architecture? Of course not. > > Thanks for your work, > --Giovanni > > 2016-09-02 0:00 GMT+02:00 ermouth <[email protected]>: > > > Tried out more or less pure couchapp approach in 2016 realities, I mean > JS > > rewrites and PouchDB. > > > > Written down a story about the project, from the couchapp side: > > http://lesorub.pro/how-it-works > > > > It was interesting experience, couchapps still might be useful, in very > > rare cases ) > > > > ermouth > > >
