Kayıtlar

Mongo Edu videoları için komut

Mongodb üniversitesi video dosyalarını indirmek için makinada python kurulu olması gerekiyor.Nodejs paket yöneticisi npm doğal olarak nodejs kurulu olmalı ondan sonra aşağıdaki komut size videoları toplu indirme imkanı verecektir. mongo-edu -d /klasör-ismi/ --cw

1 saniyeden uzun sorguları zamana göre sırala

db.system.profile.find({millis:{$gt:1000}}).sort({ts:-1})

Mongodb ile sorgulara profiler ile denetlemek

Resim

Mongo DB full text search özelliği

Resim

Mongodb sorguda index seçmenin inceliği

Resim

MongoDB Embeding olayının manası

Resim

Digital Ocean bulutunda nginx ile nodejs sunuculara reverse proxy ve cache load olayına girmek

Resim
Nginx Load Balancer and Reverse Proxy for Node.js Applications On Digital Ocean Joe McCann Digitial Ocean  is rad. A modern VPS with SSD servers for super cheap. Easy to spin up or down. Cloning and backing up images are a breeze and they have a solid, easy to use API with a great support team. I recently moved a bunch of my static sites to one machine on Digital Ocean. They are all sites powered by  Express  via  Node.js . However, I wanted to put Nginx in front of them to act as a reverse proxy so I could have one machine serve up many websites. This was very simple to do and within an hour I had 7 sites up and running on one machine being handled by Nginx in front of all of them as the reverse proxy. However, to make these sites highly available, I needed to reconfigure my infrastructure a bit. I ended up needing not one, but three total machines. Machine 1 with Nginx installed (to act as load balancer and reverse proxy) Machine 2 with Node.js installed...