• Post Reply Bookmark Topic Watch Topic
  • New Topic

Big data vs Java 8

 
baskar krishnan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now big data has every ones attention. What is the stand of Java 8 on big data ? Is it a bit relaxed, leaning back and waiting for alternatives to Moores law ? I mean there is not much improvement in processor speed (lately) for home computers other than mulicore.
Is there any better concept introduced in and around threads, memory/cpu utilization, collections that can help big data solutions ? I would love to learn about chapter 6 and 10.
Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
408
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While big data is more in the database space, functional programming helps with big data. Java 8 makes it easy to write code that runs in parallel by creating a parallelStream.

Citing an example from the docs, you can see that all it took to run this in parallel is typing "parallelStream" instead of "stream". If there are millions of entries in roster, that will save time. Of course, it would save more time to not store all that data in memory in the first place!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!