Status Report Ioana Ifrim CERN 1 2 SERVER








- Slides: 8
Status Report Ioana Ifrim CERN 1
2
SERVER AND BROWSER • Java. Script is running on the server, as well as in the browser, unlike Java which is encapsulated within sandboxed environments like Flash or Java Applets. • Complicated build tools like Ant and Maven have revolutionized Java programming. But there's only one issue. You write the specification in XML, a data format that wasn't designed to support programming logic. 3
Programmatic Access • Node. js is an open source Javascript runtime environment for easily building server-side and networking applications. The platform runs on Linux, OS X, Free. BSD, and Windows, and its applications are written in Java. Script. 4
• Built-in support for package management using the NPM tool that comes by default with every Node. js installation. The idea of NPM modules is quite similar to that of Ruby Gems: a set of publicly available, reusable components, available through easy installation via an online repository, with version and dependency management 5
• Java. Script is running on the server, as well as in the browser, unlike Java which is encapsulated within sandboxed environments like Flash or Java Applets. • Complicated build tools like Ant and Maven have revolutionized Java programming. But there's only one issue. You write the specification in XML, a data format that wasn't designed to support programming logic. 6
Connection Pool • In node 0. 5. 3+ there is a new implementation of the HTTP Agent which is used for pooling sockets used in HTTP client requests. • node-postgres ships with built in client pooling. Client pooling allows your application to use a pool of already connected clients and reuse them for each request to your application. If your app needs to make more queries than there available clients in the pool the queries will queue instead of overwhelming your database & causing a cascading failure 7
8