MongoDB Go Driver tutorial

 3r33535. 3r3-31. 3r33535. Good news! Official go driver for mongoDB released in beta. After some thought, I decided to translate 3r335. Article 3-33547. from the official mongoDB site instead of writing the material yourself. Here is what will happen in this tutorial: 3r3-3550. 3r33548.  3r33535.
Installing mongo-go-driver
Connect to mongoDB using mongo-go-driver
Using BSON facilities
Using CRUD methods
 3r33535. MongoDB Go Driver tutorial ...
+ 0 -

Database as Code. Digging deeper

3r33737. Database as Code. Digging deeper 3r33714. 3r33737.  
3r33737. In IT projects, code is written by everyone. Engineers manage Kubernetes clusters with a few lines, disperse clouds with Terraform and roll tons of configurations on Ansible, Chef and Puppet. QA write understandable business test scenarios on Spock and Cucumber. Analysts are fluent, often better than developers, talking in SQL. Project documentation in Markdown, AsciiDoc or LaTEX formats is "compiled" into the required format on the build server. Well, the developers themselves, these code tamers, immediately speak a lot of languages ​​for every life situation - client...
+ 0 -

MongoDB and market research of IT vacancies

Have you ever analyzed a job?
The question was asked, in what technologies is the labor market most demanding at the moment? A month ago? A year ago?
How often do new Java developer vacancies open in a certain area of ​​your city and how actively do they close?
In this article I will tell you how you can achieve the desired result and build a report system on the topic of interest to us. Go!
MongoDB and market research of IT vacancies

Probably, many of you are familiar and even used a resource like ...
+ 0 -

Is the problem of injections in JavaScript relevant?

Is the problem of injections in JavaScript relevant?In the old days, when web development was based on the fact that server applications sent queries to relational databases and issued HTML output, there was often a code like this:
//WARNING: Bad example!
function popup (msg: string): string {
return " " + msg + " ";

or such:
//WARNING: Bad example!
function getName (login: string): string {
return "SELECT name FROM users WHERE login =" "+ login +" "";

Since then, we have learned to use safer approaches.
Widely used tools such as templating and binding parameters. Today, you can rarely find dangerous string concatenation.
In th...
+ 0 -

Theory and practice of using HBase

Theory and practice of using HBaseGood afternoon! My name is Danil Lipova, our team at Sbertech started using HBase as a data warehouse. In the course of his study, experience accumulated, which he wanted to systematize and describe (we hope that many will be useful). All the experiments below were carried out with versions of HBase ???-cdh??? and ???-cdh???-beta1.
General architecture
Write data to HBASE
Reading data from HBASE
Caching of the data
Batch processing of MultiGet /MultiPut data
Strategy for breaking tables into regions (spiliting)
Fault Tolerance, Compactification and Locality of Data
Settings ...
+ 0 -

Migration of ElasticSearch data lossless

Migration of ElasticSearch data lossless
Academic design of the data warehouse recommends keeping everything in a normalized form, with links between. Then the rolling of changes in relational mathematics will give a reliable storage with support for transactions. Atomicity, Consistency, Isolation, Durability - that's all. In other words, the storage is specially built for secure data updates. But it is not optimal for searching, especially with a broad gesture on tables and fields. We need indices, many indices. The volumes expand, the recording slows down. SQL LIKE is not indexed, but JOIN GROUP BY sends meditation to the query scheduler.
The i...
+ 0 -

Where is his button ?! As a simple person to download data from Kibana and Elasticsearch and do not strain the developers

Where is his button ?! As a simple person to download data from Kibana and Elasticsearch and do not strain the developersElasticsearch, Kibana and Logstash (ELK) are an excellent set of tools for collecting and visualizing large amounts of data.
Logs, logs, events - all of this is quite easy to gather, map and displayed in a single tool. Logstash stores data, Elasticsearch stores it, and Kibana displays it in graphical form.
With all the power of this bundle, of course, there are tasks that can not be realized through the built-in capabilities.
For example, Kibana perfectly displays data within a single table (index), but as soon as it comes to combining different indexes into one sample, it helplessly ...
+ 0 -

JOIN in NoSQL databases

In this message, we will look at ways to connect collections in NoSQL databases mongodb, arangodb, orientdb and rethinkdb (in addition to being a NoSQL database, they also have a free version with a fairly loyal license). In relational databases, similar functionality is implemented using SQL JOIN. Despite the fact that CRUD operations in NoSQL databases are very similar and differ only in details, for example, in one database, create ({}) is used to create an object, on the other - insert ({}), and in third - save ({}), - the implementation of a sample of two or more collections in each database ...
+ 0 -

Applications for Tarantool. Part 3. Testing and launching

The application for Tarantool is, in essence, a set of stored procedures used as an API. The data is processed on the storage side, which can significantly improve performance. However, support for stored procedures can turn into a nightmare.
Can. But not today.
Today we will consider the issues of ensuring the quality of the application. In particular, let's talk about testing, understand how to launch in production, how to use connectors, and also talk about the intricacies of migration of the data schema.
Applications for Tarantool. Part 3. Testing and launching ...
+ 0 -