While developing software on windows, one may find that they need to run mongodb in replica set mode as it supports some operations which are not available in standalone mode.
Most of the times, developers run mongodb as a script in windows. It may resemble the command written below.
Wherein “rs0” is the name of the replica set.
Now, for all practical purposes, it does what it is intended to do. In other words, it runs the mongodb server in replicaset mode. However, one annoying side-effect this method has is that fact that it keeps a cmd…
We all know how awesome NoSQL databases, such as mongodb, are. They come with amazing features & blazing fast access speed. However, they still lack a feature or two when compared to the traditional relational databases.
One such feature is the ability to have a sequence generation capability. One must have come across
@GeneratedValue(strategy = GenerationType.AUTO) in spring. It enables programmers to use the underlying database’s sequence generation features to have an attribute, most commonly the id/primary key, numerically increment itself. This is an fantastic feature that comes built-in in most traditional relational databases such as MySQL, MSSQL, etc.
2016 onwards, the crypto ecosystem has started to gain a lot of attention. We have all heard crazy stories about people literally going millionaires overnight & pizza’s being sold for 10,000 bitcoins, which translates to $82 million in today’s money.
To be honest, Bitcoin(BTC), Etherum(ETH), Ripple(XRP) to the average layman feels like magic internet money & all the hype around the whole crypto currencies has only furthered such preconceived notions. If we listen to the futurists, they’d swear by their credentials that crypto is the next big thing in the finance industry, a claim that can hardly be denied due…