Document databases became popular in last years. They have a lot of places where they are suitable to use. RavenDb and many others are doing very well on production sites. This time I`ll tell something about Marten which has feature of document database and event store. The new thing is that Marten works on the top of Postgres database.
In this post I will walk you through migration of a database running old 2.6 version of MongoDB, to a more recent 3.4 version. We will not only upgrade the MongoDB version, but also change the storage engine from MMAPv1 to WiredTiger. The database is hosted within a Docker container.
Kotlin is relatively new language developed by JetBrains, released at the beginning of 2015. It comes from the industry and is developed for the industry, it solves a lot of problems we are facing today, like null pointer exceptions. The language and all its features are working with JVM and are compatible and fully interoperable with Java 6, which makes it a great tool for Android development.
Sometimes you would like to see how well your system is performing, but this information is hard to extract from all the data available to you. The processor usage, queue lengths and message rates, database transaction times and numbers - they do not tell the full story. You, as the developer of the system, know best what parts of the system and what processes should be monitored - and how. Youw would like to measure the number of business operations performed and time taken. But how to collect this information from multiple machines and present it in a graphical form? There are many options, however here I will show how to do this using the Seq log collector.