Need advice about which tool to choose?Ask the StackShare community!

Apache OpenWhisk

59
148
+ 1
7
Azure Functions

665
691
+ 1
62
Add tool

Apache OpenWhisk vs Azure Functions: What are the differences?

Apache OpenWhisk and Azure Functions are both serverless computing platforms that allow developers to build and run event-driven applications without the need to provision or manage the underlying infrastructure. While both platforms have similar goals, there are several key differences between Apache OpenWhisk and Azure Functions that set them apart from each other.

  1. Language Support: One key difference between Apache OpenWhisk and Azure Functions is the language support they offer. OpenWhisk supports a wide range of programming languages including JavaScript, Python, Swift, and PHP. On the other hand, Azure Functions offers support for languages such as C#, Java, JavaScript, PowerShell, and TypeScript. This difference in language support allows developers to choose the language they are most comfortable with for building their serverless applications.

  2. Event Sources: Another difference between OpenWhisk and Azure Functions lies in their event source integrations. OpenWhisk allows developers to trigger functions based on various event sources such as HTTP requests, timers, message queues, and database updates. In contrast, Azure Functions provides a broader range of event source integrations including HTTP requests, timers, message queues, databases, IoT devices, and more. This wider range of event sources in Azure Functions gives developers more flexibility and options when it comes to triggering their serverless functions.

  3. Scaling Model: In terms of scaling, there is a slight difference between OpenWhisk and Azure Functions. OpenWhisk scales the execution environment by creating new instances of the runtime to handle increased load. This means that each individual function is scaled independently based on its usage. On the other hand, Azure Functions uses a more granular scaling model called "Consumption Plan" where functions are automatically scaled based on the number of incoming requests. This scaling model in Azure Functions allows for more efficient resource utilization, as it can dynamically scale the entire function app rather than each individual function.

  4. Development and Deployment: OpenWhisk and Azure Functions also differ in terms of development and deployment options. OpenWhisk provides a command-line interface (CLI) as well as a web-based graphical user interface (GUI) for managing functions and deployments. It also allows developers to deploy functions using a variety of methods including direct code upload, packaging functions into containers, or using a source code repository. Azure Functions, on the other hand, provides a rich development experience through its integrated development environment (IDE) in Azure Portal. It also offers seamless integration with Azure DevOps for continuous integration and deployment of serverless functions.

  5. Pricing Model: OpenWhisk and Azure Functions have different pricing models. OpenWhisk pricing is based on the number of invocations, compute time, and memory usage, with separate pricing for each programming language. On the other hand, Azure Functions offers a consumption-based pricing model where users only pay for the actual number of executions and the associated resources used by the function. This pay-per-use pricing model in Azure Functions can be more cost-effective for applications with variable workloads and intermittent usage patterns.

  6. Community and Ecosystem: The last key difference between OpenWhisk and Azure Functions lies in their respective communities and ecosystems. OpenWhisk is an open-source platform that is supported by a vibrant community of developers and contributors. It has a wide range of community-built integrations and extensions, which can be beneficial for developers looking for additional functionalities and customizations. Azure Functions, being a part of the larger Azure ecosystem, benefits from the extensive set of Azure services and integrations available. It also has a strong community and marketplace, offering pre-built templates and extensions that can expedite the development process.

In Summary, the key differences between Apache OpenWhisk and Azure Functions lie in their language support, event source integrations, scaling models, development and deployment options, pricing models, and community ecosystems.

Advice on Apache OpenWhisk and Azure Functions

Need advice on what platform, systems and tools to use.

Evaluating whether to start a new digital business for which we will need to build a website that handles all traffic. Website only right now. May add smartphone apps later. No desktop app will ever be added. Website to serve various countries and languages. B2B and B2C type customers. Need to handle heavy traffic, be low cost, and scale well.

We are open to either build it on AWS or on Microsoft Azure.

Apologies if I'm leaving out some info. My first post. :) Thanks in advance!

See more
Replies (2)
Anis Zehani

I recommend this : -Spring reactive for back end : the fact it's reactive (async) it consumes half of the resources that a sync platform needs (so less CPU -> less money). -Angular : Web Front end ; it's gives you the possibility to use PWA which is a cheap replacement for a mobile app (but more less popular). -Docker images. -Kubernetes to orchestrate all the containers. -I Use Jenkins / blueocean, ansible for my CI/CD (with Github of course) -AWS of course : u can run a K8S cluster there, make it multi AZ (availability zones) to be highly available, use a load balancer and an auto scaler and ur good to go. -You can store data by taking any managed DB or u can deploy ur own (cheap but risky).

You pay less money, but u need some technical 2 - 3 guys to make that done.

Good luck

See more

My advice will be Front end: React Backend: Language: Java, Kotlin. Database: SQL: Postgres, MySQL, Aurora NOSQL: Mongo db. Caching: Redis. Public : Spring Webflux for async public facing operation. Admin api: Spring boot, Hibrernate, Rest API. Build Container image. Kuberenetes: AWS EKS, AWS ECS, Google GKE. Use Jenkins for CI/CD pipeline. Buddy works is good for AWS. Static content: Host on AWS S3 bucket, Use Cloudfront or Cloudflare as CDN.

Serverless Solution: Api gateway Lambda, Serveless Aurora (SQL). AWS S3 bucket.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Apache OpenWhisk
Pros of Azure Functions
  • 4
    You are not tied to a provider. IBM available however
  • 3
    Still exploring... its just intresting
  • 14
    Pay only when invoked
  • 11
    Great developer experience for C#
  • 9
    Multiple languages supported
  • 7
    Great debugging support
  • 5
    Can be used as lightweight https service
  • 4
    Easy scalability
  • 3
    WebHooks
  • 3
    Costo
  • 2
    Event driven
  • 2
    Azure component events for Storage, services etc
  • 2
    Poor developer experience for C#

Sign up to add or upvote prosMake informed product decisions

Cons of Apache OpenWhisk
Cons of Azure Functions
    Be the first to leave a con
    • 1
      No persistent (writable) file system available
    • 1
      Poor support for Linux environments
    • 1
      Sporadic server & language runtime issues
    • 1
      Not suited for long-running applications

    Sign up to add or upvote consMake informed product decisions

    What is Apache OpenWhisk?

    OpenWhisk is an open source serverless platform. It is enterprise grade and accessible to all developers thanks to its superior programming model and tooling. It powers IBM Cloud Functions, Adobe I/O Runtime, Naver, Nimbella among others.

    What is Azure Functions?

    Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in virtually any Azure or 3rd party service as well as on-premises systems.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Apache OpenWhisk?
    What companies use Azure Functions?
    See which teams inside your own company are using Apache OpenWhisk or Azure Functions.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Apache OpenWhisk?
    What tools integrate with Azure Functions?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Apache OpenWhisk and Azure Functions?
    AWS Lambda
    AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.
    Kubeless
    Kubeless is a Kubernetes native serverless Framework. Kubeless supports both HTTP and event based functions triggers. It has a serverless plugin, a graphical user interface and multiple runtimes, including Python and Node.js.
    Serverless
    Build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster. The Framework uses new event-driven compute services, like AWS Lambda, Google CloudFunctions, and more.
    Google Cloud Functions
    Construct applications from bite-sized business logic billed to the nearest 100 milliseconds, only while your code is running
    Cloud Functions for Firebase
    Cloud Functions for Firebase lets you create functions that are triggered by Firebase products, such as changes to data in the Realtime Database, uploads to Cloud Storage, new user sign ups via Authentication, and conversion events in Analytics.
    See all alternatives