Open Closed

Performans testi #1910


User avatar
0
can.kilic created

Merhaba,

iki proje üzerinden yaptıımız bir performans testi var birinde standart .net core projesi başlatarak efcore ile bir tablodan data okuma işlemi yapıyoruz. Diğerinde ise abp.io ile oluşturduğumuz bir proje ile efcore kullanarak bir tablodan data okuma işlemi yapıyoruz. Aldığımız test sonuçları bizi çok şaşırttı aynı sunucuda aynı şekilde çalışan iki proje arasında bu kadar süre farklarının olması normal mi?


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    To make a feasible test, you need to add the following features to your new test project to align with the ABP project:

    • Add file system log (serilog middleware)
    • Add audit log (database level)
    • Add input validation
    • Add unit of work feature
    • Add database transaction
    • Add action filters for multi-tenancy , soft delete
    • Add global exception handler
    • Add authentication (Jwt) middleware
    • Add dynamic claim middleware
    • Add CorrelationId for cascading requests
    • Add security HTTP headers

    note that I created the list off the top of my head and there'll be other middlewares that process on an HTTP request. once you add these middleware it'll probably be the same.

  • User Avatar
    0
    can.kilic created

    How many requests can I respond to at the same time with a simple project?

  • User Avatar
    0
    hikalkan created
    Support Team Co-Founder

    Hi Can,

    Can you please send your projects to us (support@abp.io), so we check them. In our tests, there is a performance difference which is expected since ABP does a lot more thing for you. However, it is not that much. Also send your test configuration if possible. Thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09