I suspect that far more often the choice is driven by existing skillsets and staff and legacy code. Where I work, the Java-side is well-staffed and running fairly well, so moving that crew to be back end services only is a good use of our existing codebase and people. Ergo, Node works better for our front-end than back-end - not because of _node_, but because of our current resources and legacy code. I suspect this is a common pattern, so you'll see the "industry" do it often. That doesn't say that Node is inappropriate for services (nor does it say it is appropriate for services).
On Fri, Jul 4, 2014 at 1:55 PM, Zlatko Đurić <[email protected]> wrote: > On 04.07.2014 14:58, Adam Davies wrote: > >> Seems like the state of the art is to stick with Java services on the >> backend and use Node as a page server to server HTML pages content, so that >> Node is a kind of front-controller or proxy. >> >> >> > In a way. Node can do a lot of work and it can handle a whole lot of > connections, as well as route all those connections between Java services, > databases and other stuff. > > The thing where it is not the best match is heavy-duty processing. So, if > you're serving images or have a webshop or something that connects to many > different warehouses to pull data from, Node is great. If you're doing > video encoding and recoding, then yep, leave that part to Java. > > > -- > Zlatko > > > -- > Job board: http://jobs.nodejs.org/ > New group rules: https://gist.github.com/othiym23/9886289#file- > moderation-policy-md > Old group rules: https://github.com/joyent/node/wiki/Mailing-List- > Posting-Guidelines > --- You received this message because you are subscribed to the Google > Groups "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/nodejs/53B714D8.4090608%40gmail.com. > > For more options, visit https://groups.google.com/d/optout. > -- Brett Ritter / SwiftOne [email protected] -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAMb349y6Y0P6cwb-%3D0PMvJeeaem-QMj-KAaR3RvxQPWk-BevCg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
