NoSQL Data Modeling Techniques

Highly Scalable Blog

NoSQL databases are often compared by various non-functional criteria, such as scalability, performance, and consistency. This aspect of NoSQL is well-studied both in practice and theory because specific non-functional properties are often the main justification for NoSQL usage and fundamental results on distributed systems like the CAP theorem apply well to NoSQL systems.  At the same time, NoSQL data modeling is not so well studied and lacks the systematic theory found in relational databases. In this article I provide a short comparison of NoSQL system families from the data modeling point of view and digest several common modeling techniques.

I would like to thank Daniel Kirkdorffer who reviewed the article and cleaned up the grammar.

To  explore data modeling techniques, we have to start with a more or less systematic view of NoSQL data models that preferably reveals trends and interconnections. The following figure depicts imaginary “evolution” of the major NoSQL…

View original post 3,581 more words

Advertisements

JSON prettifying in VIM

VIM – How to format and syntax highlight JSON file

Formatting

  • Run this command in shell

    sudo cpan JSON::XS

  • Put this line to ~/.vimrc

    map <leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>

  • When want to format JSON file press

    \jt

  • credit : “tidify” a json in vim

Syntax highlighting

List all the loaded modules apache2

Addition to reblogged post

Simpler way of getting loaded modules


sudo apache2ctl -M

AdminUser.wOrdpress.cOm

You can use the following command to list all the loaded modules in apache (both DSO and Static)
———-

apachectl -t -D DUMP_MODULES

———-

The output will be something like
———
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
rewrite_module (static)
so_module (static)
auth_passthrough_module (shared)
bwlimited_module (shared)
php5_module (shared)
fcgid_module (shared)
proxy_module (shared)
———

View original post

Why Scrum will never work (via Maurits thinks aloud)

Why Scrum will never work With such a slightly provocative title I will probably have to start with the disclaimer first: what is written here is my own opinion and not necessarily that of my employer. That is, if I still have one after posting this blog. What's more: I'm a big fan of Scrum and other Agile methods. It pays my bills. Uh wait, let me rephrase that a bit more accurate: I'm totally 100 % convinced that Scrum works for software development. Now with these form … Read More

via Maurits thinks aloud

JoomFish with multiple domains trick

I know lot of people or LOVE or HATE Joomla!, specially Joom!Fish. If you are like me, you’ll hate for sure. WHY? Because it’s complicated. Lots of data on different locations. Joom!Fish sometimes force you to translate default language ?!?!? And with other languages it’s also sometimes pain in the ass. But let’s say that we have to use it because it is one of the best components that kind out there.

Let’s begin!

Continue reading

non-www to www with .htaccess

I don’t know how many times I have been searching for this piece of code hahaha….
There is few ways to make this kind of redirection with .htaccess, but i think this way is universal and requires no other setup and it works without changing anything.


RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]