API Rate Limiting with Spring Cloud Gateway

Engineering | Haytham Mohamed | April 05, 2021 | ...

One of the imperative architectural concerns is to protect APIs and service endpoints from harmful effects, such as denial of service, cascading failure. or overuse of resources. Rate limiting is a technique to control the rate by which an API or a service is consumed. In a distributed system, no better option exists than to centralize configuring and managing the rate at which consumers can interact with APIs. Only those requests within a defined rate would make it to the API. Any more would raise an HTTP “Many requests” error.

link to rate limit image

Spring Cloud Gateway (SCG) is a simple and lightweight component…

Spring Data 2021.0.0-RC1 and 2020.0.7 released

Releases | Mark Paluch | March 31, 2021 | ...

On behalf of the team, I’m pleased to announce the availability of the Spring Data releases 2021.0.0-RC1 and 2020.0.7.

If you use Spring Boot and want to upgrade to 2021.0.0-RC1 or 2020.0.7, set the spring-data-bom.version` property accordingly.

While the service releases ship with mostly bug fixes and dependency upgrades, the release candidate contains a few noteworthy changes:

  • Improved error messages and exceptions if a repository cannot be created.
  • Support @Value meta-annotations on persistence constructor parameters.
  • Add support for projections inside the Neo4j templates and CypherDsl executors.
  • Consider @Column- and @Element-annotated constructor parameters with Cassandra.
  • Add support to Redis Streams by using Jedis Client and upgrade to Jedis 3.6.0-RC1 and Lettuce 6.1.0.RELEASE.

This Week in Spring - March 30th, 2021

Engineering | Josh Long | March 30, 2021 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! Can you believe it's nearly April? Time sure flies when you're having fun! There's a lot of good stuff to get to this week, particularly around the nascent and just announced Spring Native project which people seem to love, so let's get to it!

A Bootiful Podcast: Shigeru Urushibara, President and CEO at UL Systems, Inc., and Japanese technology ecosystem legend

Engineering | Josh Long | March 25, 2021 | ...

Hi, Spring fans! In this episode, Josh Long (@starbuxman) talks to one of the most inspiring people in the technology world, a friend, and inspiration, Mr. Shigeru Urushibara (@urucrunch). Urushibara-san is a Java and Spring programmer and a general technology enthusiast. He's founder, president, and director of ULS Group Inc., an information technology company headquartered in Tokyo that is listed on the JASDAQ Securities Exchange and that employs hundreds of people. He's a friend of the Java community and we're honored to have him on the show.

This Week in Spring - March 23rd, 2021

Engineering | Josh Long | March 24, 2021 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring!

Friends, director of Spring engineering and Spring Native cofounder Andy Clement and I will be doing a presentation with Bellsoft's Dmitry Chuyko called Spring Boot: Production-ready, Efficient, Fast: Pick Three, that introduces how to build GraalVM native images for Spring Boot applications with the new Spring Native project. Do not miss this webinar on March 25th at 11 am.

Spring Boot: Production-ready, Efficient, Fast: Pick Three

Engineering | Josh Long | March 23, 2021 | ...

Hi, Spring fans! I hope you'll join the legendary Andy Clement (director of engineering on the Spring team, Spring/AspectJ/Spring Tool Suite/Eclipse contributor, and Spring Native cofounder) and me, well known ASCII art fan, for the upcoming JRUSH event.

At some point, after you've gotten the business logic just right and the ASCII art resplendent, you'll want to reduce data center spend and improve speed. And when this time comes, you're going to wish you had watched this presentation where Andy and Josh introduce the Spring Native project. You don't want regrets, do you, friend? Do the right thing. Be the change you want to see in the world:

Bootiful Cassandra with DataStax's Patrick McFadin, Cedrick Lunven, and Spring's Josh Long

Engineering | Josh Long | March 22, 2021 | ...

Hi, Spring fans! DataStax and Spring are the classic Netflixian definition of a cloud-native, and for good reason:

  • they scales
  • they're easy
  • they're easily operationalized

In this video, join DataStax's Patrick McFadin (@PatrickMcFadin), Cedrick Lunven (@clunven), and the Spring team's Josh Long (@starbuxman) as they introduce Bootiful Cassandra and look at some of the technology that continues to power some of the largest websites on the planet.

Register for DataStax Astra now and try this code anytime. You don't need a credit card, and you get $25.00 USD credit every month, which gives you…

Spring Boot 2.5.0-M3 available now

Releases | Phil Webb | March 19, 2021 | ...

I am pleased to announce that the third milestone of Spring Boot 2.5 has been released and is available from our milestone repository. This release adds a number of new features and bug fixes.

Highlights of this milestone include:

  • OpenMetrics support for Prometheus
  • Support for environment variable prefixes
  • More Buildpack updates
  • A fresh new look for the docs (including a "dark theme").

For a complete list of changes and upgrade instructions, please see the Spring Boot 2.5-M3 Release Notes on the wiki and the updated reference documentation.

If you want to get started with 2.5 and try out the new features, you can bootstrap a new project on start.spring.io

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all