background preloader

Nodejs

Facebook Twitter

NodeCloud - Node.js resources. Connection pooling node-db with generic-pool. Blazing fast node.js: 10 performance tips from LinkedIn Mobile. In a previous post, we discussed how we test LinkedIn's mobile stack, including our Node.js mobile server.

Blazing fast node.js: 10 performance tips from LinkedIn Mobile

How To Node - NodeJS. Node.js Web/Software Development, Tutorials, Thoughts, and more: HARDENING NODE.JS FOR PRODUCTION PART 2: USING NGINX TO AVOID NODE.JS LOAD. 66+ Open Source JavaScript Game Engine for Serious Developers. Javascript is not only welcomed by the web developer or designers, but also more and more mobile device(Such iPad, iPhone, Android etc) oriented developers, we can easily build many amazing games with HTML(5) + Javascript + CSS.

66+ Open Source JavaScript Game Engine for Serious Developers

Below is a list of JavaScript Game Engine for serious developers, include general, 3D, Animation, Canvas, Math, Color, Sound, WebGL etc. Hope they will be helpful for your work! 1. General JS Game Engine Akihabara Akihabara is a set of libraries, tools and presets to create pixelated indie-style 8/16-bit era games in Javascript that runs in your browser without any Flash plugin, making use of a small small small subset of the HTML5 features, that are actually available on many modern browsers. bdge. Building a Developer Studio in NodeJS. In our always-on, mobile world, a field worker with a smartphone expects to be as connected as a colleague at a desk.

Building a Developer Studio in NodeJS

Enterprise mobile app development is about making this connectivity possible, while meeting the security and reliability requirements of a large organization. Enterprises seek to make their applications available on mobile devices without incurring unreasonable amounts of development time. There are a variety of development strategies to build mobile apps, from pre-packaged, no-code mobile solutions to fully custom solutions to mobile-integrated dev platforms. For many enterprises, a services-based development strategy with integrated mobile capabilities is becoming the standard method. Integrating mobile app development into a larger strategy built around cloud-native microservices brings many advantages, such as increased productivity, lower costs, improved security, and greater visibility and control.

Quickstart Tutorial on Testing in Node.js. Quickstart Tutorial on Testing in Node.js I recently started using Node.js for a project and decided to write tests to speed up my development.

Quickstart Tutorial on Testing in Node.js

After looking at a few of the testing modules I decided on Mocha and SuperTest. SuperTest makes it very easy to test HTTP endpoints and Mocha makes writing tests in general very easy. This tutorial will demonstrate the basics of testing a web app using these modules. Assumptions I am assuming that you already have basic javascript experience or experience with a language with similar syntax. Setup. DIY node.js server on Amazon EC2.

I’m involved with a project where our ruby/rails developer dropped out, so I decided to take on the job using node.js (rather than learn rails).

DIY node.js server on Amazon EC2

We initially were using services from dotCloud, but it was too flakey from day to day and our demo was coming up. For hosting, Amazon’s EC2 was the obvious candidate, but I’d have to setup and provision the entire server from scratch. This is that story.

Expressjs

Node.js. Nginx: An Introduction to the Nginx Configuration File. Nginx is a constantly evolving web server rapidly growing in popularity.

Nginx: An Introduction to the Nginx Configuration File

In July of 2013 nginx even managed to become the most used web server amongst the top 1000 sites ranked by traffic. It’s safe to say that these days you cannot afford to not know about nginx or how to use it. Unfortunately the nginx documentation is more of an API documentation than it’s an introduction to how nginx actually works. This post is aimed at correcting that by walking you through the most important parts of the nginx configuration file in a logical order. The Basics of the Nginx Configuration Nginx is in all fairness a fairly simple HTTP server, however, because most people come from Apache there are a few gotchas in the nginx configuration that people need to be aware of before they start using this web server.

There are 3 hierarchies which are usually referred to as blocks. Furthermore there are two special locations, an event block and the root which the event block and the http block reside in. Why does mongoDB fail when searching non-ascii entries (a.k.a., how to properly install mongodDB)? Take a moment and run the following code If you get the warning below: then you probably first tried to follow the mongoDB “Quick-Start” instructions because mongoDB’s Ubuntu instructions seemed confusing and too much work (like I did). However, upon firing up your brand new mongoDB server, you received an error message saying mongoDB wasn’t installed and were asked to run apt-get install mongodb-server. Unfortunately after executing this command you now have an old version of mongoDB running and an unzipped version of mongoDB that isn’t installed. Here’s how to upgrade to the most recent version (paraphrasing mongoDB’s instructions , but a bit easier to follow) : First let’s make sure mongoDB is fully turned off by removing the script that boots it up when the computer boots…then reboot the machine: Now run $ mongo and make sure no connection can be made to the server.

First, add “deb dist 10gen” as the last line of /etc/apt/sources.list , then execute: