Blog: Payara Server

See Payara Server Posts

1 minute
Community

Steve Millidge discusses Jakarta EE, the Eclipse Foundation & GlassFish’s future on the WaterWorks Podcast

Our CEO and FounderSteve Millidge is a guest on the WaterWorks podcast, the technology discussion podcast run by journalist […]

5 minutes
Payara

Payara Server 5における接続プールのご紹介

このブログ記事では、接続プールについて紹介し、ベスト・プラクティスを用いてPayara Serverで接続プールを設定する方法を紹介します。 (最終更新日 2021/04/06) 接続プールとは? 接続プールとは、データベースへの接続とその再利用(最も重要なことです)に使用できるデータベース接続のストアです。 接続プールの必要性 データベース接続は、作成するのにも維持するのにもコストがかかります。その理由は、以下のように様々です。 データベースサーバーへのネットワーク接続の確立 接続文字列情報の解析 ユーザー認証の実行 データベースへの接続の初期化 トランザクションのコンテクストの確立 一人のユーザーが使用するWebアプリケーションの場合、ユーザー・セッションの開始時にデータベース接続を作成し、終了時にデータベース接続を閉じることができます。しかし、これは非常に可能性の低いシナリオです。 さて、より現実的なシナリオとして、あなたのWebアプリケーションに何百人、何千人ものユーザーがアクセスすることを想像してみてください。各ユーザーのセッションでデータベースへの接続が行われると、まず接続が確立されるまでの間、ユーザーには遅延が生じ、次にシステム全体のパフォーマンスが低下します。 つまり、「なぜ必要なのか」という問いに対しては、「システムのパフォーマンスとスケーラビリティの両方を向上させるため」ということになります。 接続プールの働き 接続プールは、必要になるたび新しい接続を作成するのではなく、アプリケーション・サーバーの起動時に作成します。これらの接続は、使用したり再利用したりすることができます。新しい接続が必要になると、プールの中から利用可能な接続を探します。もし利用可能なものがあれば、リクエスターに返されます。利用可能な接続がない場合は、プール内の接続数やプールの構成に応じて、リクエストがキューイングされるか、新しい接続が確立されます。接続が終了すると、接続を閉じるのではなく、接続プールに戻され、次のリクエスターが使用できるようになります。 さて、これで理論的な話は終わりです。では、実際にはどのように機能するのでしょうか? […]

4 minutes
Payara

Hide Passwords with Password Aliases in Payara Server

Introduction When performing the configuration of the Payara Server for your application, you often need to supply a password. […]

7 minutes
Payara

Using Flight Recorder with Payara Server 5

There are a lot of monitoring and alert mechanisms available within Payara Server. For example, it is possible to […]

4 minutes
Payara

What’s Coming in Payara Enterprise 5.20.0: Integrated TLS Certificate Management

Integrated TLS Certificate Management  is the first feature added to Payara Server Enterprise (coming soon!) since the Payara Platform […]

2 minutes
Migration

Migrate from GlassFish to Payara Server Enterprise

Migrating from GlassFish to Payara Server can be a simple and straightforward process, made even simpler with the help […]

1 minute
Payara

Advanced Administration & Maintenance of Payara Server

After you’ve got familiar with administering Payara Server, having configured your domain and deployed your applications, you might find […]

1 minute
Payara

Using Payara Server with Docker

Docker is a platform which makes it easier to create, deploy and run your applications using containers. A container […]

1 minute
Payara

Getting Started with Payara Server

Using Payara Server for the first time? We’ve put together this step-by-step “Getting Started Guide” to help you with […]

3 minutes
Payara

Payara Platform Supports TLS 1.3 on JDK 8

Transport Layer Security (TLS) was introduced as a replacement for Secure Sockets Layer (SSL). TLS is a cryptographic protocol […]

6 minutes
Payara

Payara Platform 2019 Roadmap – Update

It’s 6 months since I posted our last roadmap update and the team have been working hard to deliver […]

3 minutes
Payara

Deploy Applications Using Payara Server Admin Console

In this blog, I will explain how to deploy applications using the Payara Server Admin Console. You can also […]