News for hackers. Stuff that matters.
Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by cortesoft on Thursday May 24, 2018 @12:28AM (#17141095)
I don’t know why these ‘you don’t have big data’ type articles bother me so much, but they really do. I know it isn’t saying NO ONE has big data, but I feel defensive anyway. Some of us DO work for companies that need to process millions of log lines a second. I know the article is not for me, but it still feels like a dismissal of our real, actual, big data problem.
Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by realusername on Thursday May 24, 2018 @01:00AM (#17141215)
These articles are not targeted at you indeed but to the thousands of companies trying to setup a massive architecture to process 3GB of data per year. All these big data solutions are still necessary of course, it's just not for everyone.
Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by rectangletangle on Thursday May 24, 2018 @01:49AM (#17141406)
Agreed they are tools designed to fill a niche. This doesn't make them bad, or uneccessary, just specialized. A spanner drive screw isn't worse than a hex drive, it's just designed for a different more specific use case.

Really this just goes to show how impressive RDMSs like Postgres are. There's nothing out there that's drastically better in the general case. So alternative database systems tend to just nibble around the edges.

My rule of thumb is always try to implement it using a relational model first, and only when that proves itself untenable, look into other more specialized tools.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by candiodari on Saturday May 26, 2018 @11:39AM (#17162603)
Yeah but the whole cloud paradigm is predicated on big data, so large actors are pushing it where it makes no sense, and it makes everyone less effective. Not more.

Ever notice how with cloud it's actually in the interest of cloud providers to have the worst programmers, worst possible solutions for their clients ? Those will maximize spend on cloud, which is what these companies are going for.

Of course, they hold up the massive carrot of "you can get a job here if you ...".

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by mhotchen on Thursday May 24, 2018 @01:50AM (#17141411)
For every programmer like you there's ten more at places where I've been employed trying to claim they need big data tools for a few million (or in some cases a few hundred thousand) rows in mysql. I get why you could feel attacked when this message is repeated so often, but apparently it still isn't repeated anywhere near enough.
Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by collyw on Thursday May 24, 2018 @06:05AM (#17142577)
"Relational databases don't scale".

I hope the NoSQL hype is over by now and people are back to choosing relational as the default choice. (The same people will probably chasing block-chain solutions to everything by now...)

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by bshacklett on Thursday May 24, 2018 @08:39AM (#17143336)
Why should relational be the default choice? There are many cases where people are storing non-relational data and a nosql database can be the right solution regardless of whether scaling is the constraint.

Most nosql SaaS platforms are significantly easier to consume than the average service oriented RDBMS platform. If all the DBMS is doing is handling simple CRUD transactions, there's a good chance that relational databases are overkill for the workload and could even be harmful to the delivery process.

The key is to take the time to truly understand each workload before just assuming that one's preferred data storage solution is the right way to go.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by Retric on Thursday May 24, 2018 @09:55AM (#17143972)
What's non relational data?

You can have minimally relational data such as URL : website, but that's still improved by going URL : ID, ID : website because you can insert those ID's into the website data.

Now plenty of DB's have terrible designs, but there I have yet to year of actually non relational data.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by bshacklett on Friday June 01, 2018 @12:28PM (#17207003)
That's fair and I'll concede that my terminology is incorrect. I suppose I'm really considering data for which the benefits of normalization are outweighed by the benefits that are offered by database management systems that do not fall under the standard relational model (some of those benefits being lack of schema definition/enforcement* and the availability of fully managed SaaS database management systems).

I'm also approaching this from the perspective of someone who spends more time in the ops world than development. I won't argue that NoSQL would ever "outperform" in the realms of data science and theory, but I question whether a business is going to see more positive impact from finding the perfect normal form from their data or having more flexibility in the ability to deliver new features in their application.

* I'm fully aware that this can be as much of a curse as a blessing depending on the data and the architecture of the application, which reenforces understanding the data and the workload as a significant requirement.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by cortesoft on Thursday May 24, 2018 @12:34PM (#17145690)
Wait, why is that an improvement? If there is a 1 to 1 mapping of url to website, splitting it into two tables is just bad database design.
Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by Retric on Thursday May 24, 2018 @01:10PM (#17146099)
Because there are URL's in the website data and or you want do do something with it. Looking up integers is also much faster than looking up strings. And as I said you can replace URL's in the data with strings saving space.

But, there are plenty of other ways to slice and dice that data, for example a URL is really protocol, domain name, port, path, and parameters, etc. So, it's a question of how you want to use it.

PS: Using a flat table structure (ID, URL, Data) with indexes on URL and ID is really going to be 2 or 3 tables behind the scenes depending on type of indexes used.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by tluyben2 on Thursday May 24, 2018 @04:51PM (#17148293)
> The key is to take the time to truly understand each workload before just assuming that one's preferred data storage solution is the right way to go.

Although that is true in principle, in reality that results in the messes I see around me where a small startup (but this often goes for larger corps too) has a plethora of tech running it fundamentally does not need. If your team’s expertise is Laravel with MySql then even if some project might be a slightly better fit for node/mongo (does that happen?), I would still go for what you know vs better fit as it will likely bite you later on. Unfortunately people go for more modern and (maybe) slightly better fit and it does bite them later on.

For most crud stuff you can just take an ORM and it will handle everything as easily as nosql anyway. If your delivery and deployment process have a rdbms, it will be natural anyway and likely easier than anything nosql unless it is something that is only a library and not a server.

Also, when in doubt, you should take a rdbms imho, not, like a lot of people do, a nosql. A modern rdbms is far more likely to fit whatever you will be doing, even if it appears to fit nosql better at first. All modern dbs have document, json/doc storage built in or added on (plugin or orm) : you probably do not have the workload that requires something scaleout like nosql promises. If you do, then maybe it is a good fit, however if you are conflicted it probably is not anyway.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by wolf2600 on Friday May 25, 2018 @11:21AM (#17154545)
> There are many cases where people are storing non-relational data

No, there are not. In 99% of applications, the data is able to be modeled relationally and a standard RDBMS is the best option. Non-relational data is the rare exception, not the rule.

Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by collyw on Thursday May 24, 2018 @10:42AM (#17144405)
Because its tried and tested and has worked for decades.
Re:Command-line Tools can be 235x Faster than a Hadoop Clust... by therealdrag0 on Thursday May 24, 2018 @01:51PM (#17146472)
Just curious what do you need to process so many log lines for? Is this an ELK type setup, and/or do you use the log processing for business logic?