Softwr

Machine Learning · head to head

Amazon SNS vs DVC

Amazon SNS logo

Amazon SNS

Machine Learning

Publish-subscribe messaging and mobile push, billed per request and per delivery

From
On request
Free plan
No
DVC logo

DVC

Machine Learning

Git-style versioning for data sets and models, with the files kept in object storage

From
Free
Free plan
Yes

The short version

  • DVC is free; Amazon SNS prices on request.
  • Only Amazon SNS lists topics and subscriptions; only DVC lists pointer-file versioning.
  • Where Amazon SNS falls short: SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill.

How do Amazon SNS and DVC differ?

Amazon SNS and DVC differ on starting price (On request against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon SNS and DVC actually diverge.

Attributes where Amazon SNS and DVC differ
AttributeAmazon SNSDVC
Starting priceOn requestFree
Pricing modelPer request and per delivery, by protocolOpen-source
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxLinux, macOS, Windows

Not yet recorded: category for Amazon SNS, founded for Amazon SNS.

Which features does each one have?

They share no listed features; 6 appear only for Amazon SNS and 8 only for DVC. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon SNS

  • Topics and subscriptions
  • FIFO topics
  • Message filtering
  • Mobile push
  • SMS and email
  • Message archiving and replay

Only in DVC

  • Pointer-file versioning
  • Remote storage backends
  • Pipeline definitions
  • Stage caching
  • Experiment tracking
  • Metrics and plots comparison
  • Data registry pattern
  • Content-addressed cache

What is each one used for?

Amazon SNS is most often brought in for fanning one order event out to billing, fulfilment and analytics queues. The jobs each tool is most often brought in to do.

Amazon SNS

  • Fanning one order event out to billing, fulfilment and analytics queuesnot DVC
  • Sending operational alerts from CloudWatch alarms to email and chat webhooksnot DVC
  • Mobile push notifications for an app without running a push gatewaynot DVC
  • Pairing with SQS FIFO for ordered event distribution across servicesnot DVC

DVC

  • Making a model reproducible by tying the exact data set version, code commit and parameters together in one Git historynot Amazon SNS
  • Keeping large training data out of Git while still having a repository that describes it preciselynot Amazon SNS
  • Skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipelinenot Amazon SNS
  • Teams that need reproducibility but cannot get approval or budget to stand up a platform for itnot Amazon SNS

Where do Amazon SNS and DVC fall short?

Amazon SNS's most cited limit: payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon SNS

  • SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill
  • There is no message persistence for slow subscribers beyond delivery retries, so consumers that fall behind can lose messages unless an SQS queue sits between
  • It lacks the audience management, templating and campaign analytics of a marketing platform, so it cannot replace a customer messaging tool
  • Payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes
  • Delivery to HTTP endpoints requires your endpoint to confirm subscriptions and cope with retries and duplicates

DVC

  • DVC knows only about files that were added through DVC, so one person copying data in by hand leaves a pipeline that reproduces to a different answer with no error and nothing to indicate which result is the real one
  • Every tracked revision writes a new pointer into Git and a new copy into the remote cache, so a data set revised daily accumulates full copies in object storage and the storage bill grows with the length of the history rather than the size of the data
  • Merge conflicts in dvc.lock and dvc.yaml are routine on parallel branches and are unreadable to anyone who has not learned the format, which in practice means the person who introduced DVC resolves all of them
  • Checking out a large data set materialises it in the working directory, so a laptop working against a repository with several hundred gigabytes tracked needs disk for the workspace and the cache together, and the reflink or hardlink optimisations that avoid doubling that are filesystem-dependent
  • It has no access control of its own and inherits whatever the remote grants, so a repository everyone can read plus a bucket everyone can read means everyone can reconstruct every historical version of every data set, which is frequently not what was intended

How much do Amazon SNS and DVC cost?

DVC is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon SNS

On request
  • Publishes and mobile pushOn request
    • First 1 million requests free, then $0.50 per million
    • Mobile push free for the first 1 million, then $0.50 per million
  • HTTP, HTTPS and emailOn request
    • HTTP and HTTPS: first 100,000 free, then $0.60 per million
    • Email: first 1,000 free, then $2.00 per 100,000
    • SQS and Lambda deliveries: no per-delivery charge
  • SMSOn request
    • Priced per message by destination country, see the SNS pricing page
    • Not covered by the free tier in most regions

DVC

Free
  • Open SourceFree
    • Data versioning
    • Pipeline management
    • Experiment tracking
  • DVC StudioFree
    • Web UI
    • Team collaboration
    • Visualizations

Which should you pick?

Choose Amazon SNS if

  • You need topics and subscriptions.
  • You work on Web, iOS, Android, Linux.
  • You also want fifo topics.

Choose DVC if

  • You need pointer-file versioning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want remote storage backends.

Questions people ask

Is Amazon SNS or DVC better?
It depends on the job. Amazon SNS fits fanning one order event out to billing, fulfilment and analytics queues; DVC fits making a model reproducible by tying the exact data set version, code commit and parameters together in one Git history. Amazon SNS starts at On request and DVC at Free.
Which is cheaper, Amazon SNS or DVC?
DVC has a free tier; the other does not. Paid plans start at On request for Amazon SNS and Free for DVC.
Does Amazon SNS or DVC run on more platforms?
Amazon SNS runs on Web, iOS, Android, Linux. DVC runs on Linux, macOS, Windows.
Can I use DVC for free?
Yes. DVC has a free tier, so you can try it without paying. Amazon SNS starts at On request.
What is Amazon SNS best used for?
Amazon SNS is most often used for fanning one order event out to billing, fulfilment and analytics queues, sending operational alerts from cloudwatch alarms to email and chat webhooks, mobile push notifications for an app without running a push gateway, pairing with sqs fifo for ordered event distribution across services. Of those, fanning one order event out to billing, fulfilment and analytics queues and sending operational alerts from cloudwatch alarms to email and chat webhooks are not what DVC is typically brought in for.
What can Amazon SNS do that DVC cannot?
Amazon SNS covers Topics and subscriptions, FIFO topics, Message filtering, Mobile push. DVC covers Pointer-file versioning, Remote storage backends, Pipeline definitions, Stage caching.

Answered from the vendors’ own pages

Amazon SNS: Is Amazon SNS free?

The first 1 million requests per month are free, plus small free allowances for HTTP and email deliveries, per AWS. SMS is not free.

DVC: Does DVC put my data in Git?

No. Git gets a small pointer file containing a hash. The data goes to a cache on disk and to a remote you configure, such as an S3 bucket.

Amazon SNS: Does SNS keep messages?

Standard topics do not store messages for slow subscribers; durability comes from subscribing an SQS queue.

DVC: Do I need to run a server?

No, and that is most of its appeal. It is a command line tool plus storage you already have. DVC Studio, the hosted web interface, is optional and separately paid.

Amazon SNS: Can I send email with SNS?

Yes, for alerts, but it is plain notification email. Amazon SES is the service for transactional and bulk email.

DVC: How is it different from Git LFS?

Git LFS versions large files and stops there. DVC also defines pipelines, tracks which stage produced which output, records metrics and lets you compare experiments, and it works with ordinary object storage rather than an LFS server.

DVC: Is it free?

The tool is Apache 2.0 and free. You pay for the object storage that holds the data, and optionally for DVC Studio.

DVC: Can several people work on the same data set?

Yes, through the shared remote, but only if all of them use DVC for every change. The tool cannot enforce a discipline it does not own, and a single manual copy silently breaks the guarantee.

Share

Related pages

Other head to heads