FP Web Conf

Functional Programming Conference for web development professionals

Make a submission

Accepting submissions till 09 Sep 2023, 11:59 PM

Bangalore International Centre (BIC), Bengaluru

Why FP-Web Conf

Web application technologies are evolving and becoming even more important. HTML/CSS/JS continues to be the primary language for web app development, but it is increasingly becoming common to build desktop applications, mobile applications, and even embedded applications with it. Simultaneously, we are seeing some really exciting things happening in the FP ecosystem and community. Functional programming is becoming more mainstream, and increasingly being applied to web development technologies.

More and more mainstream languages which are used for web development are adopting FP techniques, and providing FP oriented APIs. On the JVM you have Scala, Clojure, Kotlin, etc. Even Java has adopted things like lambdas and streams, pattern matching, as well as immutable data structures. On the dot net platform there’s F#.

There are languages like TypeScript that bring FP to JavaScript itself. And then there are Haskell and PureScript that provide a strong type system, purity, and immutable data structures. PureScript has JavaScript as the primary target backend. GHC, which is a compiler for Haskell, recently had the JS backend and the web assembly backends merged. Rust which is not pure, still adopts a lot of techniques from functional programming and provides a lot of the same compile time guarantees with its type system. Functional programming is where the industry is moving as a whole.

Using functional programming techniques can help you improve the reliability, scalability, and maintainability of your applications. It has also been shown to provide a delightful development experience and improves developer velocity.

Who should participate?

  1. Developers who work on web development projects and are interested in FP. Discover how functional programming techniques can help you be more productive.
  2. People who work on codebases that are becoming harder to maintain.
  3. Managers who want to increase productivity and velocity of their teams. Functional code is clearer and easier to refactor and maintain. You can reason about code in the absence of side effects.
  4. Stakeholders who want to scale their processes and teams, and keep up with industry trends. FP techniques are becoming more and more popular, and technology companies that want to compete at a global level must adopt these practices.

In short, if you are:

  • a web developer,
  • developer working on legacy apps,
  • manager of a team,
  • a stakeholder of any kind who is invested in the success of the project,
    you should look at Functional Programming because it might just be what you need to make your project a success!

Members-only conference

FP Web Conf on 29 September will be held in-person. Attendance is open to JSFoo members only. Support the community’s activities with a membership to attend the conference in-person. If you have questions about participation, post a comment here.

Takeaways

Participants will get an in-depth understanding of the use of functional programming techniques and principles in web development.

  1. You will learn how functional programming can help improve the scalability, maintainability, and reliability of their applications.
  2. You will understand how to approach and adopt functional programming in their own teams and how to educate and train people.
  3. You will gain an understanding of best practices from in-depth case studies.
  4. You will get to interact with a large pool of web development and functional programming professionals. It’s a great way to extend your hiring pool to include very smart, dedicated group of people and core members of the community.

About the curator

The conference is curated by Anupam Jain. Anupam has been developing web apps for over a decade and a half, and works with strongly typed FP, user interfaces, analytics, and fintech. Anupam has founded the FP India user group, and is an active contributor to free and open source software, creating libraries such as the Concur UI framework. He curated PureConf also organised by Hasgeek and Juspay in 2022.

Sponsorship

Sponsorship slots are open for:

  1. Companies seeking employer branding.
  2. Evangelism of developer tools.
  3. Supporting diversity in the FP Web community

If you are interested in sponsoring FP Web Conf’s activities, email sales@hasgeek.com

Contact information

For any inquiries, call JSFoo at +91 7676 33 2020 or leave a comment.

Code of Conduct

Hasgeek’s Code of Conduct will apply to participants, speakers and sponsors.

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more

Supported by

Community sponsor

FP-Juspay is a forum to dive deep and contribute to the world of Functional Programming - Frameworks, Applications and People. more
Akshat

Akshat

@olttwaa

Next-Level Background Processing in Clojure

Submitted Jun 15, 2023

Conventional background processing libraries have failed to keep up with the demands of distributed systems in 2023. This talk will explore the key features that modern web developers require from an asynchronous system: Reliability, Scalability, Pluggability, and Extensibility.

Furthermore, we’ll talk about the journey of building Goose, a versatile background processing library for Clojure designed with next-level features like pluggable message brokers. Goose serves as specimen for open-source libraries, as it exemplifies community-collaboration, thorough documentation, and built-in reliability.

