Need advice about which tool to choose?Ask the StackShare community!
Google Cloud Storage vs Presto: What are the differences?
## Key Differences between Google Cloud Storage and Presto
Google Cloud Storage and Presto are two crucial components in the cloud computing landscape, each offering distinct functionalities to users. Understanding the key differences between these two services can help organizations make informed decisions about their cloud storage and data processing needs.
1. **Underlying Technology**: Google Cloud Storage is a fully managed object storage service that stores data in a distributed manner across multiple data centers, providing high availability and durability. In contrast, Presto is an open-source distributed SQL query engine that allows users to query data where it resides, providing fast interactive analytics across various data sources.
2. **Functionality**: Google Cloud Storage is primarily used for storing and accessing unstructured data such as images, videos, and log files, offering scalable and cost-effective storage solutions. On the other hand, Presto is designed for running ad-hoc SQL queries on large-scale data sets, enabling users to analyze and process vast amounts of data quickly and efficiently.
3. **Use Cases**: Google Cloud Storage is commonly used for data backup, disaster recovery, archiving, and serving static assets for websites and applications. In contrast, Presto is ideal for interactive analytics, business intelligence, and data exploration, allowing users to perform complex queries on diverse data sources in real-time.
4. **Data Processing Approach**: Google Cloud Storage is best suited for batch processing workloads that involve storing and retrieving large amounts of data efficiently. Presto, on the other hand, is optimized for in-memory processing and parallel query execution, making it ideal for interactive querying and analysis of data sets.
5. **Scalability and Performance**: Google Cloud Storage provides high scalability and durability for storing petabytes of data, with built-in redundancy and data protection mechanisms. Presto offers high performance and parallel processing capabilities for querying massive data sets, enabling users to execute complex analytics tasks efficiently.
6. **Cost Considerations**: Google Cloud Storage pricing is based on storage usage, data transfer, and API requests, making it a cost-effective solution for managing large volumes of data. In comparison, Presto does not incur additional costs for query processing but requires infrastructure resources for running and managing the query engine effectively.
In Summary, understanding the key differences between Google Cloud Storage and Presto can help organizations optimize their cloud storage and data processing strategies effectively.
We choose Backblaze B2 because it makes more sense for storing static assets.
We admire Backblaze's customer service & transparency, plus, we trust them to maintain fair business practices - including not raising prices in the future.
Lower storage costs means we can keep more data for longer, and lower bandwidth means cache misses don't cost a ton.
We offer our customer HIPAA compliant storage. After analyzing the market, we decided to go with Google Storage. The Nodejs API is ok, still not ES6 and can be very confusing to use. For each new customer, we created a different bucket so they can have individual data and not have to worry about data loss. After 1000+ customers we started seeing many problems with the creation of new buckets, with saving or retrieving a new file. Many false positive: the Promise returned ok, but in reality, it failed.
That's why we switched to S3 that just works.
To provide employees with the critical need of interactive querying, we’ve worked with Presto, an open-source distributed SQL query engine, over the years. Operating Presto at Pinterest’s scale has involved resolving quite a few challenges like, supporting deeply nested and huge thrift schemas, slow/ bad worker detection and remediation, auto-scaling cluster, graceful cluster shutdown and impersonation support for ldap authenticator.
Our infrastructure is built on top of Amazon EC2 and we leverage Amazon S3 for storing our data. This separates compute and storage layers, and allows multiple compute clusters to share the S3 data.
We have hundreds of petabytes of data and tens of thousands of Apache Hive tables. Our Presto clusters are comprised of a fleet of 450 r4.8xl EC2 instances. Presto clusters together have over 100 TBs of memory and 14K vcpu cores. Within Pinterest, we have close to more than 1,000 monthly active users (out of total 1,600+ Pinterest employees) using Presto, who run about 400K queries on these clusters per month.
Each query submitted to Presto cluster is logged to a Kafka topic via Singer. Singer is a logging agent built at Pinterest and we talked about it in a previous post. Each query is logged when it is submitted and when it finishes. When a Presto cluster crashes, we will have query submitted events without corresponding query finished events. These events enable us to capture the effect of cluster crashes over time.
Each Presto cluster at Pinterest has workers on a mix of dedicated AWS EC2 instances and Kubernetes pods. Kubernetes platform provides us with the capability to add and remove workers from a Presto cluster very quickly. The best-case latency on bringing up a new worker on Kubernetes is less than a minute. However, when the Kubernetes cluster itself is out of resources and needs to scale up, it can take up to ten minutes. Some other advantages of deploying on Kubernetes platform is that our Presto deployment becomes agnostic of cloud vendor, instance types, OS, etc.
#BigData #AWS #DataScience #DataEngineering
The platform deals with time series data from sensors aggregated against things( event data that originates at periodic intervals). We use Cassandra as our distributed database to store time series data. Aggregated data insights from Cassandra is delivered as web API for consumption from other applications. Presto as a distributed sql querying engine, can provide a faster execution time provided the queries are tuned for proper distribution across the cluster. Another objective that we had was to combine Cassandra table data with other business data from RDBMS or other big data systems where presto through its connector architecture would have opened up a whole lot of options for us.
Pros of Google Cloud Storage
- Scalable28
- Cheap19
- Reliable14
- Easy9
- Chealp3
- More praticlal and easy2
Pros of Presto
- Works directly on files in s3 (no ETL)18
- Open-source13
- Join multiple databases12
- Scalable10
- Gets ready in minutes7
- MPP6