Softwr

Machine Learning · head to head

Amazon SNS vs LightGBM

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
LightGBM logo

LightGBM

Machine Learning

Open-source gradient boosting framework for fast tree-based learning on large datasets

From
Free
Free plan
Yes

The short version

  • LightGBM is an MIT-licensed gradient boosting framework.
  • LightGBM is free; Amazon SNS prices on request.
  • Only Amazon SNS lists topics and subscriptions; only LightGBM lists parallel and distributed learning.
  • 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.
  • Where LightGBM falls short: A code library with no hosted service or user interface.

How do Amazon SNS and LightGBM differ?

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

Attributes where Amazon SNS and LightGBM differ
AttributeAmazon SNSLightGBM
Starting priceOn requestFree
Pricing modelPer request and per delivery, by protocolOpen-source
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxWindows, macOS, Linux

Not yet recorded: category for Amazon SNS.

Which features does each one have?

They share no listed features; 6 appear only for Amazon SNS and 8 only for LightGBM. 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 LightGBM

  • Gradient boosting with tree-based learners
  • Parallel and distributed learning
  • GPU learning
  • Low memory use
  • Ranking and classification
  • Parameter tuning guides
  • Python, R and C interfaces
  • MIT licence

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; LightGBM for predictive models on large tabular datasets. The jobs each tool is most often brought in to do.

Amazon SNS

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

LightGBM

  • Predictive models on large tabular datasetsnot Amazon SNS
  • Learning-to-rank for search and recommendationsnot Amazon SNS
  • Fast prototyping where memory is limitednot Amazon SNS
  • Competition and benchmark modellingnot Amazon SNS

Where do Amazon SNS and LightGBM fall short?

Amazon SNS's most cited limit: payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes. LightGBM's: A code library with no hosted service or user interface. 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

LightGBM

  • A code library with no hosted service or user interface
  • No vendor support plan, help comes from the community
  • Aimed at tabular data rather than images or text
  • Results depend on careful parameter tuning

How much do Amazon SNS and LightGBM cost?

LightGBM 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

LightGBM

Free

No published plan breakdown. See the LightGBM review.

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 LightGBM if

  • You need gradient boosting with tree-based learners.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want parallel and distributed learning.

Questions people ask

Is Amazon SNS or LightGBM better?
It depends on the job. Amazon SNS fits fanning one order event out to billing, fulfilment and analytics queues; LightGBM fits predictive models on large tabular datasets. Amazon SNS starts at On request and LightGBM at Free.
Which is cheaper, Amazon SNS or LightGBM?
LightGBM has a free tier; the other does not. Paid plans start at On request for Amazon SNS and Free for LightGBM.
Does Amazon SNS or LightGBM run on more platforms?
Amazon SNS runs on Web, iOS, Android, Linux. LightGBM runs on Windows, macOS, Linux.
Can I use LightGBM for free?
Yes. LightGBM 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 LightGBM is typically brought in for.
What can Amazon SNS do that LightGBM cannot?
Amazon SNS covers Topics and subscriptions, FIFO topics, Message filtering, Mobile push. LightGBM covers Gradient boosting with tree-based learners, Parallel and distributed learning, GPU learning, Low memory use.

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.

LightGBM: Who created LightGBM?

Guolin Ke and Qiwei Ye at Microsoft Research, with a first release in 2016.

Source
Amazon SNS: Does SNS keep messages?

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

LightGBM: Is LightGBM free?

Yes, it is free and open source under the MIT licence.

Source
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.

LightGBM: Does LightGBM support GPUs and distributed training?

Yes, the documentation lists parallel, distributed and GPU learning with dedicated guides.

Source
Share

Related pages

Other head to heads