Skip to main content

Introduction

What is Less?

Less automates the creation and deployment of serverless Static Websites, REST APIs, Web Sockets, Key-Value Store, Topics/Subscribers (Pub/Sub), CRON Jobs, Shared Code, Cloud Functions, File Storage, and more based on your file structure. Just write your code and deploy using your favorite programming language. You won't even notice Less is there!

Less radically reduces software development costs, complexity, and time to develop and deploy. It allows you to build anything from the simplest to the most complex software systems in a fast, accessible, reliable, and scalable way using AWS serverless components (Google Cloud and Azure support coming soon).

Learn about the history and origin of Less.


Do more with Less.


Check out our Implementing Microservices Workflows: Choreography Coordination Pattern Using Less article to learn how Less allows you to create all of the Cloud resources for the system below:

Placing Food Order using Choreography Coordination Pattern diagram from Waswani's article

by simply creating the following folder structure in your project:

─ less
└─ apis
└─ orders
└─ orders
└─ topics
└─ order_placed
└─ payment_service_process_payment
└─ payment_success
└─ restaurant_service_confirm_order
└─ restaurant_confirmed_order
└─ order_service_update_order_status
└─ notification_service_notify_user
└─ delivery_partner_service_assign_delivery_partner
└─ loyalty_service_add_loyalty_points
└─ delivery_partner_assigned
└─ order_service_update_order_status
└─ notification_service_notify_user
└─ restaurant_order_confirmation_failed
└─ order_service_update_order_status
└─ notification_service_notify_user
└─ payment_service_initiate_payment_reversal
└─ payment_reversed
└─ notification_service_notify_user

Benefits of Using Less

Automatic Cloud Infrastructure from Code.
Think of Less as an IaC or Terraform generator. Less inspects your file structure and properly provisions and deploys your code and cloud infrastructure for you without you ever having to deal with cloud providers, containers, or DevOps.

Almost No Learning Curve.
Less uses essentially the same code you are already accustomed to. If you can write JavaScript, Python, Go, or Rust you already know how to build and deploy infinitely scalable, serverless, distributed systems, fault-tolerant systems using Less.

Support for Multiple Programming Languages.
Write your code in Javascript or Python (Go and Rust support coming soon) using the tools, packages, and frameworks you love the most.


No more DevOps. No more infrastructure. No more Cloud.


Enhance your Existing Projects with Less.
Create a new project using Less or use one feature at a time in an existing project. All you need is a /less folder to get started.

Built in Key-Value Store and File Storage.
Automatic provisioning of a key-value store and cloud file storage with each deployment with managed databases coming soon.

Easily Create Event-Driven Microservices.
Less gives you fault tolerant topics and processors (pub/sub) with guaranteed message delivery and processing. You can subscribe to messages across services and even publish messages using our API. It doesn’t get easier than this.

Use More Than One Language in the Same Project.
Less lets you use the best language, framework, and tools for whatever task you’re faced with. Publish a message to a topic using Javascript and process it in Python. Mix it up as you see fit.


Less inspects your /less directory and provisions and deploys your Cloud resources for you.


Call Functions Across Different Programming Languages.
Can you imagine using a Javascript package in Python or getting Python's numeric precision and threading capabilities in Javascript? Less makes this possible by allowing you to call functions between different programming languages.

Automated Best Practices.
Less follows cloud and security best practices automatically and by default.

No Lock-In.
You can stop using Less just as easily as you started since it's essentially the same code you're already used to writing.


Features

File storageAutomatic scale.
Pre-sign URLs for file upload.
Cloud FunctionsBridge between programming languages.
Execute Functions via API.
REST APIsSecure with HTTPS.
Custom Domains.
Topics (Publishers/Subscribers)At least once message delivery guarantee.
4 day retention of failed messages.
Auto-retry failed messages.
Subscribe to Topics from different applications (event-driven microservices).
Publish messages to Topics via API.
~10 ms to publish and receive messages.
Unlimited messages.
Unlimited message throughput.
256KB per message.
Message encryption at-rest and in-flight.
Web SocketsSecure with WSS.
Unlimited concurrent connections.
32KB per message.
Key-Value StoreStream changes.
Single-digit millisecond performance.
Unlimited throughput.
Unlimited storage.
Automatic multi-region replication.
Highly available.
Encryption at rest.
Up to 400KB per item.
Automatic scale.
Static WebsitesSecure with HTTPS.
Custom Domains.
Global CDN.
Automatic global cache invalidation on update.