Developers Club geek daily blog

Google where you put my place in GMail? And you precisely know how in GMail labels work?

1 year, 2 months ago

I began to notice that from 15 gigabytes free the place, the provided Google, mail occupies me already nearly 12 gigabytes. And such tendency does not please me.
On the other hand I as an e-mail client use Thunderbird with complete synchronization. I.e. all letters have to be gone. And so the Thunderbird folder with all letters and indexes occupies only 3 gigabytes. Though according to the logic of things the size has to not just match more or less the taken place on GMail, and to be more since Thunderbird does not archive the letter, and stores as is and still builds indexes for search acceleration.
Problem on the person! We begin to get to the bottom of an essence.

Read more »

Certification of mongoDB

1 year, 2 months ago
Recently I managed to take place certification of C100DEV: MongoDB Certified Developer Associate Exam and C100DBA: MongoDB Certified DBA Associate Exam. In this article I want to share the experience and tell what it is necessary to pay attention by preparation to and as there took place examination. Also I will give several examples of questions.

Read more »

Postgres NoSQL is better, than MongoDB?

1 year, 2 months ago
In general, relational database management systems were conceived as "one - the size - is suitable - all a solution for storage and data acquisition" for decades. But the growing need for scalability and new requirements of applications created new problems for traditional management systems of RSUBD, including some dissatisfaction with approach "one - the size - approaches - all" in a number of scalable applications.

The new generation of the lightweight, high-performance databases created to throw down a challenge to domination of relational databases was the answer to it.

Read more »

MongoDB as monitor of LOG files

1 year, 2 months ago
In this article I will tell about use of not relational MongoDB base for monitoring of journal files. For monitoring of log-files there is a set of tools, from monitoring by the shell-scripts tied on cron to apache hadoop cluster.

Approach with monitoring by scripts of text files is convenient only in the elementary cases when, for example, problems come to light existence in the journal file of the lines "ERROR", "FAILURE", "SEVERE", etc. For monitoring of big files it is convenient to use the Zabbix system where Zabbix Agent (active) will read out only new data and with a certain frequency to send them to the server.

Read more »

Asynchronous Python 3.5 and Mongodb

1 year, 3 months ago

It is rather loose translation of article about the main innovations of the asynchronous driver for mongodb used in tornado. The main motive which served for writing of this transfer — the innovations which appeared in this version such as support asyncio, async, await and Python 3.5. Article not, how many transfer of innovations, how many laconic examples of asynchronous work with MongoDB.

Python 3.5
async and await

Read more »

Hera NoSQL behind

1 year, 3 months ago

New trend on HighLoad ++ — a set of reports on use of random access memory. The word to Konstantin Osipov, the developer of the Tarantool platform, the author of the report "That special in DBMS for data in random access memory".

You were responsible in MySQL for performance how so it turned out that you decided to develop the DBMS?
In MySQL I directed one of commands of development of the server, all were responsible for performance there.

MySQL in many parameters was work of dream, but, unfortunately after we became part of Oracle, a lot of things changed.

Several my colleagues went to MariaDB, someone founded the company (SeveralNines, FromDual). I never felt "underloaded", and with departure of many key developers work in general turned into a marathon on transfer of knowledge. Resistance to absorption, desire to start everything with a clean slate, revolt against slow decision-making by the big company, unwillingness to go for various reasons to the USA, eventually, the good sentence from Mail.Ru to which by this moment there was already about a year — and I left.

If knew where I leave, ten more times would think. Sometimes there was no belief at all that it will be possible to make something useful, than will use outside Mail.Ru and now Tarantool is very far from "ideal DBMS" so far.

Read more »

Writing of framework on asyncio, aiohttp and thought about Python3 part one

1 year, 5 months ago

There was question of compatibility of the written code with about one and a half years ago Python3. As it became already more or less obvious that develops only Python3 and, sooner or later, all libraries will be ported under it. And in all distribution kits by default there will be three. But gradually, in process of studying that the new has appeared in the latests version Python to me became more increasing it is pleasant Asyncio more likely even not Acyncio and written for work with it aiohttp. And, later some time, there was small wrapper around aiohttp in style like django. To whom it is interesting that from this has turned out I ask under kat.

The short overview of other frameworks on the basis of aiohttp
1. Structure
2. aiohttp and jinja2
3. aiohttp and receptions
4. statics and GET, POST parameters, redirects
5. Websocket
6. asyncio and mongodb, aiohttp, session, middleware
7. aiohttp, supervisor, nginx, gunicorn
8. After installation, about examples.

Read more »

Why not everything is so simple with MongoDB

1 year, 5 months ago
In the last some years of MongoDB has gained huge popularity among developers. Continually on the Internet there are any articles as the next young popular project has thrown out on ash heap of history usual RSUBD, has taken as the basis for data of MongoDB, has built infrastructure round it and as all after that became beautiful. Even there are new frameworks and libraries which build the architecture entirely on Mongo (Meteor.js for example).

On work debt I am engaged about 3 years in development and support of several projects which use MongoDB as the main DB, and in this article I want to tell why in my opinion with MongoDB of not everyone it is so simple as it is written in manuals and to what you have to be ready if suddenly decide to take MongoDB as the main DB in your new fashionable startup :-)

All that is described it is possible to reproduce with use of PyMongo library for work with MongoDB from the Python programming language below. However most likely you can come up against similar situations and when using other libraries for other programming languages.

Read more »

Node.js and Express as they are

1 year, 5 months ago
Hello, fans of our habroblog and other readers!

We are going to be marked out in the field of unfading Node.js again and we consider possibility of the edition of this book:

As reader's interest "and how it has pushed all this into two hundred pages is quite clear, and why for me it is necessary"? under cat we offer transfer of thorough article of Tomislav Kapan about that, Node.js why is actually necessary.

Read more »

Встраиваемая JavaScript база данных с прицелом на API совместимость с MongoDB

1 year, 6 months ago
Как-то давно мы задумали написать один проект для Node.js которому очень нужно было работать с NoSQL базой данных, но при этом не иметь никаких зависимостей от внешних приложений. Как это обычно бывает, все закончилось разработкой новой библиотеки.

Начав разработку два года назад, желание использовать встроенную базу данных для web приложения казалось весьма странным. В самом деле, зачем? Сейчас, когда появился проект node-webkit, объяснить это гораздо легче. Используя встроенную базу данных возможно разработать web приложение двойного назначения. Такое приложение сможет работать как в классической схеме клиент-сервер, так и с использованием node-webkit как обычное загружаемое приложение. Важной особенностью и в том и другом случае является то, что код базы данных является частью вашего приложения, что избавляет от многих проблем совместимости и установки.

Read more »