This talk is divided into three sections:

  1. What is lacking in the background processing ecosystem?
  2. Internals of Goose
  3. My perspective on how a modern open-source library should be built

What is lacking in the background processing ecosystem?

  1. Reliability is not a built-in feature.
  • Free versions of Sidekiq and Celery do not guarantee against loss of Jobs.
  • If developers need reliability, they need to pay for the enterprise version of Sidekiq.
  • This deters developers from deploying most open-source libraries for critical asynchronous tasks.
  1. The choice of message-broker is restricted to a library’s implementation.
  • Users have to choose from either Redis, RabbitMQ, AWS SQS or PostgreSQL.
  • Different message brokers are better suited for different use cases, depending on factors like scale, performance, and reliability.
  • If users want to plugin Kafka, MongoDB, XTDB or Datomic, that is not possible with any background-processing library apart from Goose.
  1. For the reasons above, organisations need to create internal tooling for asynchronous processing.
  • My intention for building Goose was to make background processing one less thing to worry about for the Clojure community.

Internals of Goose

Goose was designed with reliability, scalability, pluggability, and extensibility in mind. I will delve into seven next-level features that set it apart:

  1. Reliability
  • Reliability is a fundamental feature, not a paid extra.
  • I will walk through reliability concerns like network errors, failed enqueues, worker crashes, and broker crashes.
  • These concerns are addressed through Goose’s unique queuing design, heartbeats and orphan-checkers, publisher/consumer acknowledgments, and HA architecture.
  1. Scalability
  • Goose allows users to scale their applications by leveraging Java threads and concurrent broker connections.
  • Before execution, a lock is acquired on all jobs to avoid duplication.
  1. Message-broker agnostic design
  • Goose has a Broker Protocol to abstract enqueuing, scheduling, and dequeuing jobs.
  • Redis and RabbitMQ message-brokers are supported out of the box.
  • If developers require a different broker, they can plug it into Goose by virtue of this protocol.
  1. Pluggable metrics and logging
  • Different organisations prefer different metrics protocols, such as StatsD, Prometheus, or dropwizard/metrics.
  • Goose provides a StatsD implementation out of the box and allows users to plugin a custom metric backend by virtue of a Metrics protocol.
  • Like metrics, organizations also prefer different logging formats, such as SLF4J, Log4J, or Apache Commons Logging.
  • Goose allows developers to plugin their logging system by virtue of clojure/tools.logging.
  1. Extensibility
  • Middlewares allow users to extend Goose’s functionality.
  • For instance, users can build DAGs and data pipelines based on arguments and results before and after job execution.
  1. Job enqueue interface
  • I have gone to great lengths to ensure that enqueuing a function has the same UX as executing one.
  • I will be talking about the 3 iterations and community-feedback it took to arrive at the current API of Goose, which ensures asynchronous invocation does not have any drawbacks compared to synchronous invocation of functions.
  • Goose’s enqueue API takes variadic arguments to allow for flexibility in the number of arguments that a function can accept.
  1. Runtime config over init-time config
  • Complex systems require config that can be adjusted at runtime, rather than just at initialization.
  • Goose allows users to inject config during runtime, enabling them to distribute load by enqueuing to different brokers.

My perspective on how a modern open-source library should be built

  1. The primary focus of any library should be on correctness.
  • Unit, integration, and performance tests help with this.
  1. A library should have extensive documentation.
  • A README, Wiki, Docstrings, and Specs help developers navigate seamlessly through your library’s features.
  • Default settings with an option for customization go a long way in helping power users gain a quick start.
  1. Community collaboration should be encouraged to gain developers’ trust in trying a new library.
  • Over the last year, Goose has had three major and two patch releases.
  • After and before every release, users of Goose were asked for feedback, feature requests, and blockers.
  1. Language-agnostic design.
  • It should be possible to serialize function invocations (like data) and send them over the wire.
  • This idea is still in its infancy and would require support from multiple programming languages.

Summary

Through this talk, I wish to educate the audience on gaps in conventional libraries, give insights into possible solutions, talk about my attempt at building a user-friendly library, and explore what the future holds for this field.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Make a submission

Accepting submissions till 09 Sep 2023, 11:59 PM

Bangalore International Centre (BIC), Bengaluru

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more

Supported by

Community sponsor

FP-Juspay is a forum to dive deep and contribute to the world of Functional Programming - Frameworks, Applications and People. more