Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Sparkjava not suitable for production? [closed]

No, not Apache Spark. Sparkjava I have found to be the simplest approach to APIs and the one that clicks the most with me, but everyone states that it shouldn't be used for production, but no one has given me a good answer why. Do any of you know any unstableness or security flaws or something else?

like image 259
cody.tv.weber Avatar asked Nov 10 '17 19:11

cody.tv.weber


People also ask

What is the difference between Apache Spark and Spark?

Apache Spark belongs to "Big Data Tools" category of the tech stack, while Spark Framework can be primarily classified under "Microframeworks (Backend)". Apache Spark is an open source tool with 22.9K GitHub stars and 19.7K GitHub forks. Here's a link to Apache Spark's open source repository on GitHub.

Why use Spark Java?

Using Spark, both data engineers and developers can process petabytes of data and transform it into meaningful analytics, whether you choose Java, Scala, Python, or R.

Is Apache spark like Java?

Apache Spark is an open-source cluster-computing framework.It provides elegant development APIs for Scala, Java, Python, and R that allow developers to execute a variety of data-intensive workloads across diverse data sources including HDFS, Cassandra, HBase, S3 etc.

What is Spark REST API?

This is generally employed for Web APIs that use HTTP requests to access and use data. Spark REST APIs can be built with various programming languages such as Javascript, Python, etc. Compared to SOAP APIs, Spark REST APIs can return XML, JSON, YAML or any other format depending on what the client requests.


1 Answers

That's all a matter of choice. Spark is intended to be very simple and minimal dependencies are required to get a web app up and running. Spark allows us to build a web app by using only the JSE8 platform, while most of the other existing technologies would require JEE, what would end up increasing a lot the learning curve for using them.

When it comes to deploying your app, be aware thar most of the cloud servers and hosters doesn't support the lean framework Spark out of the box, so that you'll end up having to implement a deploy strategy by yourself. But you can easily deploy an Apache or a Java EE app on such services, and Spark can be easily wrapped in an Apache or JEE web server as described in the documentation

like image 169
Laercio Metzner Avatar answered Oct 14 '22 05:10

Laercio Metzner