Replies: 3 comments 2 replies
-
I once worked on an application of a comparable size. It had its problems but I don't think Play was one of them. Assuming you follow general application layout best practices, at that scale the amount of code that will interact with Play directly should be less than 10% of the overall codebase. |
Beta Was this translation helpful? Give feedback.
-
In my experience, Play can deal with that level of volume and complexity,
but you'll need to get the details right. In particular, it's crucial to
make sure that your code is written to be non-blocking and asynchronous (so
you don't wind up thread-bound), and pay attention to stuff like
serialization (a bad serializer can hurt performance when you are dealing
with high volume).
…On Thu, Feb 1, 2024, 10:59 AM Sérgio Lopes ***@***.***> wrote:
Hi,
I'm currently evaluating options to move a large application (+80
controllers, +300 actions that either return HTML based on template system
or return JSON, +400 database tables on various schemas). Does anyone have
any experience with large, enterprise applications made with Play that
could share some insights?
Some of these controllers will be converted and isolated into services,
but most of the application will be classic MVC, supported by a PostgreSQL
database; if using Play, then scala templates will be used for most of the
UI with some screens being converted to AJAX/JavaScript UI (mostly vanilla,
no UI framework).
At the moment, the two options that are being considered are Play (no
decision yet if Scala or Java) and Spring; I've already used Play with Java
in the past, and recently picked Play 3 and Scala for some integration
services that were needed, but not enough to understand if Play can support
such application (think ERP).
Thanks
—
Reply to this email directly, view it on GitHub
<#12349>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQVNYPAVJ67WJF2IVD4FULYRPQXZAVCNFSM6AAAAABCVNV5CCVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGE3DQMBRHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you for your comments, I expect Play to handle the type of application I'm working on, but most of what we can find as examples is either too small and focused on a single feature or too complex and not relatable to our use case. Currently, the existing services are already asynchronous in all tasks that would block (mostly file access and/or database) and I intend to keep doing that in the larger application. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm currently evaluating options to move a large application (+80 controllers, +300 actions that either return HTML based on template system or return JSON, +400 database tables on various schemas). Does anyone have any experience with large, enterprise applications made with Play that could share some insights?
Some of these controllers will be converted and isolated into services, but most of the application will be classic MVC, supported by a PostgreSQL database; if using Play, then scala templates will be used for most of the UI with some screens being converted to AJAX/JavaScript UI (mostly vanilla, no UI framework).
At the moment, the two options that are being considered are Play (no decision yet if Scala or Java) and Spring; I've already used Play with Java in the past, and recently picked Play 3 and Scala for some integration services that were needed, but not enough to understand if Play can support such application (think ERP).
Thanks
Beta Was this translation helpful? Give feedback.
All reactions